JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 22.09.2010, 09:31
drbits's Avatar
drbits drbits is offline
JD English Support (inactive)
 
Join Date: Sep 2009
Location: Physically in Los Angeles, CA, USA
Posts: 4,434
Exclamation Useful Reconnection Scripts from Users

This thread is a place to post your reconnection scripts that are useful with JDownloader. If the script is not for reconnection, post it here. Do not post Liveheader/Curl scripts here (post those in the thread for that router).

Examples of useful scripts would be changing the MAC address of a local computer, reconnecting without a router, D-Link scripts, UPNP scripts, and so on.

You must explain what the script is for and how to use it.
Please remember to post any requirements (OS, interpreter, and so on).

If the script is long, put it in a Spoiler (Go Advanced).


Disclaimer: These scripts are not tested by JD staff, but other members have posted the scripts here for your use. There is no guarantee that the script will work for you. JDownloader.org takes no responsibility for any damage that might be caused by running a script.
Reply With Quote
  #2  
Old 28.09.2010, 03:24
mareno
Guest
 
Posts: n/a
Default Reconnection script for Zyxel routers.

This is a reconnection script (external) for Zyxel routers.

Requeriments:
  • A Zyxel modem / router.
  • This modem/router must run ZynOs (command line interface) directly accesible via telnet.
  • A Linux box, or a bash interpreter via Cygwin.
  • The sleep, echo and telnet command.

This is the script:

Code:
#!/bin/bash

  { sleep 1 ; \
     echo "PASSWORD" ; \
     sleep 1 ; \
     echo "poe drop poe0" ; \
     sleep 1 ; \
     echo "exit" ; \
     sleep 1 ; } | telnet IP

Replace IP for the IP address of the Zyxel modem/router and PASSWORD for the password of the command line interface.
Reply With Quote
  #3  
Old 03.10.2010, 04:55
sidspyker
Guest
 
Posts: n/a
Talking D-Link DSL2640U

Hey JDownloader users, I noticed J doesn't have a reconnect script for D-link DSL2640U router, so i recorded mine, you can use it, Password and username is admin(default)

Here goes the script:
Spoiler:
Code:
[[[HSRC]]]
    [[[STEP]]]
        [[[REQUEST]]]
        GET / HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /menu.html HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /homehelp.html HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /updatesettings.html HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /util.js HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /menu.html HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /mainhelp.html HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /rebootinfo.cgi HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

[[[/HSRC]]]

Last edited by drbits; 17.10.2010 at 08:13.
Reply With Quote
  #4  
Old 17.10.2010, 00:08
Entropy
Guest
 
Posts: n/a
Default Help for D-Link DIR-635 under Linux (no UPNP)

Moderator Edit: The script in the Wiki did not work for this user.
-----------------------------------------------------------------
I scripted one on my own (This was quite tricky, since I had to transfer lots of java-script-functions the router uses to compute the login hash...).

What I did was, I wrote a bash-script (sorry Windows-guys, Unix-only...) to do basic connecting/ disconnecting/ reconnecting with the router.
Only problem: The login-hash.
To compute this I wrote a java-program that computes the hash from the random number the router sends and the password.

bash-script:
Spoiler:
Code:
#!/bin/bash

#begin options
declare nonsilent
nonsilent=true
declare no_ignore_failed
no_ignore_failed=true
declare timeout
timeout=60
declare pass
pass=""
declare javadir
javadir="${HOME}/java/"
#end options

#begin global variables
declare action
action=""
declare newip
newip=""
declare exitcode
exitcode=0
#end global variables

#begin helper functions
function echo {
    if ${nonsilent} ; then
        builtin echo "$@"
    fi
}

