[[[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]]]