View Single Post
  #38  
Old 04.07.2011, 13:23
_uno
Guest
 
Posts: n/a
Default Wag160n

Self made reconnection script for Linksys WAG160N FW 2.00.20

Tested and working.

Code:
[[[HSRC]]]
    [[[STEP]]]
        [[[REQUEST]]]
            POST /setup.cgi HTTP/1.1
            Host: %%%routerip%%%
            Authorization: Basic %%%basicauth%%%

            ctype=pppoe&ifstatus=Up&todo=disconnect&this_file=Status.htm&next_file=Status.htm&message=&h_wps_cur_status=
        [[[/REQUEST]]]
    [[[/STEP]]]
    [[[STEP]]][[[WAIT seconds="5"/]]][[[/STEP]]]
    [[[STEP]]]
        [[[REQUEST]]]
            POST /setup.cgi HTTP/1.1
            Host: %%%routerip%%%
            Authorization: Basic %%%basicauth%%%

            ctype=pppoe&ifstatus=Down&todo=connect&this_file=Status.htm&next_file=Status.htm&message=&h_wps_cur_status=
        [[[/REQUEST]]]
    [[[/STEP]]]
[[[/HSRC]]]
Reply With Quote