Home
> Uncategorized > Reconnecting ADSL programatically
Reconnecting ADSL programatically
I had an issue that my ADSL connection kept disconnecting every few hours, which meant that I manually had to go and open
the local web interface to my ADSL modem (Binatone), and press connect.
I figured out how to do this from code, by making a GET request to the following URL, my ADSL was reconnected.
http://192.168.1.2/doc/loginout.htm?
WINDWEB_URL = %2Fdoc%2Floginout.htm&
simple_ppp_username = xxxx&
simple_ppp_pwd = xxxx&
wanAdapterSelection = 0&
wan_encapsulation = 0&
wan_VPI = 0&
wan_VCI = 38&
PPP_connection_number = 1&
New_PPP_Action = 0
Categories: Uncategorized
Comments (0)
Trackbacks (0)
Leave a comment
Trackback