JDownloader Community - Appwork GmbH
 

Go Back   JDownloader Community - Appwork GmbH > International Support > Reconnect
Reply
 
Thread Tools Display Modes
  #1  
Old 19.01.2011, 08:28
totedati
Guest
 
Posts: n/a
Smile asus rt-16n reconnect script

my working, and tested, liveheader/curl reconnect script for an asus rt-16n router with dd-wrt firmware:

Code:
[[[HSRC]]]
    [[[STEP]]]
        [[[REQUEST]]]
        GET /Status_Router.asp HTTP/1.1
        Host: %%%routerip%%%
        Authorization: Basic %%%basicauth%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /Status_Internet.asp HTTP/1.1
        Host: %%%routerip%%%
        Authorization: Basic %%%basicauth%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

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

submit_button=Status_Internet&action=Apply&change_action=gozila_cgi&submit_type=Disconnect_pppoe
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /Status_Internet.live.asp HTTP/1.1
        Host: %%%routerip%%%
        Authorization: Basic %%%basicauth%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

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

submit_button=Status_Internet&action=Apply&change_action=gozila_cgi&submit_type=Connect_pppoe
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /Status_Internet.live.asp HTTP/1.1
        Host: %%%routerip%%%
        Authorization: Basic %%%basicauth%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /Status_Router.asp HTTP/1.1
        Host: %%%routerip%%%
        Authorization: Basic %%%basicauth%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /Status_Internet.asp HTTP/1.1
        Host: %%%routerip%%%
        Authorization: Basic %%%basicauth%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

[[[/HSRC]]]
router asus rt-16n
firmware DD-WRT v24-sp2 (02/03/10) big
lan router ip 192.168.1.1
with username & password

i put this here just for other jdownloader users because using "Reconnect Recorder" you can get many GET /router_page.asp HTTP/1.1 extra pages .. in my script all is trimmed down to just two pages /Status_Router.asp from were you jump to /Status_Internet.asp ... connect/disconnect buton is at /Status_Internet.asp dd-wrt router page ...
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 06:17.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.