423,832 Members | 1,902 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 423,832 IT Pros & Developers. It's quick & easy.

[VB.net] - Connecting to my Router device

P: 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
Share this Question
Share on Google+
9 Replies


P: 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
Expert Mod 5K+
P: 9,731
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

P: 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
Expert 5K+
P: 7,872
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

P: 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
Expert 5K+
P: 7,872
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

P: 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

100+
P: 283
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

P: 2
Maybe this can help: 192.168.0.1
Aug 21 '17 #10

This discussion thread is closed

Replies have been disabled for this discussion.