function enable_login {
    data=`lynx -dump **External links are only visible to Support Staff**    data=${data:9:8}
    wd=$(pwd)
    cd ${javadir}
    code=$(java prepare_login "${data}" "${pass}")
    cd ${wd}
    response=$(lynx -dump "**External links are only visible to Support Staff**)
    if [ "${response:3}" == "ERROR" ]; then
        echo "Login refused (wrong password?)"
        exitcode=$((${exitcode}|16))
        if ${no_ignore_failed} ; then
            echo "Exit."
            exit ${exitcode}
        else
            echo "Trying to proceed anyway."
        fi
    fi
#    lynx -dump **External links are only visible to Support Staff**}

function connect {
    echo "Connecting..."
    lynx -dump **External links are only visible to Support Staff**    echo "Connection Requested. Waiting..."

    echo "" > .TEMPNEWIP
    lynx -dump "**External links are only visible to Support Staff** > .TEMPNEWIP &
    lynxpid=$!
    declare success
    success=false
    for ((i=0; i<${timeout}; i++)) do
        if [ -n "$(cat .TEMPNEWIP)" ]; then
            success=true
            newip=$(cat .TEMPNEWIP)
            rm .TEMPNEWIP
            break
        fi
        sleep 1
    done
    if [ -z "${newip}" ]; then
        echo "Connection failed. Consider manual reconnection (or wait some longer)."
        kill ${lynxpid} > /dev/null
        rm .TEMPNEWIP
        exitcode=$((${exitcode}|4))
    else
        echo "Done."
        echo "New IP: ${newip}"
        exitcode=$((${exitcode}|1))
    fi
}
function disconnect {
    echo "Disconnecting..."
    lynx -dump **External links are only visible to Support Staff**    echo "Done."
    exitcode=$((${exitcode}|2))
}
function reconnect {
    oldip=$(lynx -dump "**External links are only visible to Support Staff**)
    echo "Attempting reconnect..."
    echo "Old IP was: ${oldip}"
    echo ""
    disconnect
    echo ""
    sleep 1
    connect
    if [ -n "${newip}" ]; then
        if [ "${oldip}" == "${newip}" ]; then
            echo "New IP equals old one (probably static IP)."
            exitcode=$((${exitcode}|8))
        else
            echo "New IP is different from old one."
        fi
    fi
}
#end helper functions

#begin script
case ${1} in
    connect|disconnect|reconnect)
        action=${1}
        pass=${2}
        if [ -n "${3}" ]; then
            shift
            shift
            while [ -n "${1}" ]; do
                case ${param} in
                    -t|--timeout)
                        shift
                        timeout=${1}
                        shift
                        ;;
                    -s|--silent)
                        nonsilent=false
                        ;;
                    -i|--ignore-failed)
                        no_ignore_failed=false
                        shift
                        ;;
                    -j|--java-dir)
                        shift
                        javadir=${1}
                        shift
                        ;;
                    *)
                        exitcode=$((${exitcode}|128))
                        echo "Ignored unknown option:   ${1}"
                        shift
                        ;;
                esac
            done
        fi
        enable_login
        ;;
    *)
        echo "Usage:"
        echo "routerctrl.sh (connect|disconnect|reconnect) <pass> [OPTIONS]"
        echo ""
        echo "Valid options are:"
        echo "    -t|--timeout <timeout>    Specifies timeout in seconds for connect (default: 60)"
        echo "    -s|--silent               Silent"
        echo "    -i|--ignore-failed        Tries to proceed with further steps even if login is refused"
        echo "    -j|--java-dir <dir>       Specify directory of prepare_login.class"
        echo ""
        echo "Exitcodes (or'd):"
        echo "    0:   nothing"
        echo "    1:   successfully connected"
        echo "    2:   successfully disconnected"
        echo "    4:   connecting failed"
        echo "    8:   reconnected successfully, but new IP equals old one"
        echo "    16:  login refused"
        echo "    128: one or more unknown options specified"
        echo ""
        echo "Written by Entropy"
        exit 0
esac

${action}
exit ${exitcode}
#end script

Java-code:
Spoiler:
Code:
// Written by Entropy
class prepare_login {
    static private int[] b64_char_to_6;
    static private String pwd;

    prepare_login() {
    }
    
    //Build a 256 entry array that convert a base-64 character to its corresponding 6-bit number. Invalid characters will be translated to 0.
    static private void build_b64_char_to_6() { 
        b64_char_to_6 = new int[256];
        for (int i=0; i<256; ++i) b64_char_to_6[i] = 0;
        for (int i=0; i<26; ++i) b64_char_to_6[i+65] = i+1;
        for (int i=0; i<26; ++i) b64_char_to_6[i+97] = i+27;
        for (int i=0; i<10; ++i) b64_char_to_6[i+48] = i+53;
        b64_char_to_6[95] = 63;
    }

    static private void from_base64(String buf, int[] dst) {
        byte j = 0;
        for (int i = 0; i < buf.length(); i += 4) {
            int cc_1 = (b64_char_to_6[(int)buf.charAt(i)] << 18);
            int cc_2 = (b64_char_to_6[(int)buf.charAt(i+1)] << 12);
            int cc_3 = (b64_char_to_6[(int)buf.charAt(i+2)] << 6);
            int cc_4 = (b64_char_to_6[(int)buf.charAt(i+3)]);
            int cc = cc_1 | cc_2 | cc_3 | cc_4;
            dst[j]   = (cc >> 16) & 0xff;
            dst[j+1] = (cc >> 8) & 0xff;
            dst[j+2] = (cc) & 0xff;
            j += 3;
        }
    }
    
    static private String maketwochar(String s) {
        if (s.length()<2) s="0"+s;
        return s;
    }
    
    static private String fillstr(String s, byte l) {
        while (s.length()<l) {
            s = s + (char)1;
        }
        return s;
    }
    
    static private String to_HexString(int[] dst) {
        String s = "";
        for (byte i=0; i<4; ++i) {
            s = s + maketwochar(Integer.toHexString(dst[i]));
        }
        return s.toUpperCase();
    }
    
// Convert a string to an array of little-endian words
    static private void str2binl(String s, int[] bin) {
        byte mask = (byte)((1 << 8) - 1);
        for(int i=0; i<s.length()*8; i+=8) {
            bin[i>>5] |= ((byte)s.charAt(i/8) & mask) << (i%32);
        }
    }
    
// Bitwise rotate a 32-bit number to the left.
    static private int bit_rol(int num, int cnt)
    {
        return (num << cnt) | (num >>> (32 - cnt));
    }
    
// Some obscure adding algorithm the router uses
    static private int safe_add(int x, int y) {
        int lsw = (x & 0xFFFF) + (y & 0xFFFF);
        int msw = (x >> 16) + (y >> 16) + (lsw >> 16);
        return (msw << 16) | (lsw & 0xFFFF);
    }
    
// Begin basic md5 algorithms
    static private int md5_cmn(int q, int a, int b, int x, int s, int t) {
        return safe_add(bit_rol(safe_add(safe_add(a, q), safe_add(x, t)), s),b);
    }
    
    static private int md5_ff(int a, int b, int c, int d, int x, int s, int t) {
        return md5_cmn((b & c) | ((~b) & d), a, b, x, s, t);
    }
    
    static private int md5_gg(int a, int b, int c, int d, int x, int s, int t) {
        return md5_cmn((b & d) | (c & (~d)), a, b, x, s, t);
    }
    
    static private int md5_hh(int a, int b, int c, int d, int x, int s, int t) {
        return md5_cmn(b ^ c ^ d, a, b, x, s, t);
    }
    
    static private int md5_ii(int a, int b, int c, int d, int x, int s, int t) {
        return md5_cmn(c ^ (b | (~d)), a, b, x, s, t);
    }
// End basic md5 algorithms

// Core md5algorithm
    static public void core_md5(int[] x, int len, int[] md5_arr) {
        x[len >> 5] |= 0x80 << ((len) % 32);
        x[(((len + 64) >>> 9) << 4) + 14] = len;
        
        int a =  1732584193;
        int b = -271733879;
        int c = -1732584194;
        int d =  271733878;

        for (int i = 0; i < x.length; i+=16) {
            int olda = a;
            int oldb = b;
            int oldc = c;
            int oldd = d;
            
            a = md5_ff(a, b, c, d, x[i+ 0], 7 , -680876936);
            d = md5_ff(d, a, b, c, x[i+ 1], 12, -389564586);
            c = md5_ff(c, d, a, b, x[i+ 2], 17,  606105819);
            b = md5_ff(b, c, d, a, x[i+ 3], 22, -1044525330);
            a = md5_ff(a, b, c, d, x[i+ 4], 7 , -176418897);
            d = md5_ff(d, a, b, c, x[i+ 5], 12,  1200080426);
            c = md5_ff(c, d, a, b, x[i+ 6], 17, -1473231341);
            b = md5_ff(b, c, d, a, x[i+ 7], 22, -45705983);
            a = md5_ff(a, b, c, d, x[i+ 8], 7 ,  1770035416);
            d = md5_ff(d, a, b, c, x[i+ 9], 12, -1958414417);
            c = md5_ff(c, d, a, b, x[i+10], 17, -42063);
            b = md5_ff(b, c, d, a, x[i+11], 22, -1990404162);
            a = md5_ff(a, b, c, d, x[i+12], 7 ,  1804603682);
            d = md5_ff(d, a, b, c, x[i+13], 12, -40341101);
            c = md5_ff(c, d, a, b, x[i+14], 17, -1502002290);
            b = md5_ff(b, c, d, a, x[i+15], 22,  1236535329);

            a = md5_gg(a, b, c, d, x[i+ 1], 5 , -165796510);
            d = md5_gg(d, a, b, c, x[i+ 6], 9 , -1069501632);
            c = md5_gg(c, d, a, b, x[i+11], 14,  643717713);
            b = md5_gg(b, c, d, a, x[i+ 0], 20, -373897302);
            a = md5_gg(a, b, c, d, x[i+ 5], 5 , -701558691);
            d = md5_gg(d, a, b, c, x[i+10], 9 ,  38016083);
            c = md5_gg(c, d, a, b, x[i+15], 14, -660478335);
            b = md5_gg(b, c, d, a, x[i+ 4], 20, -405537848);
            a = md5_gg(a, b, c, d, x[i+ 9], 5 ,  568446438);
            d = md5_gg(d, a, b, c, x[i+14], 9 , -1019803690);
            c = md5_gg(c, d, a, b, x[i+ 3], 14, -187363961);
            b = md5_gg(b, c, d, a, x[i+ 8], 20,  1163531501);
            a = md5_gg(a, b, c, d, x[i+13], 5 , -1444681467);
            d = md5_gg(d, a, b, c, x[i+ 2], 9 , -51403784);
            c = md5_gg(c, d, a, b, x[i+ 7], 14,  1735328473);
            b = md5_gg(b, c, d, a, x[i+12], 20, -1926607734);

            a = md5_hh(a, b, c, d, x[i+ 5], 4 , -378558);
            d = md5_hh(d, a, b, c, x[i+ 8], 11, -2022574463);
            c = md5_hh(c, d, a, b, x[i+11], 16,  1839030562);
            b = md5_hh(b, c, d, a, x[i+14], 23, -35309556);
            a = md5_hh(a, b, c, d, x[i+ 1], 4 , -1530992060);
            d = md5_hh(d, a, b, c, x[i+ 4], 11,  1272893353);
            c = md5_hh(c, d, a, b, x[i+ 7], 16, -155497632);
            b = md5_hh(b, c, d, a, x[i+10], 23, -1094730640);
            a = md5_hh(a, b, c, d, x[i+13], 4 ,  681279174);
            d = md5_hh(d, a, b, c, x[i+ 0], 11, -358537222);
            c = md5_hh(c, d, a, b, x[i+ 3], 16, -722521979);
            b = md5_hh(b, c, d, a, x[i+ 6], 23,  76029189);
            a = md5_hh(a, b, c, d, x[i+ 9], 4 , -640364487);
            d = md5_hh(d, a, b, c, x[i+12], 11, -421815835);
            c = md5_hh(c, d, a, b, x[i+15], 16,  530742520);
            b = md5_hh(b, c, d, a, x[i+ 2], 23, -995338651);

            a = md5_ii(a, b, c, d, x[i+ 0], 6 , -198630844);
            d = md5_ii(d, a, b, c, x[i+ 7], 10,  1126891415);
            c = md5_ii(c, d, a, b, x[i+14], 15, -1416354905);
            b = md5_ii(b, c, d, a, x[i+ 5], 21, -57434055);
            a = md5_ii(a, b, c, d, x[i+12], 6 ,  1700485571);
            d = md5_ii(d, a, b, c, x[i+ 3], 10, -1894986606);
            c = md5_ii(c, d, a, b, x[i+10], 15, -1051523);
            b = md5_ii(b, c, d, a, x[i+ 1], 21, -2054922799);
            a = md5_ii(a, b, c, d, x[i+ 8], 6 ,  1873313359);
            d = md5_ii(d, a, b, c, x[i+15], 10, -30611744);
            c = md5_ii(c, d, a, b, x[i+ 6], 15, -1560198380);
            b = md5_ii(b, c, d, a, x[i+13], 21,  1309151649);
            a = md5_ii(a, b, c, d, x[i+ 4], 6 , -145523070);
            d = md5_ii(d, a, b, c, x[i+11], 10, -1120210379);
            c = md5_ii(c, d, a, b, x[i+ 2], 15,  718787259);
            b = md5_ii(b, c, d, a, x[i+ 9], 21, -343485551);

            a = safe_add(a, olda);
            b = safe_add(b, oldb);
            c = safe_add(c, oldc);
            d = safe_add(d, oldd);
        }
        md5_arr[0] = a;
        md5_arr[1] = b;
        md5_arr[2] = c;
        md5_arr[3] = d;
    }
    
    static private String binl2hex(int[] binarray) {
        String hex_tab = "0123456789abcdef";
        String str = "";
        for (int i = 0; i < binarray.length*4; ++i) {
            str = str + hex_tab.charAt((binarray[i>>2] >> ((i%4)*8+4)) & 0xF) + hex_tab.charAt((binarray[i>>2] >> ((i%4)*8)) & 0xF);
        }
        return str;
    }
    
    static private String hex_md5(String s) {
        int[] bin;
        bin = new int[32];
        int[] md5_arr;
        md5_arr = new int[4];

        str2binl(s, bin);
        core_md5(bin, s.length()*8, md5_arr);
        return binl2hex(md5_arr);
    }
    
// Convert a hex string of 'len' bytes into a byte array of 'len2' bytes. Ignore leading and trailing whitespace. If there are any conversion errors or the string is the wrong length or the string is empty or all whitespace, return an array of all zeros.
// Since here input is guaranteed to be a pure hex string, we ignore all the case-checking the router-script does...
    static private void convertHexString(String s, int len, int len2, short[] a) {
        int i;
        for (i=0; i < len; ++i) {
            a[i] = (short)Integer.parseInt(s.substring(i*2,i*2+2),16);
        }
        for (; i < len2; ++i) {
            a[i] = (short)0;
        }
    }
    
    static private String convertToBase64(short[] arr) {
        // Make array with k*4 entries
        short[] a;
        int templen = arr.length;
        while ( (templen%3) != 0 ) {
            ++templen;
        }
        a = new short[templen];
        int i;
        for (i = 0; i < arr.length; ++i) {
            a[i] = arr[i];
        }
        for (; i < templen; ++i) {
            a[i] = (short)0;
        }
        
        String b64 = ".ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_";
        String str = "";
        
        for (i=0; i < a.length; i += 3) {
            int x = (a[i] << 16) | (a[i+1] << 8) | a[i+2];
            str = str + b64.charAt((x >> 18) & 0x3f) + b64.charAt((x >> 12) & 0x3f) + b64.charAt((x >> 6) & 0x3f) + b64.charAt(x & 0x3f);
        }
        return str;
    }

    static public void main(String[] args){
        String buf;
        int[] dst;
        String str;
        String shex;
        String hash;
        String saltHash;
        short[] bytearr;
        buf = args[0];
        pwd = args[1];
        while ( (buf.length()%4) != 0 ) {   // Make buf.length() divisible by 4
            buf = buf + ".";
        }
        dst = new int[buf.length()];
        build_b64_char_to_6();
        from_base64(buf, dst);
        shex = to_HexString(dst);
        pwd = fillstr(pwd, (byte)16);
        str = shex + pwd;
        str = fillstr(str, (byte)64);
        hash = hex_md5(str);
        saltHash = shex+hash;
        bytearr = new short[20];
        convertHexString(saltHash, 20, 20, bytearr);
        
        System.out.println(convertToBase64(bytearr));
    }
}


The script awaits the first parameter to be "reconnect" (which is what you want it to do for jDownloader) and the second one to be your password. (First line in the jDownloader-option-tab for the script is "reconnect", second one your password)

Additionally, the it expects the java program to be named prepare_login.class and to be at ${HOME}/java/; the path can be changed by the parameter "-j <dir>" (one line in jDownloader-option-tab for the script is "-j", the next one the directory where you stored the class).
(To compile the java-file simply safe it as prepare_login.java and enter "java prepare_login" to your console)

I hope I am able to help all those who experienced the same annoyance with this router as I did
Feel free to use and spread these as long as you don't remove the "Written by"s

Last edited by drbits; 17.10.2010 at 08:09.
Reply With Quote
  #5  
Old 18.10.2010, 09:01
drbits's Avatar
drbits drbits is offline
JD English Support (inactive)
 
Join Date: Sep 2009
Location: Physically in Los Angeles, CA, USA
Posts: 4,434
Default Batch script for no router, multiple IPs

This has to be run as an administrator. Netsh is slow, so all enough time in the reconnection timeout (30 seconds is plenty).

This also serves as an example for rotating through multiple proxies, NICs, MAC addresses, or other lists

The list of values can also be stored in an environment variable instead of files. In that approach, if the variable is empty or missing, it is set up with a string of space separated values. If %1 is empty, call the script recursively with the expanded variable as a parameter. Now %1 is like %V below. Before exiting, use SHIFT to remove %1 from the variable and then reassign the variable with %*.

Code:
setlocal

REM Replace the next line with the correct directory.
    cd /d c:\programs\jdownloader
REM Change DSL below to the name of your connection (shown by ipconfig.exe).
REM    Mine shows "Ethernet Adapter: DSL"
    set adapter=DSL
REM Change 255.255.255.0 below to the subnet mask shown by ipconfig.exe
    set mask=255.255.255.0

if not exist iplist\* mkdir iplist
cd iplist
if not exist *.ip (
REM Change the following to your IP addresses.
    echo "not used yet" > 192.168.1.15.ip
    echo "not used yet" > 192.168.1.16.ip
)

for %%V in (*.ip) do (
    echo %%~nV
    set NewIP=%%~nV
    goto :have_IP
)
:have_IP
    del %NewIP%.ip
    REM Be patient, the next line is very slow.
    netsh interface ip set address %adapter% static %NewIP% %mask%
endlocal
drbits

Last edited by drbits; 18.10.2010 at 09:07.
Reply With Quote
  #6  
Old 20.10.2010, 13:20
Ciaccia
Guest
 
Posts: n/a
Default Tomato 1.25 (on WRT54GL)

Hi all,
Since I couldn't find a LiveHeader script for my Tomato 1.25 router, I wrote one:

Spoiler:
Code:
[[[HSRC]]]
    [[[STEP]]]
        [[[REQUEST]]]
        GET / HTTP/1.1
        Host: %%%routerip%%%
        Authorization: Basic %%%basicauth%%%
        [[[/REQUEST]]]
        [[[RESPONSE keys="tid"]]]
        .*_http_id=(TID[a-zA-Z0-9]{2,16}).*
        [[[/RESPONSE]]]
    [[[/STEP]]]

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

_service=wan-stop&_redirect=status-overview.asp&_sleep=2&_http_id=%%%tid%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[WAIT seconds="2"/]]]
    [[[/STEP]]]

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

_service=wan-restart&_redirect=status-overview.asp&_sleep=5&_http_id=%%%tid%%%
        [[[/REQUEST]]]
    [[[/STEP]]]


    [[[STEP]]]
        [[[WAIT seconds="5"/]]]
    [[[/STEP]]]
[[[/HSRC]]]


In new Tomato versions, the HTML page contains a dynamically generated ID that has to be submitted together with the POST, in order to avoid cross site scripting vulnerability.

The above script first downloads the main page, and extracts the "secret" ID (tid). Then stops the wan service, sleeps 2 seconds, restarts the wan-service and at the end sleeps other 5 seconds.

I tested it and it works flawless on my WRT54GL router.
Could you add the script to the knowledge/wiki page?

Thanks
Reply With Quote
  #7  
Old 21.10.2010, 11:32
drbits's Avatar
drbits drbits is offline
JD English Support (inactive)
 
Join Date: Sep 2009
Location: Physically in Los Angeles, CA, USA
Posts: 4,434
Default

This is the current place for these scripts and "tricks". Editing the wiki is restricted (the seems wrong).
Reply With Quote
  #8  
Old 23.10.2010, 18:39
usagi-sama
Guest
 
Posts: n/a
Default Reconnect Script for Fritz!Box 7xxx

Hey there.
a few months ago i posted a script in a new thread, but now you made an sticky with userscripts ^^

This Script is tested with Fritz!Box FON WLAN 7270 & 7390

Code:
[[[HSRC]]]
    [[[STEP]]]
        [[[REQUEST]]]
            POST /upnp/control/WANIPConn1 HTTP/1.1
            Host: %%%routerip%%%:49000
            Content-Type: text/xml; charset="utf-8"
            SoapAction:urn:schemas-upnp-org:service:WANIPConnection:1#ForceTermination

            <?xml version='1.0' encoding='utf-8'?> <s:Envelope s:encodingStyle='**External links are only visible to Support Staff** xmlns:s='**External links are only visible to Support Staff**> <s:Body> <u:ForceTermination xmlns:u='urn:schemas-upnp-org:service:WANIPConnection:1' /> </s:Body> </s:Envelope>
        [[[/REQUEST]]]
    [[[/STEP]]]
[[[/HSRC]]]
P.S.: the fastest Fritz!Box Reconnect Script i know!
Reply With Quote
  #9  
Old 25.10.2010, 15:28
hackfreak
Guest
 
Posts: n/a
Post Thomson TG585 v7

Hello!
This is my self-made reconnecter for thomson tg585 v7 router.
Spoiler:


It's not really a script, but it's an executable for windows.
Download it here:
**External links are only visible to Support Staff****External links are only visible to Support Staff**
http:-//jsw.netau.net/downloads/?file=reconnect (remove the minus after http: )

I hope i could help.
Bye
Reply With Quote
  #10  
Old 30.10.2010, 22:31
Igvarr(SRB)
Guest
 
Posts: n/a
Wink HUAWEI EchoLife HG520s Telekom Srbija - Reconnection script

(English/Serbian)

This is reconnection script for / Ovo je skripta za rekonekciju za:
HUAWEI EchoLife HG520s



Provider / Provajder: Telekom Srbija

JDownloader Settings/Reconnection/Live Header

User: telekom
Password: telekom
Router's IP: 192.168.1.1

Reconnection script:
Spoiler:
[[[HSRC]]]
[[[STEP]]]
[[[REQUEST]]]
GET / HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

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

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

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

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

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

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

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

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

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

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

[[[STEP]]]
[[[REQUEST]]]
POST /Forms/bottom_restart_1 HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%

defaltRomFlag=0&defaultIpFactory=192.168.1.1&Restart_factory=0
[[[/REQUEST]]]
[[[/STEP]]]

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

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

[[[/HSRC]]]

Last edited by Igvarr(SRB); 30.10.2010 at 22:49.
Reply With Quote
Old 31.10.2010, 12:30
remi
Message deleted by drbits. Reason: Not on topic
Old 08.11.2010, 17:31
manule
Message deleted by drbits. Reason: Not on topic
Old 09.11.2010, 08:52
drbits
Message deleted by drbits. Reason: Not on topic
  #11  
Old 21.11.2010, 18:50
satanetto
Guest
 
Posts: n/a
Default Reconnection script for Speedtouch 706

Hi all,

this is a working reconnection script for the Speedtouch 706 (6.2.29.2).
I got it from an existing script for an earlier Speedtouch model, which was here on the wiki,
simply replacing the name and the line starting with POST

Keep in mind that you have to fill in the fields username (Administrator), password, and router IP (192.168.1.254) in the gui.

Code:
[[[HSRC]]]
    [[[STEP]]]
        [[[DEFINE routername="Speedtouch 706"/]]]
    [[[/STEP]]]
    [[[STEP]]]
        [[[REQUEST]]]
            POST /?be=0&l0=-1&l1=-1
            Host: %%%routerip%%%

            0=13&1=Internet&5=1
        [[[/REQUEST]]]
    [[[/STEP]]]
    [[[STEP]]]
        [[[REQUEST]]]
            POST /?ce=1&be=0&l0=-1&l1=-1 
            Host: %%%routerip%%%

            0=12&1=Internet&5=1
        [[[/REQUEST]]]
    [[[/STEP]]]
   
[[[/HSRC]]]
enjoy
Reply With Quote
  #12  
Old 24.11.2010, 17:47
surfoldie
Guest
 
Posts: n/a
Default Reconnect THOMSON TG585 v7 FW 8.2.1.5

Habe nach langer suche im Forum, dieses Script für das THOMSON TG585 v7 SW:8.2.1.5 unter Windows7 zum laufen gebracht, da der Reconnect nach Update des JDownloader auf die aktuelle Version mit der TST10.exe nicht mehr möglich war.


[[[HSRC]]]
[[[STEP]]]
[[[REQUEST]]]
GET / HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /util.js HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /b_menu.js HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
POST /?be=0&l0=-1&l1=-1 HTTP/1.1
Host: %%%routerip%%%

0=13&1=INTERNET&2=1365217218&5=2
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /util.js HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /b_menu.js HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
POST /?be=0&l0=-1&l1=-1 HTTP/1.1
Host: %%%routerip%%%

0=12&1=INTERNET&2=2824878620&5=2
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /util.js HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /b_menu.js HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[/HSRC]]]

Der einfache Trick dabei war, im JD-LiveHeader die Router-IP 10.0.0.138
für die Telekom AT eingeben.
Hoffe geholfen zu haben.
Reply With Quote
Old 26.11.2010, 15:15
Igvarr(SRB)
Message deleted by drbits. Reason: Not on topic
  #13  
Old 04.12.2010, 15:43
coolflame87
Guest
 
Posts: n/a
Default ZHONE 6211-I3-302 - Reconnection CLR Script

ZHONE 6211-I3-302



Code:
<CryptLoad>
<Router name="ZHONE 6211-I3-302" />
<Command method="Auth" action="" />
<Command method="GET" action="wancfg.cmd" />
<Command method="GET" action="wancfg.cmd">
<Parameter name="ifname" value="ppp_0_0_103_10" />
</Command>
<Command method="POST" action="wancfg.cmd">
<Parameter name="ifname" value="ppp_0_0_103_10" />
</Command>
<Command method="GET" action="wancfg.cmd" />
<Command method="GET" action="wancfg.cmd">
<Parameter name="ifname" value="ppp_0_0_103_11" />
</Command>
<Command method="POST" action="wancfg.cmd">
<Parameter name="ifname" value="ppp_0_0_103_11" />
</Command>
<Command method="GET" action="wancfg.cmd" />
</CryptLoad>
I personally use CLR script with jdownloader for reconnection and they work fine for me
Reply With Quote
Old 11.12.2010, 01:34
KimWilde
Message deleted by drbits. Reason: Not on topic
Old 11.12.2010, 09:53
drbits
Message deleted by drbits. Reason: Not on topic
  #14  
Old 11.12.2010, 12:38
robert
Guest
 
Posts: n/a
Default

D-Link DSL-G684T - Reconnection LiveHeader/Curl script



User: admin
Password: admin
Router's IP: 192.168.1.1

Spoiler:
[[[HSRC]]]
[[[STEP]]]
[[[REQUEST]]]
GET / HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

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

[[[STEP]]]
[[[REQUEST]]]
POST /cgi-bin/webcm HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%

getpage=..%2Fhtml%2Fframe.htm&login%3Acommand%2Fusername=Admin&login%3Acommand%2Fpassword=Admin
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
POST /cgi-bin/webcm HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%

getpage=..%2Fhtml%2Fstatus%2Fdeviceinfofile.htm&var%3Amycon=connection0&var%3Aconid=encaps0
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
POST /cgi-bin/webcm HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%

getpage=..%2Fhtml%2Fstatus%2Fdeviceinfofile.htm&encaps0%3Asettings%2Fmanual_conn=0&var%3Aconid=encap s0&var%3Amycon=connection0&var%3Acontype=&connection0%3Apppoe%3Acommand%2Fstop=&var%3Ajudge=
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
POST /cgi-bin/webcm HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%

getpage=..%2Fhtml%2Fstatus%2Fdeviceinfofile.htm&encaps0%3Asettings%2Fmanual_conn=1&var%3Aconid=encap s0&var%3Amycon=connection0&var%3Acontype=&connection0%3Apppoe%3Acommand%2Fstart=&var%3Ajudge=1
[[[/REQUEST]]]
[[[/STEP]]]

[[[/HSRC]]]


---------------------------------------------------------------------

Kasda KD318-MUI - Reconnection LiveHeader/Curl script (reboot)



User: admin
Password: 0000
Router's IP: 192.168.1.1

Spoiler:
[[[HSRC]]]
[[[STEP]]]
[[[REQUEST]]]
GET / HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

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

[[[STEP]]]
[[[REQUEST]]]
GET /rebootinfo.cgi HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]
[[[/HSRC]]]
Reply With Quote
Old 11.12.2010, 13:41
KimWilde
Message deleted by drbits. Reason: Not on topic
Old 14.12.2010, 14:31
cuchivilla
Message deleted by drbits. Reason: Not on topic
  #15  
Old 15.12.2010, 13:24
remi
Guest
 
Posts: n/a
Default

If you want a reconnection script for your router, please read "Getting started with Reconnection".

Note that his thread is not for asking help but for posting working scripts.
Reply With Quote
Old 15.12.2010, 14:58
ezze66
Message deleted by drbits. Reason: Not on topic
Old 16.12.2010, 12:45
remi
Message deleted by drbits. Reason: Not on topic
Old 26.12.2010, 16:40
cloveg
Message deleted by drbits.
Old 30.12.2010, 06:18
verified
Message deleted by drbits. Reason: Not on topic
Old 01.01.2011, 19:56
miguellope
Message deleted by drbits. Reason: Not on topic
  #16  
Old 02.01.2011, 15:43
hallo
Guest
 
Posts: n/a
Default

Reconnect for Netgear wnr1000v3


Spoiler:
[[[HSRC]]]
[[[STEP]]]
[[[REQUEST]]]
GET / HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[[[STEP]]]
[[[REQUEST]]]
GET /RST_st_poe.htm HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[RESPONSE keys="id"]]]
\"st_poe\.cgi\?id\=(.*?)\"\>
[[[/RESPONSE]]]
[[[/STEP]]]



[[[STEP]]]
[[[REQUEST]]]
POST /st_poe.cgi?id=%%%id%%% HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%

ConMethod=Disconnect&pppoe2=disable
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]

[[[WAIT seconds="5"/]]]
[[[/STEP]]]


[[[STEP]]]
[[[REQUEST]]]
POST /st_poe.cgi?id=%%%id%%% HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%

ConMethod=++Connect++&pppoe2=disable
[[[/REQUEST]]]
[[[/STEP]]]

[[[/HSRC]]]

Last edited by hallo; 02.01.2011 at 15:45.
Reply With Quote
  #17  
Old 08.01.2011, 12:48
remi
Guest
 
Posts: n/a
Default

Livebox 2 Reconnect script with authorisation key (description in French).

Last edited by fma16; 08.01.2011 at 17:16. Reason: Livebox 2 missing
Reply With Quote
  #18  
Old 17.01.2011, 00:22
dedosoa
Guest
 
Posts: n/a
Default Linux users (Ubuntu at least)

hi there!! I wroted this script and posted it in ubuntu help forum. It should work on every linux/unix system i think with a ppp based internet connection (think it is said like this) Works via telnet generally on those systems.
This is muy guide for ubuntu/debian users.

First of all, script is written in bash expect (think is like that)we have to install the expect lib via synaptic or terminal

Code:
sudo apt-get install expect
We create the .sh file and put it in home/"user"/JDownloader/ i do it like that:

Code:
sudo gedit /home/"user"/JDownloader/reconnect.sh
and paste the text above as it is but changing your own data

Code:
#! /usr/bin/expect 

spawn telnet 192.168.1.1 (or your routers' address) 
expect "Login:" 
send "admin or your login\r" 
sleep 2 
expect "password:" 
send "yourpassword\r" 
sleep 2 
expect ">" 
send "ppp config ppp0 down\r" 
sleep 5 
expect ">" 
send "ppp config ppp0 up\r" 
sleep 5 
expect ">" 
send "exit\r"
we give script's permissions

Code:
sudo chmod +x /home/"youruser"/JDownloader/reconnect.sh
then in settings>>reconnection in external tab in command select your script's route


After all you can tweak reconnection times, in advanced. Mines are

30
4
40

wich gives me a reconection time of 30 seconds, think it can be improved.

Hope it helps.
Reply With Quote
  #19  
Old 20.01.2011, 17:08
-MK-
Guest
 
Posts: n/a
Default

Reconnection Script for Netgear WGR614V10:)
Spoiler:

Code:
[[[HSRC]]]
    [[[STEP]]]
        [[[REQUEST]]]
        GET / HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    [[[STEP]]]
        [[[REQUEST]]]
        POST /st_poe.cgi?id=1921947710 HTTP/1.1
        Host: %%%routerip%%%
        Authorization: Basic %%%basicauth%%%

ConMethod=Disconnect&pppoe2=disable
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        POST /st_poe.cgi?id=1921947710 HTTP/1.1
        Host: %%%routerip%%%
        Authorization: Basic %%%basicauth%%%

ConMethod=++Connect++&pppoe2=disable
        [[[/REQUEST]]]
    [[[/STEP]]]

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

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

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

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

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

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

[[[/HSRC]]]
Reply With Quote
  #20  
Old 19.02.2011, 19:32
fabrios
Guest
 
Posts: n/a
Default

motorola SB5100...¿?
Reply With Quote
  #21  
Old 20.02.2011, 13:04
drbits's Avatar
drbits drbits is offline
JD English Support (inactive)
 
Join Date: Sep 2009
Location: Physically in Los Angeles, CA, USA
Posts: 4,434
Default

Fabrios, this is a place for people to post useful scripts, not request them. You should be able to record a script for your router. Read "Gettings Started with Reconnection".
Reply With Quote
  #22  
Old 04.03.2011, 08:57
buggsy buggsy is offline
BugMeNot Account
 
Join Date: Mar 2009
Location: everywhere/nowhere
Posts: 1,121
Default Reconnect for Thomson TG585 v7, Softwareversion: 8.6.9.0

I wrote an application to reconnect with this router using mono/C#. Here is the code if you want to compile it yourself:
Spoiler:
Code:
using System;
using System.Net;
using System.Text.RegularExpressions;

namespace reconnect
{
	class MainClass
	{
		public static void Main (string[] args)
		{
			string address = null;
			
			Regex reg = new Regex (@"**External links are only visible to Support Staff**);
			
			if (reg.IsMatch (args[0])) {
				address = args[0];
			} 
			else {
				address = "**External links are only visible to Support Staff** + args[0];
			}
			
			Router router = new Router (address);
			router.Terminate ();
			router.Reconnect ();
		}

		public class Router
		{
			private string address;
			private string data;
			private string reply;
			private WebClient client = new WebClient ();
			private Regex reg;
			private Match match;

			public Router (string address)
			{
				this.address = address;
				this.data = this.client.DownloadString (address);
			}

			public void Terminate ()
			{
				this.reg = new Regex (@"<input type=\'hidden\' name=\'2\' value=\'(\d+)\'>");
				this.match = reg.Match (data);
				
				string num = match.Groups[1].Value;
				
				string terminate = "0=13&1=INTERNET&2=" + num + "&5=2";
				this.client.Headers.Add ("Content-Type", "application/x-www-form-urlencoded");
				this.reply = client.UploadString (address, terminate);
			}

			public void Reconnect ()
			{
				this.match = reg.Match (reply);
				string num = match.Groups[1].Value;
				
				string reconnect = "0=12&1=INTERNET&2=" + num + "&5=2";
				this.client.Headers.Add ("Content-Type", "application/x-www-form-urlencoded");
				this.reply = client.UploadString (address, reconnect);
			}
		}
	}
}


If you want an already compiled file you can get it from:
**External links are only visible to Support Staff****External links are only visible to Support Staff**

To use it from commandline:
Code:
For Linux: mono reconnect.exe <ROUTER_IP>
For Windows: reconnect.exe <ROUTER_IP>
//Please replace <ROUTER_IP> with the IP address of the Thomson router (e.g. 10.0.0.138)
The router needs rather long to reconnect, so I had to set the timeout in jdownloader to 120 sec for reconnection.

Last edited by buggsy; 04.03.2011 at 09:06. Reason: Added info for timout settings
Reply With Quote
  #23  
Old 05.03.2011, 21:49
paramah
Guest
 
Posts: n/a
Default

Working script for Netgear DG834Gv5 below:

**External links are only visible to Support Staff****External links are only visible to Support Staff**

Quote:
[[[HSRC]]]
[[[STEP]]]
[[[REQUEST]]]
GET / HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]

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

ConMethod=Disconnect&ConnectStatus=Connected
[[[/REQUEST]]]
[[[/STEP]]]

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

ConMethod=++Connect++&ConnectStatus=Disconnected
[[[/REQUEST]]]
[[[/STEP]]]

[[[/HSRC]]]
Reply With Quote
  #24  
Old 20.03.2011, 23:21
buggsy buggsy is offline
BugMeNot Account
 
Join Date: Mar 2009
Location: everywhere/nowhere
Posts: 1,121
Default

cnet car-854 wireless 4 port
firmware 2.1.0

Reconnet at 1 min (reboots complately)

Spoiler:
[[[HSRC]]]
[[[STEP]]]
[[[REQUEST]]]
GET / HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

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

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

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

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

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

[[[STEP]]]
[[[REQUEST]]]
GET /admin/share.js HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /admin/share.js HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]

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

[[[STEP]]]
[[[REQUEST]]]
POST /goform/admin/formReboot HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%

save=Commit+and+Reboot
[[[/REQUEST]]]
[[[/STEP]]]

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

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

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

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

[[[/HSRC]]]



cnet car-854 wireless 4 port
firmware 2.1.0

Reconnect at 18 seconds (it doesnt reboot only changes ip)

Spoiler:
[[[HSRC]]]
[[[STEP]]]
[[[REQUEST]]]
GET / HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

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

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

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

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

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

[[[STEP]]]
[[[REQUEST]]]
GET /admin/share.js HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /admin/share.js HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
POST /goform/admin/formStatus HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%

submitppp0=Disconnect&submit-url=%2Fadmin%2Fstatus.asp
[[[/REQUEST]]]
[[[/STEP]]]

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

[[[STEP]]]
[[[REQUEST]]]
GET /admin/share.js HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
POST /goform/admin/formStatus HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%

submitppp0=Connect&submit-url=%2Fadmin%2Fstatus.asp
[[[/REQUEST]]]
[[[/STEP]]]

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

[[[STEP]]]
[[[REQUEST]]]
GET /admin/share.js HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]

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

[[[STEP]]]
[[[REQUEST]]]
GET /admin/share.js HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[/HSRC]]]
Reply With Quote
  #25  
Old 24.03.2011, 12:15
Interceptor One
Guest
 
Posts: n/a
Default Belkin N Wireless Modem Router F5D8633-4

I couldn't find a re-connection script for my Router here,
so I recorded one and am posting it here. Do what you want with it.
JDownloader Devs. if you want to add it to JDownloader, feel free to do so.

Modem/Router:
  1. Belkin N Wireless Modem Router F5D8633-4
(and then on a sticker on the back, it also says "ver. 1000uk"

Spoiler:
Code:
[[[HSRC]]]
    [[[STEP]]]
        [[[REQUEST]]]
        GET / HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /setup_top.htm HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /status.stm HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /top_conn.xml HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /top_conn.xml HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /cgi-bin/top_login.exe HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /login.htm HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /top_conn.xml HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /setup_top.htm HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /login.stm HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /top_conn.xml HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /setup_top.htm HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /top_conn.xml HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        POST /cgi-bin/login.exe HTTP/1.1
        Host: %%%routerip%%%

totalMSec=1300793366.433&pws=
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /index.htm HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /setup_top.htm HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /status.stm HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /top_conn.xml HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /system_r.stm HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /data.js HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        POST /cgi-bin/restart.exe HTTP/1.1
        Host: %%%routerip%%%

page=tools_gateway&logout=
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /top_conn.xml HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /waitp.stm HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /top_conn.xml HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /top_conn.xml HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /top_conn.xml HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /top_conn.xml HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /top_conn.xml HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET / HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /setup_top.htm HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /status.stm HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /top_conn.xml HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /top_conn.xml HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /top_conn.xml HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /top_conn.xml HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

[[[/HSRC]]]


This works just fine for me, I also added 5 seconds to the
"First IP check wait time (sec)" setting, in the advanced reconnect settings.
Reply With Quote
  #26  
Old 28.03.2011, 22:47
buggsy buggsy is offline
BugMeNot Account
 
Join Date: Mar 2009
Location: everywhere/nowhere
Posts: 1,121
Default (script) Reconnect für Alice Modem WLAN 1421

Liveheader/Curl Skript for Alice Modem WLAN 1421 with Firmware 1.00.11:

Regards
N.N.

Spoiler:
Code:
[[[HSRC]]]
    [[[STEP]]]
        [[[REQUEST]]]
        GET / HTTP/1.0
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /js/prototype.js HTTP/1.0
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /js/effects.js HTTP/1.0
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /js/msg.js HTTP/1.0
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /js/tree.js HTTP/1.0
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /js/common.js HTTP/1.0
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /js/language.js HTTP/1.0
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /js/help.js HTTP/1.0
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        POST /cgi-bin/Hn_login.cgi HTTP/1.0
        Host: %%%routerip%%%

controller=Overview&action=Login&id=0&idTextPassword=%%%pass%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /index.htm HTTP/1.0
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /diagnostic.htm HTTP/1.0
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        POST /cgi-bin/Hn_wan.cgi HTTP/1.0
        Host: %%%routerip%%%

controller=Internet&action=DisconnectInternet&id=0&ReturnPage=%2Fdiagnostic.htm
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /diagnostic.htm HTTP/1.0
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /diagnostic.htm?controller=Overview&action=IndexOverview HTTP/1.0
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /diagnostic.htm?controller=Overview&action=IndexOverview HTTP/1.0
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        POST /cgi-bin/Hn_wan.cgi HTTP/1.0
        Host: %%%routerip%%%

controller=Internet&action=ConnectInternet&id=0&ReturnPage=%2Fdiagnostic.htm
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /diagnostic.htm HTTP/1.0
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

[[[/HSRC]]]

Last edited by drbits; 29.03.2011 at 06:06.
Reply With Quote
  #27  
Old 12.04.2011, 17:46
jojo2005
Guest
 
Posts: n/a
Default Router-Modell TP-Link TL-WR1043ND Firmware: DD-WRT v24-sp2 (08/07/10) std

Spoiler:
[[[HSRC]]]
[[[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]]][[[WAIT seconds="3"/]]][[[/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]]]
[[[/HSRC]]]


This Script works great.
Reply With Quote
  #28  
Old 26.04.2011, 02:49
replicaRolex
Guest
 
Posts: n/a
Default replica hublot

hublot king power
Reply With Quote
  #29  
Old 03.05.2011, 15:04
Fred-Bear
Guest
 
Posts: n/a
Default Siemens SpeedStream 6520

Although this is not a script per se, The reconnect script for the Siemens SpeedStream 4100 that comes bundled with JDownloader also works great for the Siemens SpeedStream 6520.
Reply With Quote
  #30  
Old 03.05.2011, 20:36
contreras
Guest
 
Posts: n/a
Default Linksys WRT54G2 v.1



I have an old Linksys WRT54G2 v1 FW. 1.0.01 and the only way is spoofing the MAC

This scritpt works... but you need to edit some values every time you use it... check this also http://svn.jdownloader.org/issues/3383

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

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

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

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

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

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

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

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

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

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

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

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

action=Apply&mac_clone_enable=1&def_hwaddr_0=00&def_hwaddr_1=21&def_hwaddr_2=29&def_hwaddr_3=8E&def_hwaddr_4=1A&def_hwaddr_5=00
        [[[/REQUEST]]]
    [[[/STEP]]]

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

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

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

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

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

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

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

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

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

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

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

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

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

action=release&wan_pro=0&conn_stats=4294967295&layout=sp
        [[[/REQUEST]]]
    [[[/STEP]]]

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

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

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

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

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

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

action=renew&wan_pro=0&conn_stats=4294967295&layout=sp
        [[[/REQUEST]]]
    [[[/STEP]]]

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

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

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

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

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

[[[/HSRC]]]


you need to edit this line:

Code:
action=Apply&mac_clone_enable=1&def_hwaddr_0=00&def_hwaddr_1=21&def_hwaddr_2=29&def_hwaddr_3=8E&def_hwaddr_4=1A&def_hwaddr_5=00
just change the values of "def_hwaddr_(0 to 5)=XX" writing any hex number (00 to FF) instead XX

Last edited by drbits; 04.05.2011 at 07:09.
Reply With Quote
  #31  
Old 04.05.2011, 17:35
Schmonz
Guest
 
Posts: n/a
Default

Reconnect Script for D-Link DIR-600 (tested on Firmware Version 2.05)

Spoiler:
Code:
[[[HSRC]]]

    [[[STEP]]]
        [[[REQUEST]]]
        POST /login.php HTTP/1.1
        Host: %%%routerip%%%

ACTION_POST=LOGIN&FILECODE=&VERIFICATION_CODE=&LOGIN_USER=%%%user%%%&LOGIN_PASSWD=%%%pass%%%&VER_CODE=
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /conninfo.xgi?set/runtime/wan/inf:1/disconnect=1 HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /conninfo.xgi?set/runtime/wan/inf:1/connect=1 HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]


    [[[STEP]]]
        [[[REQUEST]]]
        GET /logout.php HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

[[[/HSRC]]]
Reply With Quote
  #32  
Old 19.05.2011, 18:27
chinipan
Guest
 
Posts: n/a
Default TP-Link TL-MR3420

Firmware Version:
3.12.8 Build 110418 Rel.43954n
Hardware Version:
MR3420 v1 00000000

Spoiler:
[[[HSRC]]]
[[[STEP]]]
[[[REQUEST]]]
GET / HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

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

[[[STEP]]]
[[[REQUEST]]]
GET /dynaform/common.js HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /localiztion/char_set.js HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /userRpm/MenuRpm.htm HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /frames/top.htm HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /help/StatusHelpRpm.htm HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /userRpm/StatusRpm.htm HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /localiztion/str_menu.js HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /dynaform/menu.js HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /dynaform/custom.js HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /dynaform/common.js HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /dynaform/custom.js HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /dynaform/custom.js HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /userRpm/StatusRpm.htm?mobileDisconnect=Disconnect HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /userRpm/StatusRpm.htm HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /dynaform/custom.js HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /dynaform/common.js HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /userRpm/StatusRpm.htm?mobileConnect=Connect HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /dynaform/custom.js HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /dynaform/common.js HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[/HSRC]]]

Last edited by chinipan; 19.05.2011 at 18:30.
Reply With Quote
  #33  
Old 24.05.2011, 10:29
helmet
Guest
 
Posts: n/a
Default Useful Reconnection Scripts from Users

Simon and Mark, thanks for your answers.
I tried with ReconnAct and it works fine.
My only problem, now, is to delay access to applications until the script ends. In other word, it would be nice if, at reconnection, script is executed "before" reconnected applications appear on the user client. Do you think it is possible?


**External links are only visible to Support Staff**HostMonster Coupon
Reply With Quote
  #34  
Old 10.06.2011, 12:10
Freeloader
Guest
 
Posts: n/a
Exclamation

Heres a Zyxel telnet scripter a very useful external reconnect method for zyxel routers the reconnection takes only 7-13 seconds > and works with almost all zyxel series

Click here to Download

Users guide:

Download it and extract it to a user defined directory

once the file is extracted > open the BAT file with a text editor and replace 1234 in the command line with your own router password

this is what the command line in the bat looks like
Code:
ztnbatch.exe -h 192.168.1.1 -p 1234 -c "poe drop poe0" silent -EXIT
save the file and add the BAT file to JDownloader as a external file


Backup line If the command line in the bat does not work you can also try this one
Code:
ztnbatch.exe -h 192.168.1.1 -p 1234 -c "poe drop poe0" -c "dev dial 1" -silent -EXIT
Attention : telnet has to be enabled on your system for this to work

Last edited by Freeloader; 12.10.2011 at 00:28.
Reply With Quote
  #35  
Old 21.06.2011, 13:56
lorotelu
Guest
 
Posts: n/a
Default TP-LINK TD-8817 Reconnection CLR Script

TP-LINK TD-8817 Firmware 1.0.2

Login: admin
Password: admin
Router IP: 192.168.1.1

Code:
<CryptLoad>
<Router name="TP-LINK TD-8817 Firmware 1.0.2 Build 080505 Rel.57342 FwVer:3.10.2.60_TC3085 HwVer:T14.F7_3.0" />
<Command method="Auth" action="" />
<Command method="POST" action="Forms/tools_system_1">
<Parameter name="restoreFlag" value="0" />
<Parameter name="Restart" value="RESTART" />
</Command>
<Command method="GET" action="maintenance/tools_system.htm" />
</CryptLoad>
Reply With Quote
  #36  
Old 22.06.2011, 05:38
matiasloda
Guest
 
Posts: n/a
Default

someone knows how to reconnect with CNet CBR980 router 3g? can you help me? thanks
Reply With Quote
  #37  
Old 22.06.2011, 10:24
remi
Guest
 
Posts: n/a
Default

Please, create a new thread in this forum. This thread contains some "Useful Reconnection Scripts from Users".
Reply With Quote
  #38  
Old 04.07.2011, 12: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
  #39  
Old 06.08.2011, 12:23
maxtharindu
Guest
 
Posts: n/a
Thumbs up reconnection matter prolink

Hi friend do u know how to reconnect prolink h5200 router? if you know please PM to me.:thumbup::thumbup:
Reply With Quote
  #40  
Old 06.08.2011, 12:52
remi
Guest
 
Posts: n/a
Default

This is a thread for posting working solutions, not for asking solutions.

Please, also don't double post.
Reply With Quote
Reply

Thread Tools
Display Modes

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 21:36.
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.