Archive

Archive for August, 2006

Reconnecting ADSL programatically

August 13, 2006 Leave a comment
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

 

Advertisements
Categories: Uncategorized

VPN option greyed out in Windows XP

August 1, 2006 1 comment
When setting up a VPN connection on Windows XP Pro, I found the VPN option greyed out.
 
Searching on the net, people said that the Remote Access Connection Manager service wasn’t running, however when you try to start this, you get an Access Denied error, and a "cannot allocate buffers" errror in the event log.
 
This is actually due to a registry corruption,
To fix it, go to HKL:MSystemCurrentControlSetRasmanPPPEAP then delete subkeys EXCEPT 13 & 4. Then reboot the pc.
 
Categories: Uncategorized