473,396 Members | 1,945 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

[VB.net] - Connecting to my Router device

79
Hello

i am trying to make a application that could connect to my router which is a wimax router i got from my ISP - i want to make a application that can login and out from it, and maybe also it could restart the device too.

Could someone help me on the right path - i have been searching around for a solution for about 4 days straight without any sort of luck.

I would really appreciate if some one can even guide on how to just start on it because i have no earthly idea about this :(

My router device is : Motorola CPEi 600 (wimax)

Please Help :(

Regards
Sep 28 '08 #1
9 6938
zubair1
79
bump :(

any help on this please? :(

i was also wondering if i could accomplish this using computer ports? :o

i never have worked with ports before :(

can some one atleast provide some small snippet or something to get me started :(

FollowUp Update:-

I am using WiMAX - it came with a Router my computer has Ethernet Card.
The wimax router is connected to my ethernet card (lan card) using a Lan Cable Wire (hope this makes it more clear for someone to help me) =(

:(

Regards
Sep 29 '08 #2
Frinavale
9,735 Expert Mod 8TB
Hello

i am trying to make a application that could connect to my router which is a wimax router i got from my ISP - i want to make a application that can login and out from it, and maybe also it could restart the device too.

Could someone help me on the right path - i have been searching around for a solution for about 4 days straight without any sort of luck.

I would really appreciate if some one can even guide on how to just start on it because i have no earthly idea about this :(

My router device is : Motorola CPEi 600 (wimax)

Please Help :(

Regards
I've never used a Motorola CPEi 600 (wimax) router before...so I googled it and found that this router can already be accessed through a web browser.

Please look at the manual for this router and see how to log into it and configure it's settings.

-Frinny
Sep 29 '08 #3
zubair1
79
I've never used a Motorola CPEi 600 (wimax) router before...so I googled it and found that this router can already be accessed through a web browser.

Please look at the manual for this router and see how to log into it and configure it's settings.

-Frinny
Hi,

Thanks Frinavale

Yes, i can access the router via Browser but i am wanting to make an app that can connect me to the internet without having to keep entering my login details multiple times - for example:- currently when i open my computer i have to first visit a url - http://myispexample.net/login and enter my login info there then i am logged in but many times it logs me out and i have to enter the login details again - i have to do this multiple times even though i do not logout. (complaining to my isp is out of subject they are stupid or just ignore)

So, i want to make an application from which i can enter my details Once and it could log me in automatically whenever i logout as long as the app is running in the background.

i can access the router :- http://192.168.15.1 with this URL.
to connect to internet :- http://myispexample.net/login

:(
Sep 29 '08 #4
Plater
7,872 Expert 4TB
Well since you are part of an internet conenction sharing system, I would assume that it logs you out on purpose, to make sure no one user can idle-y eat up the bandwidth.
That being said, you could probably write a program that uses say HttpWebRequests to mimic what you would log in to.

BUT, my guess is that when you "log in" it creates a session cookie that your browser can use and when that session expires, the proxy server acting on behalf of your ISP sees the lack of the session cookie (or that it has expired) and dumps you to the "please log in" section.
Hotels like to provide wifi in this manor.
Sep 29 '08 #5
zubair1
79
Hi, thanks

Yes i think it does create a cookie

But sometimes i also have to login after just seconds :(

i tried using a browser to do this -

like i put a browser object in my form and then tell it to visit http://myisp.net/login

I told it to fill the form once that is done - and login.

but my problem here is that it can't handle errors :( like if it was unable to login for some reason i want it to display that error :(

i worked on this some while ago - but i can't understand howto do this error handling for it

if you want i can PM you the files so you can have a look at it? Let me know :(

and this way i am not able to restart my router either :(
Sep 29 '08 #6
Plater
7,872 Expert 4TB
Well if it creates a cookie, then it is specific to the browser instance itself. Opening up a new copy of the browser, or fiddling with your cookie/cache could cause it to reset.
Your browser could also be configured to be more strict with cookies and the security settings are causing it to drop the cookie.
I would dig around on the internet to see if anyone else has had this trouble or has suggestions.
I would *hope* that your ISP has literature that would direct you to the correct settings, but shame on them if they do not.
Sep 29 '08 #7
zubair1
79
Believe me you dont even want to know how terrible they are

i am sticking around with them only because i am too lazy to look around for more ISP's and its not easy to find one here either :(

many of their consumers are not happy with them i am sure many users will be able to benifet from this app.

Also, i just confirmed that they dont use cookie to store any details
i looked in the cookie folder and nothing was there even tried logging out and logging back in but nothing there. (sorry about my earlier post saying maybe it does)

When i tell my ISP about this problem the only thing they tell me to do is clean my cache and try again, and if i push them to hard they tell me to refresh my internet connection or restart my router :s they have no clue what they are doing :(
Sep 29 '08 #8
jg007
283 100+
not sure about your router but maybe you could do this through the TELNET interface as many routers provide on and that may be simpler to code.

I cannot find documentation on telnet for this specific router but many of them are based on common chipsets so if you can find the chipset or even just open a telnet to it and use ? to show the commands
Sep 29 '08 #9
Maybe this can help: 192.168.0.1
Aug 21 '17 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Brad Tilley | last post by:
Probably a stupid question, but here goes: Is there any way to get a scaled down version of Python onto a Linksys Wireless router? Are there any projects out there that are doing this? I've...
4
by: Sacha Korell | last post by:
First of all, sorry for cross-posting, but this newsgroup is much busier than "aspnet.mobile". I'm trying to create a portal page that redirects depending on the device that is connecting. ...
1
by: Peter M | last post by:
I'm looking for sample code related to connecting to a router using ssh.... Is it possible to accomplish this task using the .net framework easily?
7
by: Mahesh Devjibhai Dhola | last post by:
Hi, I want to develop p2p (peer-to-peer) communication connection for chat in ..Net (Lang: c# - preferable) NOTE: if two LAN are behind their own router then also it should work as yahoo, msn...
0
by: shamirza | last post by:
· When was .NET announced? Bill Gates delivered a keynote at Forum 2000, held June 22, 2000, outlining the .NET 'vision'. The July 2000 PDC had a number of sessions on .NET technology, and...
2
by: djparce | last post by:
Ok i'm quite familiar with networking over XP. i've just never connected 2 routers together. The problem is i have to bridge a 20 metre gap. At one end there is a wireless router connected to...
5
by: garks | last post by:
Is there any way to know the computer is connected to a router? I know using WebRequest is one of the method, but WebRequest need router's URL , username and password. I don't know those...
0
by: brum2008 | last post by:
Hello! Below is the Netbeans Mobility source code for my application (The application offers SPP service, and then just hangs waiting for a client to connect (using acceptAndOpen()). The other...
16
by: =?Utf-8?B?RHdlZWJlcmVsbGE=?= | last post by:
I created an Access 2007 application for my customer. The application is shared by three employees on a server. It maintains a contact list including financial data and social security numbers. ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.