Siemens SL2-141-I


[[[HSRC]]]


    [[[STEP]]]
        [[[REQUEST]]]
        GET /constatus.html HTTP/1.1
        Host: %%%routerip%%%      
        authorization: Basic %%%basicauth%%%

        [[[/REQUEST]]]
         [[[PARSE]]]
randomNum:randomNum.*?'(\d+)'
         [[[/PARSE]]]        
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /disconnect.cgi?checkNum=%%%randomNum%%% HTTP/1.1
        Host: %%%routerip%%%      
        authorization: Basic %%%basicauth%%%

        [[[/REQUEST]]]
    [[[/STEP]]]


[[[/HSRC]]]




If the router is not set up to connect automaticly, you have to use this script


[[[HSRC]]]


    [[[STEP]]]
        [[[REQUEST]]]
        GET /constatus.html HTTP/1.1
        Host: %%%routerip%%%      
        authorization: Basic %%%basicauth%%%

        [[[/REQUEST]]]
         [[[PARSE]]]
randomNum:randomNum.*?'(\d+)';

         [[[/PARSE]]]        
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /disconnect.cgi?checkNum=%%%randomNum%%% HTTP/1.1
        Host: %%%routerip%%%      
        authorization: Basic %%%basicauth%%%

        [[[/REQUEST]]]
    [[[/STEP]]]
  [[[STEP]]]
[[[WAIT seconds="30"/]]]

 [[[/STEP]]]


    [[[STEP]]]
        [[[REQUEST]]]
        GET /connect.html HTTP/1.1
        Host: %%%routerip%%%      
        authorization: Basic %%%basicauth%%%

        [[[/REQUEST]]]
         [[[PARSE]]]
randomNum:randomNum.*?'(\d+)';

         [[[/PARSE]]]        
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]

        GET /conprocess.cgi?checkNum=%%%randomNum%%%&pppUserName=SEE_LIVE_HEADER_LOG_TO_GET_THIS&pppPassword=SEE_LIVE_HEADER_LOG_TO_GET_THIS
 HTTP/1.1
        Host: %%%routerip%%%      
        authorization: Basic %%%basicauth%%%

        [[[/REQUEST]]]
    [[[/STEP]]]

[[[/HSRC]]]

knowledge/wiki/reconnect/scripts/siemens-sl2-141-i.txt · Last modified: 2016/06/27 16:34 (external edit)