View Single Post
  #1  
Old 24.12.2009, 16:55
The.Vortex
Guest
 
Posts: n/a
Default Script for D-Link DVA-G3342SD (HorstBox)

Hi.

Since the Reconnect Script JD offered me didn't work, I made my own which is working.

Since I still don't know how to get the working scripts into the wiki or the program itself, here it is in case someone else encounters the same problems I had:

Code:
[[[HSRC]]]
    [[[STEP]]]
        [[[REQUEST raw="true"]]]
        GET /german/basic/login.html HTTP/1.1
        Host: %%%routerip%%%
        connection: Keep-Alive, TE
        [[[/REQUEST]]]
    [[[/STEP]]]
    [[[STEP]]]
        [[[REQUEST raw="true"]]]
        POST /goform/login_set HTTP/1.1
        Host: %%%routerip%%%
        connection: Keep-Alive, TE

login_userName=%%%user%%%&login_password=%%%pass%%%&targetPage=main_status.html&save=Anmelden
        [[[/REQUEST]]]
    [[[/STEP]]]
    [[[STEP]]]
        [[[REQUEST raw="true"]]]
        GET /german/basic/main_status.html HTTP/1.1
        Host: %%%routerip%%%
        connection: Keep-Alive, TE
        [[[/REQUEST]]]
    [[[/STEP]]]
    [[[STEP]]]
        [[[REQUEST raw="true"]]]
        POST /goform/status_set HTTP/1.1
        Host: %%%routerip%%%
        connection: Keep-Alive, TE

disconnect=Trennen
        [[[/REQUEST]]]
    [[[/STEP]]]
    [[[STEP]]]
        [[[REQUEST raw="true"]]]
        GET /german/basic/main_status.html HTTP/1.1
        Host: %%%routerip%%%
        connection: Keep-Alive, TE
        [[[/REQUEST]]]
    [[[/STEP]]]
    [[[STEP]]]
        [[[REQUEST raw="true"]]]
        POST /goform/status_set HTTP/1.1
        Host: %%%routerip%%%
        connection: Keep-Alive, TE

connect=Verbinden
        [[[/REQUEST]]]
    [[[/STEP]]]
[[[/HSRC]]]
Reply With Quote