JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #41  
Old 01.02.2012, 17:30
Viper780
Guest
 
Posts: n/a
Smile

Quote:
Originally Posted by Freeloader View Post
record the script in normal mode dont use raw format test the script below before sending me normal script



I want you to set JD log level to all and test the script , if it fails send me the log file and your normal script
Thank you for your help and time but your script don't work for me :(

here is the whole log (beginning from the restart of JD, for size reasons i skipped the loading part)

Spoiler:
Code:
------------------------  Thread: 16  -----------------------
16 01.02.12 17:18:22 - FINER [java_downloader] -> Checking for available updates

------------------------  Thread: 17  -----------------------
17 01.02.12 17:18:26 - SEVERE [java_downloader] -> Webupdater offline or nothing to update

------------------------  Thread: 18  -----------------------
18 01.02.12 17:18:37 - INFO [java_downloader] -> DownloadWatchDog: start

------------------------  Thread: 19  -----------------------
19 01.02.12 17:18:37 - INFO [java_downloader] -> 4rounds left to start new downloads
19 01.02.12 17:18:38 - INFO [java_downloader] -> 3rounds left to start new downloads
19 01.02.12 17:18:39 - INFO [java_downloader] -> 2rounds left to start new downloads
19 01.02.12 17:18:40 - INFO [java_downloader] -> 1rounds left to start new downloads
19 01.02.12 17:18:41 - INFO [java_downloader] -> 0rounds left to start new downloads

------------------------  Thread: 13  -----------------------
13 01.02.12 17:18:41 - INFO [java_downloader] -> Downloads stopped

------------------------  Thread: 19  -----------------------
19 01.02.12 17:18:41 - INFO [java_downloader] -> DownloadWatchDog: stop

------------------------  Thread: 12  -----------------------
12 01.02.12 17:20:08 - INFO [java_downloader] -> 

--------------------------------------Reconnect Testing-----------------------------------
12 01.02.12 17:20:08 - INFO [java_downloader] -> Start Reconnect

------------------------  Thread: 20  -----------------------
20 01.02.12 17:20:08 - INFO [java_downloader] -> Try to reconnect...
20 01.02.12 17:20:08 - INFO [java_downloader] -> Starting jd.controlling.reconnect.HTTPLiveHeader@25aa44df #1
20 01.02.12 17:20:08 - SEVERE [java_downloader] -> <HSRC>

<STEP>
<REQUEST raw="true"><![CDATA[
GET / HTTP/1.1
Host: %%%routerip%%%
user-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20100101 Firefox/10.0
accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
accept-language: de-at,de;q=0.8,de-de;q=0.7,en;q=0.5,en-gb;q=0.3,en-us;q=0.2
accept-encoding: gzip, deflate
connection: keep-alive
]]></REQUEST>
</STEP>

<STEP>
<REQUEST raw="true"><![CDATA[
GET /login.lp HTTP/1.1
Host: %%%routerip%%%
user-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20100101 Firefox/10.0
accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
accept-language: de-at,de;q=0.8,de-de;q=0.7,en;q=0.5,en-gb;q=0.3,en-us;q=0.2
accept-encoding: gzip, deflate
connection: keep-alive
cookie: xAuth_SESSION_ID=QS3djNtDOknkk1LXjR7qLAA=
if-none-match: ""3e51-a9371f20""
]]></REQUEST>
</STEP>

<STEP>
<REQUEST raw="true"><![CDATA[
POST /login.lp HTTP/1.1
Host: %%%routerip%%%
user-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20100101 Firefox/10.0
accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
accept-language: de-at,de;q=0.8,de-de;q=0.7,en;q=0.5,en-gb;q=0.3,en-us;q=0.2
accept-encoding: gzip, deflate
connection: keep-alive
cookie: xAuth_SESSION_ID=QS3djNtDOknkk1LXjR7qLAA=
content-type: application/x-www-form-urlencoded
content-length: 80

rn=QS3djNtDOknkk1LXjR7qLAA%3D&hidepw=cedc77d441fb6303a9decaa64bf92074&user=root2
]]></REQUEST>
</STEP>

<STEP>
<REQUEST raw="true"><![CDATA[
GET / HTTP/1.1
Host: %%%routerip%%%
user-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20100101 Firefox/10.0
accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
accept-language: de-at,de;q=0.8,de-de;q=0.7,en;q=0.5,en-gb;q=0.3,en-us;q=0.2
accept-encoding: gzip, deflate
connection: keep-alive
cookie: xAuth_SESSION_ID=QS3djNtDOknkk1LXjR7qLAA=

]]></REQUEST>
<PARSE>
num:'hidden'.name='2'.value='(\d+)
</PARSE>
</STEP>]

<STEP>
<REQUEST raw="true"><![CDATA[
POST /?be=0&l0=-1&l1=-1 HTTP/1.1
Host: %%%routerip%%%
user-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20100101 Firefox/10.0
accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
accept-language: de-at,de;q=0.8,de-de;q=0.7,en;q=0.5,en-gb;q=0.3,en-us;q=0.2
accept-encoding: gzip, deflate
connection: keep-alive
cookie: xAuth_SESSION_ID=QS3djNtDOknkk1LXjR7qLAA=
content-type: application/x-www-form-urlencoded
content-length: 32

0=13&1=Internet&2=%%%num%%%&5=1
]]></REQUEST>
</STEP>

<STEP>
<REQUEST raw="true"><![CDATA[
GET / HTTP/1.1
Host: %%%routerip%%%
user-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20100101 Firefox/10.0
accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
accept-language: de-at,de;q=0.8,de-de;q=0.7,en;q=0.5,en-gb;q=0.3,en-us;q=0.2
accept-encoding: gzip, deflate
connection: keep-alive
cookie: xAuth_SESSION_ID=QS3djNtDOknkk1LXjR7qLAA=

]]></REQUEST>
<PARSE>
num:name='2'.value='(\d+)'></
</PARSE>
</STEP>]

<STEP>
<REQUEST raw="true"><![CDATA[
POST /?be=0&l0=-1&l1=-1 HTTP/1.1
Host: %%%routerip%%%
user-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20100101 Firefox/10.0
accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
accept-language: de-at,de;q=0.8,de-de;q=0.7,en;q=0.5,en-gb;q=0.3,en-us;q=0.2
accept-encoding: gzip, deflate
connection: keep-alive
cookie: xAuth_SESSION_ID=QS3djNtDOknkk1LXjR7qLAA=
content-type: application/x-www-form-urlencoded
content-length: 32

0=12&1=Internet&2=%%%num%%%&5=1
]]></REQUEST>
</STEP>

</HSRC>
EXCEPTION   20 01.02.12 17:20:08 - SEVERE [java_downloader] -> SEVERE Exception occurred
org.xml.sax.SAXParseException: The element type "PARSE" must be terminated by the matching end-tag "</PARSE>".
	at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
	at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
	at jd.utils.JDUtilities.parseXmlString(Unknown Source)
	at jd.controlling.reconnect.HTTPLiveHeader.runCommands(Unknown Source)
	at jd.controlling.reconnect.ReconnectMethod.doReconnectInteral(Unknown Source)
	at jd.controlling.reconnect.ReconnectMethod.doReconnect(Unknown Source)
	at jd.controlling.reconnect.Reconnecter.doReconnect(Unknown Source)
	at jd.controlling.reconnect.Reconnecter.doReconnectIfRequestedInternal(Unknown Source)
	at jd.controlling.reconnect.Reconnecter.doReconnectIfRequested(Unknown Source)
	at jd.controlling.reconnect.Reconnecter.waitForNewIP(Unknown Source)
	at jd.controlling.reconnect.Reconnecter.doManualReconnect(Unknown Source)
	at jd.gui.swing.jdgui.settings.panels.reconnect.MethodSelection$2.run(MethodSelection.java:145)
20 01.02.12 17:20:08 - SEVERE [java_downloader] -> Error while parsing the xml string: <HSRC>

<STEP>
<REQUEST raw="true"><![CDATA[
GET / HTTP/1.1
Host: %%%routerip%%%
user-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20100101 Firefox/10.0
accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
accept-language: de-at,de;q=0.8,de-de;q=0.7,en;q=0.5,en-gb;q=0.3,en-us;q=0.2
accept-encoding: gzip, deflate
connection: keep-alive
]]></REQUEST>
</STEP>

<STEP>
<REQUEST raw="true"><![CDATA[
GET /login.lp HTTP/1.1
Host: %%%routerip%%%
user-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20100101 Firefox/10.0
accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
accept-language: de-at,de;q=0.8,de-de;q=0.7,en;q=0.5,en-gb;q=0.3,en-us;q=0.2
accept-encoding: gzip, deflate
connection: keep-alive
cookie: xAuth_SESSION_ID=QS3djNtDOknkk1LXjR7qLAA=
if-none-match: ""3e51-a9371f20""
]]></REQUEST>
</STEP>

<STEP>
<REQUEST raw="true"><![CDATA[
POST /login.lp HTTP/1.1
Host: %%%routerip%%%
user-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20100101 Firefox/10.0
accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
accept-language: de-at,de;q=0.8,de-de;q=0.7,en;q=0.5,en-gb;q=0.3,en-us;q=0.2
accept-encoding: gzip, deflate
connection: keep-alive
cookie: xAuth_SESSION_ID=QS3djNtDOknkk1LXjR7qLAA=
content-type: application/x-www-form-urlencoded
content-length: 80

rn=QS3djNtDOknkk1LXjR7qLAA%3D&hidepw=cedc77d441fb6303a9decaa64bf92074&user=root2
]]></REQUEST>
</STEP>

<STEP>
<REQUEST raw="true"><![CDATA[
GET / HTTP/1.1
Host: %%%routerip%%%
user-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20100101 Firefox/10.0
accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
accept-language: de-at,de;q=0.8,de-de;q=0.7,en;q=0.5,en-gb;q=0.3,en-us;q=0.2
accept-encoding: gzip, deflate
connection: keep-alive
cookie: xAuth_SESSION_ID=QS3djNtDOknkk1LXjR7qLAA=

]]></REQUEST>
<PARSE>
num:'hidden'.name='2'.value='(\d+)
</PARSE>
</STEP>]

<STEP>
<REQUEST raw="true"><![CDATA[
POST /?be=0&l0=-1&l1=-1 HTTP/1.1
Host: %%%routerip%%%
user-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20100101 Firefox/10.0
accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
accept-language: de-at,de;q=0.8,de-de;q=0.7,en;q=0.5,en-gb;q=0.3,en-us;q=0.2
accept-encoding: gzip, deflate
connection: keep-alive
cookie: xAuth_SESSION_ID=QS3djNtDOknkk1LXjR7qLAA=
content-type: application/x-www-form-urlencoded
content-length: 32

0=13&1=Internet&2=%%%num%%%&5=1
]]></REQUEST>
</STEP>

<STEP>
<REQUEST raw="true"><![CDATA[
GET / HTTP/1.1
Host: %%%routerip%%%
user-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20100101 Firefox/10.0
accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
accept-language: de-at,de;q=0.8,de-de;q=0.7,en;q=0.5,en-gb;q=0.3,en-us;q=0.2
accept-encoding: gzip, deflate
connection: keep-alive
cookie: xAuth_SESSION_ID=QS3djNtDOknkk1LXjR7qLAA=

]]></REQUEST>
<PARSE>
num:name='2'.value='(\d+)'></
</PARSE>
</STEP>]

<STEP>
<REQUEST raw="true"><![CDATA[
POST /?be=0&l0=-1&l1=-1 HTTP/1.1
Host: %%%routerip%%%
user-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20100101 Firefox/10.0
accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
accept-language: de-at,de;q=0.8,de-de;q=0.7,en;q=0.5,en-gb;q=0.3,en-us;q=0.2
accept-encoding: gzip, deflate
connection: keep-alive
cookie: xAuth_SESSION_ID=QS3djNtDOknkk1LXjR7qLAA=
content-type: application/x-www-form-urlencoded
content-length: 32

0=12&1=Internet&2=%%%num%%%&5=1
]]></REQUEST>
</STEP>

</HSRC>
20 01.02.12 17:20:08 - SEVERE [java_downloader] -> An error occured while processing the reconnect ... Terminating
20 01.02.12 17:20:08 - INFO [java_downloader] -> Reconnect failed!


script without raw mode

Spoiler:
Code:
[[[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]]]
        GET /cgi/b/bb/?be=0&l0=2&l1=-1 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]]]
        GET /cgi/b/is/?be=0&l0=2&l1=2 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]]]
        GET /cgi/b/is/_pppoe_/ov/?be=0&l0=2&l1=2&name=Internet 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]]]
        GET /cgi/b/is/_pppoe_/dt/?be=0&l0=2&l1=2&name=Internet 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 /cgi/b/is/_pppoe_/dt/?be=0&l0=2&l1=2&name=Internet HTTP/1.1
        Host: %%%routerip%%%

0=13&1=Internet&2=3451747565&5=1
        [[[/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 /cgi/b/is/_pppoe_/dt/?be=0&l0=2&l1=2&name=Internet HTTP/1.1
        Host: %%%routerip%%%

0=12&1=Internet&2=850744805&5=1
        [[[/REQUEST]]]
    [[[/STEP]]]

[[[/HSRC]]]


i hope this helps
Reply With Quote
  #42  
Old 01.02.2012, 19:07
Freeloader
Guest
 
Posts: n/a
Default

Try both and if they fail send log files for each one
Script 1

Spoiler:
Code:
[[[HSRC]]]

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

[[[STEP]]]
[[[REQUEST]]]
GET /cgi/b/bb/?be=0&l0=2&l1=-1 HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /cgi/b/is/?be=0&l0=2&l1=2 HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /cgi/b/is/_pppoe_/ov/?be=0&l0=2&l1=2&name=Internet HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /cgi/b/is/_pppoe_/dt/?be=0&l0=2&l1=2&name=Internet HTTP/1.1
Host: %%%routerip%%%

[[[/REQUEST]]]
[[[PARSE]]]
num:'hidden'.name='2'.value='(\d+)
[[[/PARSE]]]
[[[/STEP]]]]

[[[STEP]]]
[[[REQUEST]]]
POST /cgi/b/is/_pppoe_/dt/?be=0&l0=2&l1=2&name=Internet HTTP/1.1
Host: %%%routerip%%%

0=13&1=Internet&2=%%%num%%%&5=1
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /cgi/b/is/_pppoe_/dt/?be=0&l0=2&l1=2&name=Internet HTTP/1.1
Host: %%%routerip%%%

[[[/REQUEST]]]
[[[PARSE]]]
num:name='2'.value='(\d+)'></
[[[/PARSE]]]
[[[/STEP]]]]

[[[STEP]]]
[[[REQUEST]]]
POST /cgi/b/is/_pppoe_/dt/?be=0&l0=2&l1=2&name=Internet HTTP/1.1
Host: %%%routerip%%%

0=12&1=Internet&2=%%%num%%%&5=1
[[[/REQUEST]]]
[[[/STEP]]]

[[[/HSRC]]]


Script 2
Spoiler:
Code:
[[[HSRC]]]

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

[[[/REQUEST]]]
[[[PARSE]]]
num:'hidden'.name='2'.value='(\d+)
[[[/PARSE]]]
[[[/STEP]]]]

[[[STEP]]]
[[[REQUEST]]]
POST /cgi/b/is/_pppoe_/dt/?be=0&l0=2&l1=2&name=Internet HTTP/1.1
Host: %%%routerip%%%

0=13&1=Internet&2=%%%num%%%&5=1
[[[/REQUEST]]]
[[[/STEP]]]

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

[[[/REQUEST]]]
[[[PARSE]]]
num:name='2'.value='(\d+)'></
[[[/PARSE]]]
[[[/STEP]]]]

[[[STEP]]]
[[[REQUEST]]]
POST /cgi/b/is/_pppoe_/dt/?be=0&l0=2&l1=2&name=Internet HTTP/1.1
Host: %%%routerip%%%

0=12&1=Internet&2=%%%num%%%&5=1
[[[/REQUEST]]]
[[[/STEP]]]

[[[/HSRC]]]

Last edited by Freeloader; 01.02.2012 at 19:17.
Reply With Quote
  #43  
Old 02.02.2012, 10:46
Viper780
Guest
 
Posts: n/a
Arrow

Frist script don't work

Log1:
Spoiler:
Code:
------------------------  Thread: 12  -----------------------
12 02.02.12 10:37:29 - INFO [java_downloader] -> 

--------------------------------------Reconnect Testing-----------------------------------
12 02.02.12 10:37:29 - INFO [java_downloader] -> Start Reconnect

------------------------  Thread: 21  -----------------------
21 02.02.12 10:37:29 - INFO [java_downloader] -> Try to reconnect...
21 02.02.12 10:37:29 - INFO [java_downloader] -> Starting jd.controlling.reconnect.HTTPLiveHeader@182e3919 #1
21 02.02.12 10:37:29 - SEVERE [java_downloader] -> 
<HSRC>

<STEP>
<REQUEST><![CDATA[
GET / HTTP/1.1
Host: %%%routerip%%%
]]></REQUEST>
</STEP>

<STEP>
<REQUEST><![CDATA[
GET /cgi/b/bb/?be=0&l0=2&l1=-1 HTTP/1.1
Host: %%%routerip%%%
]]></REQUEST>
</STEP>

<STEP>
<REQUEST><![CDATA[
GET /cgi/b/is/?be=0&l0=2&l1=2 HTTP/1.1
Host: %%%routerip%%%
]]></REQUEST>
</STEP>

<STEP>
<REQUEST><![CDATA[
GET /cgi/b/is/_pppoe_/ov/?be=0&l0=2&l1=2&name=Internet HTTP/1.1
Host: %%%routerip%%%
]]></REQUEST>
</STEP>

<STEP>
<REQUEST><![CDATA[
GET /cgi/b/is/_pppoe_/dt/?be=0&l0=2&l1=2&name=Internet HTTP/1.1
Host: %%%routerip%%%

]]></REQUEST>
<PARSE>
num:'hidden'.name='2'.value='(\d+)
</PARSE>
</STEP>]

<STEP>
<REQUEST><![CDATA[
POST /cgi/b/is/_pppoe_/dt/?be=0&l0=2&l1=2&name=Internet HTTP/1.1
Host: %%%routerip%%%

0=13&1=Internet&2=%%%num%%%&5=1
]]></REQUEST>
</STEP>

<STEP>
<REQUEST><![CDATA[
GET /cgi/b/is/_pppoe_/dt/?be=0&l0=2&l1=2&name=Internet HTTP/1.1
Host: %%%routerip%%%

]]></REQUEST>
<PARSE>
num:name='2'.value='(\d+)'></
</PARSE>
</STEP>]

<STEP>
<REQUEST><![CDATA[
POST /cgi/b/is/_pppoe_/dt/?be=0&l0=2&l1=2&name=Internet HTTP/1.1
Host: %%%routerip%%%

0=12&1=Internet&2=%%%num%%%&5=1
]]></REQUEST>
</STEP>

</HSRC>

EXCEPTION   21 02.02.12 10:37:29 - SEVERE [java_downloader] -> SEVERE Exception occurred
org.xml.sax.SAXParseException: The element type "PARSE" must be terminated by the matching end-tag "</PARSE>".
	at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
	at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
	at jd.utils.JDUtilities.parseXmlString(Unknown Source)
	at jd.controlling.reconnect.HTTPLiveHeader.runCommands(Unknown Source)
	at jd.controlling.reconnect.ReconnectMethod.doReconnectInteral(Unknown Source)
	at jd.controlling.reconnect.ReconnectMethod.doReconnect(Unknown Source)
	at jd.controlling.reconnect.Reconnecter.doReconnect(Unknown Source)
	at jd.controlling.reconnect.Reconnecter.doReconnectIfRequestedInternal(Unknown Source)
	at jd.controlling.reconnect.Reconnecter.doReconnectIfRequested(Unknown Source)
	at jd.controlling.reconnect.Reconnecter.waitForNewIP(Unknown Source)
	at jd.controlling.reconnect.Reconnecter.doManualReconnect(Unknown Source)
	at jd.gui.swing.jdgui.settings.panels.reconnect.MethodSelection$2.run(MethodSelection.java:145)
21 02.02.12 10:37:29 - SEVERE [java_downloader] -> Error while parsing the xml string: 
<HSRC>

<STEP>
<REQUEST><![CDATA[
GET / HTTP/1.1
Host: %%%routerip%%%
]]></REQUEST>
</STEP>

<STEP>
<REQUEST><![CDATA[
GET /cgi/b/bb/?be=0&l0=2&l1=-1 HTTP/1.1
Host: %%%routerip%%%
]]></REQUEST>
</STEP>

<STEP>
<REQUEST><![CDATA[
GET /cgi/b/is/?be=0&l0=2&l1=2 HTTP/1.1
Host: %%%routerip%%%
]]></REQUEST>
</STEP>

<STEP>
<REQUEST><![CDATA[
GET /cgi/b/is/_pppoe_/ov/?be=0&l0=2&l1=2&name=Internet HTTP/1.1
Host: %%%routerip%%%
]]></REQUEST>
</STEP>

<STEP>
<REQUEST><![CDATA[
GET /cgi/b/is/_pppoe_/dt/?be=0&l0=2&l1=2&name=Internet HTTP/1.1
Host: %%%routerip%%%

]]></REQUEST>
<PARSE>
num:'hidden'.name='2'.value='(\d+)
</PARSE>
</STEP>]

<STEP>
<REQUEST><![CDATA[
POST /cgi/b/is/_pppoe_/dt/?be=0&l0=2&l1=2&name=Internet HTTP/1.1
Host: %%%routerip%%%

0=13&1=Internet&2=%%%num%%%&5=1
]]></REQUEST>
</STEP>

<STEP>
<REQUEST><![CDATA[
GET /cgi/b/is/_pppoe_/dt/?be=0&l0=2&l1=2&name=Internet HTTP/1.1
Host: %%%routerip%%%

]]></REQUEST>
<PARSE>
num:name='2'.value='(\d+)'></
</PARSE>
</STEP>]

<STEP>
<REQUEST><![CDATA[
POST /cgi/b/is/_pppoe_/dt/?be=0&l0=2&l1=2&name=Internet HTTP/1.1
Host: %%%routerip%%%

0=12&1=Internet&2=%%%num%%%&5=1
]]></REQUEST>
</STEP>

</HSRC>

21 02.02.12 10:37:29 - SEVERE [java_downloader] -> An error occured while processing the reconnect ... Terminating
21 02.02.12 10:37:29 - INFO [java_downloader] -> Reconnect failed!


second script don't work

Log2:
Spoiler:
Code:
------------------------  Thread: 22  -----------------------
22 02.02.12 10:41:52 - INFO [java_downloader] -> ByteBufferController: Used: 0 B Free: 0 B

------------------------  Thread: 12  -----------------------
12 02.02.12 10:42:03 - INFO [java_downloader] -> 

--------------------------------------Reconnect Testing-----------------------------------
12 02.02.12 10:42:03 - INFO [java_downloader] -> Start Reconnect

------------------------  Thread: 23  -----------------------
23 02.02.12 10:42:03 - INFO [java_downloader] -> Try to reconnect...
23 02.02.12 10:42:03 - INFO [java_downloader] -> Starting jd.controlling.reconnect.HTTPLiveHeader@674e5e21 #1
23 02.02.12 10:42:03 - SEVERE [java_downloader] -> 
<HSRC>

<STEP>
<REQUEST><![CDATA[
GET / HTTP/1.1
Host: %%%routerip%%%

]]></REQUEST>
<PARSE>
num:'hidden'.name='2'.value='(\d+)
</PARSE>
</STEP>]

<STEP>
<REQUEST><![CDATA[
POST /cgi/b/is/_pppoe_/dt/?be=0&l0=2&l1=2&name=Internet HTTP/1.1
Host: %%%routerip%%%

0=13&1=Internet&2=%%%num%%%&5=1
]]></REQUEST>
</STEP>

<STEP>
<REQUEST><![CDATA[
GET / HTTP/1.1
Host: %%%routerip%%%

]]></REQUEST>
<PARSE>
num:name='2'.value='(\d+)'></
</PARSE>
</STEP>]

<STEP>
<REQUEST><![CDATA[
POST /cgi/b/is/_pppoe_/dt/?be=0&l0=2&l1=2&name=Internet HTTP/1.1
Host: %%%routerip%%%

0=12&1=Internet&2=%%%num%%%&5=1
]]></REQUEST>
</STEP>

</HSRC>

EXCEPTION   23 02.02.12 10:42:03 - SEVERE [java_downloader] -> SEVERE Exception occurred
org.xml.sax.SAXParseException: The element type "PARSE" must be terminated by the matching end-tag "</PARSE>".
	at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
	at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
	at jd.utils.JDUtilities.parseXmlString(Unknown Source)
	at jd.controlling.reconnect.HTTPLiveHeader.runCommands(Unknown Source)
	at jd.controlling.reconnect.ReconnectMethod.doReconnectInteral(Unknown Source)
	at jd.controlling.reconnect.ReconnectMethod.doReconnect(Unknown Source)
	at jd.controlling.reconnect.Reconnecter.doReconnect(Unknown Source)
	at jd.controlling.reconnect.Reconnecter.doReconnectIfRequestedInternal(Unknown Source)
	at jd.controlling.reconnect.Reconnecter.doReconnectIfRequested(Unknown Source)
	at jd.controlling.reconnect.Reconnecter.waitForNewIP(Unknown Source)
	at jd.controlling.reconnect.Reconnecter.doManualReconnect(Unknown Source)
	at jd.gui.swing.jdgui.settings.panels.reconnect.MethodSelection$2.run(MethodSelection.java:145)
23 02.02.12 10:42:03 - SEVERE [java_downloader] -> Error while parsing the xml string: 
<HSRC>

<STEP>
<REQUEST><![CDATA[
GET / HTTP/1.1
Host: %%%routerip%%%

]]></REQUEST>
<PARSE>
num:'hidden'.name='2'.value='(\d+)
</PARSE>
</STEP>]

<STEP>
<REQUEST><![CDATA[
POST /cgi/b/is/_pppoe_/dt/?be=0&l0=2&l1=2&name=Internet HTTP/1.1
Host: %%%routerip%%%

0=13&1=Internet&2=%%%num%%%&5=1
]]></REQUEST>
</STEP>

<STEP>
<REQUEST><![CDATA[
GET / HTTP/1.1
Host: %%%routerip%%%

]]></REQUEST>
<PARSE>
num:name='2'.value='(\d+)'></
</PARSE>
</STEP>]

<STEP>
<REQUEST><![CDATA[
POST /cgi/b/is/_pppoe_/dt/?be=0&l0=2&l1=2&name=Internet HTTP/1.1
Host: %%%routerip%%%

0=12&1=Internet&2=%%%num%%%&5=1
]]></REQUEST>
</STEP>

</HSRC>

23 02.02.12 10:42:03 - SEVERE [java_downloader] -> An error occured while processing the reconnect ... Terminating
23 02.02.12 10:42:03 - INFO [java_downloader] -> Reconnect failed!


Here is the Link to the whole Log File: http://jdownloader.org/pastebin/71540

hope this helps
Reply With Quote
  #44  
Old 02.02.2012, 12:41
Freeloader
Guest
 
Posts: n/a
Default

Damn my mistake sorry

Last edited by Freeloader; 02.02.2012 at 12:58.
Reply With Quote
  #45  
Old 02.02.2012, 13:00
Freeloader
Guest
 
Posts: n/a
Default

Try both of these again I made a mistake with the other ones

script 1

Spoiler:
Code:
[[[HSRC]]]

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

[[[STEP]]]
[[[REQUEST]]]
GET /cgi/b/bb/?be=0&l0=2&l1=-1 HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /cgi/b/is/?be=0&l0=2&l1=2 HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /cgi/b/is/_pppoe_/ov/?be=0&l0=2&l1=2&name=Internet HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /cgi/b/is/_pppoe_/dt/?be=0&l0=2&l1=2&name=Internet HTTP/1.1
Host: %%%routerip%%%

[[[/REQUEST]]]
[[[PARSE]]]
num:'hidden'.name='2'.value='(\d+)
[[[/PARSE]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
POST /cgi/b/is/_pppoe_/dt/?be=0&l0=2&l1=2&name=Internet HTTP/1.1
Host: %%%routerip%%%

0=13&1=Internet&2=%%%num%%%&5=1
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /cgi/b/is/_pppoe_/dt/?be=0&l0=2&l1=2&name=Internet HTTP/1.1
Host: %%%routerip%%%

[[[/REQUEST]]]
[[[PARSE]]]
num:name='2'.value='(\d+)'></
[[[/PARSE]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
POST /cgi/b/is/_pppoe_/dt/?be=0&l0=2&l1=2&name=Internet HTTP/1.1
Host: %%%routerip%%%

0=12&1=Internet&2=%%%num%%%&5=1
[[[/REQUEST]]]
[[[/STEP]]]

[[[/HSRC]]]



Script 2

Spoiler:
Code:
[[[HSRC]]]

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

[[[/REQUEST]]]
[[[PARSE]]]
num:'hidden'.name='2'.value='(\d+)
[[[/PARSE]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
POST /cgi/b/is/_pppoe_/dt/?be=0&l0=2&l1=2&name=Internet HTTP/1.1
Host: %%%routerip%%%

0=13&1=Internet&2=%%%num%%%&5=1
[[[/REQUEST]]]
[[[/STEP]]]

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

[[[/REQUEST]]]
[[[PARSE]]]
num:name='2'.value='(\d+)'></
[[[/PARSE]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
POST /cgi/b/is/_pppoe_/dt/?be=0&l0=2&l1=2&name=Internet HTTP/1.1
Host: %%%routerip%%%

0=12&1=Internet&2=%%%num%%%&5=1
[[[/REQUEST]]]
[[[/STEP]]]

[[[/HSRC]]]

Last edited by Freeloader; 02.02.2012 at 13:03.
Reply With Quote
  #46  
Old 02.02.2012, 15:47
Viper780
Guest
 
Posts: n/a
Arrow

First script Log:

Spoiler:
Code:
------------------------  Thread: 20  -----------------------
20 02.02.12 15:42:03 - INFO [java_downloader] -> Try to reconnect...
20 02.02.12 15:42:03 - INFO [java_downloader] -> Starting jd.controlling.reconnect.HTTPLiveHeader@65e2c646 #1
20 02.02.12 15:42:03 - SEVERE [java_downloader] -> 
<HSRC>

<STEP>
<REQUEST><![CDATA[
GET / HTTP/1.1
Host: %%%routerip%%%
]]></REQUEST>
</STEP>

<STEP>
<REQUEST><![CDATA[
GET /cgi/b/bb/?be=0&l0=2&l1=-1 HTTP/1.1
Host: %%%routerip%%%
]]></REQUEST>
</STEP>

<STEP>
<REQUEST><![CDATA[
GET /cgi/b/is/?be=0&l0=2&l1=2 HTTP/1.1
Host: %%%routerip%%%
]]></REQUEST>
</STEP>

<STEP>
<REQUEST><![CDATA[
GET /cgi/b/is/_pppoe_/ov/?be=0&l0=2&l1=2&name=Internet HTTP/1.1
Host: %%%routerip%%%
]]></REQUEST>
</STEP>

<STEP>
<REQUEST><![CDATA[
GET /cgi/b/is/_pppoe_/dt/?be=0&l0=2&l1=2&name=Internet HTTP/1.1
Host: %%%routerip%%%

]]></REQUEST>
<PARSE>
num:'hidden'.name='2'.value='(\d+)
</PARSE>
</STEP>

<STEP>
<REQUEST><![CDATA[
POST /cgi/b/is/_pppoe_/dt/?be=0&l0=2&l1=2&name=Internet HTTP/1.1
Host: %%%routerip%%%

0=13&1=Internet&2=%%%num%%%&5=1
]]></REQUEST>
</STEP>

<STEP>
<REQUEST><![CDATA[
GET /cgi/b/is/_pppoe_/dt/?be=0&l0=2&l1=2&name=Internet HTTP/1.1
Host: %%%routerip%%%

]]></REQUEST>
<PARSE>
num:name='2'.value='(\d+)'></
</PARSE>
</STEP>

<STEP>
<REQUEST><![CDATA[
POST /cgi/b/is/_pppoe_/dt/?be=0&l0=2&l1=2&name=Internet HTTP/1.1
Host: %%%routerip%%%

0=12&1=Internet&2=%%%num%%%&5=1
]]></REQUEST>
</STEP>

</HSRC>

EXCEPTION   20 02.02.12 15:42:03 - SEVERE [java_downloader] -> SEVERE Exception occurred
org.xml.sax.SAXParseException: The element type "PARSE" must be terminated by the matching end-tag "</PARSE>".
	at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
	at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
	at jd.utils.JDUtilities.parseXmlString(Unknown Source)
	at jd.controlling.reconnect.HTTPLiveHeader.runCommands(Unknown Source)
	at jd.controlling.reconnect.ReconnectMethod.doReconnectInteral(Unknown Source)
	at jd.controlling.reconnect.ReconnectMethod.doReconnect(Unknown Source)
	at jd.controlling.reconnect.Reconnecter.doReconnect(Unknown Source)
	at jd.controlling.reconnect.Reconnecter.doReconnectIfRequestedInternal(Unknown Source)
	at jd.controlling.reconnect.Reconnecter.doReconnectIfRequested(Unknown Source)
	at jd.controlling.reconnect.Reconnecter.waitForNewIP(Unknown Source)
	at jd.controlling.reconnect.Reconnecter.doManualReconnect(Unknown Source)
	at jd.gui.swing.jdgui.settings.panels.reconnect.MethodSelection$2.run(MethodSelection.java:145)
20 02.02.12 15:42:03 - SEVERE [java_downloader] -> Error while parsing the xml string: 
<HSRC>

<STEP>
<REQUEST><![CDATA[
GET / HTTP/1.1
Host: %%%routerip%%%
]]></REQUEST>
</STEP>

<STEP>
<REQUEST><![CDATA[
GET /cgi/b/bb/?be=0&l0=2&l1=-1 HTTP/1.1
Host: %%%routerip%%%
]]></REQUEST>
</STEP>

<STEP>
<REQUEST><![CDATA[
GET /cgi/b/is/?be=0&l0=2&l1=2 HTTP/1.1
Host: %%%routerip%%%
]]></REQUEST>
</STEP>

<STEP>
<REQUEST><![CDATA[
GET /cgi/b/is/_pppoe_/ov/?be=0&l0=2&l1=2&name=Internet HTTP/1.1
Host: %%%routerip%%%
]]></REQUEST>
</STEP>

<STEP>
<REQUEST><![CDATA[
GET /cgi/b/is/_pppoe_/dt/?be=0&l0=2&l1=2&name=Internet HTTP/1.1
Host: %%%routerip%%%

]]></REQUEST>
<PARSE>
num:'hidden'.name='2'.value='(\d+)
</PARSE>
</STEP>

<STEP>
<REQUEST><![CDATA[
POST /cgi/b/is/_pppoe_/dt/?be=0&l0=2&l1=2&name=Internet HTTP/1.1
Host: %%%routerip%%%

0=13&1=Internet&2=%%%num%%%&5=1
]]></REQUEST>
</STEP>

<STEP>
<REQUEST><![CDATA[
GET /cgi/b/is/_pppoe_/dt/?be=0&l0=2&l1=2&name=Internet HTTP/1.1
Host: %%%routerip%%%

]]></REQUEST>
<PARSE>
num:name='2'.value='(\d+)'></
</PARSE>
</STEP>

<STEP>
<REQUEST><![CDATA[
POST /cgi/b/is/_pppoe_/dt/?be=0&l0=2&l1=2&name=Internet HTTP/1.1
Host: %%%routerip%%%

0=12&1=Internet&2=%%%num%%%&5=1
]]></REQUEST>
</STEP>

</HSRC>

20 02.02.12 15:42:03 - SEVERE [java_downloader] -> An error occured while processing the reconnect ... Terminating
20 02.02.12 15:42:03 - INFO [java_downloader] -> Reconnect failed!


second script log

Spoiler:
Code:
------------------------  Thread: 12  -----------------------
12 02.02.12 15:45:09 - INFO [java_downloader] -> 

--------------------------------------Reconnect Testing-----------------------------------
12 02.02.12 15:45:09 - INFO [java_downloader] -> Start Reconnect

------------------------  Thread: 22  -----------------------
22 02.02.12 15:45:09 - INFO [java_downloader] -> Try to reconnect...
22 02.02.12 15:45:09 - INFO [java_downloader] -> Starting jd.controlling.reconnect.HTTPLiveHeader@3521a060 #1
22 02.02.12 15:45:09 - SEVERE [java_downloader] -> 
<HSRC>

<STEP>
<REQUEST><![CDATA[
GET / HTTP/1.1
Host: %%%routerip%%%

]]></REQUEST>
<PARSE>
num:'hidden'.name='2'.value='(\d+)
</PARSE>
</STEP>

<STEP>
<REQUEST><![CDATA[
POST /cgi/b/is/_pppoe_/dt/?be=0&l0=2&l1=2&name=Internet HTTP/1.1
Host: %%%routerip%%%

0=13&1=Internet&2=%%%num%%%&5=1
]]></REQUEST>
</STEP>

<STEP>
<REQUEST><![CDATA[
GET / HTTP/1.1
Host: %%%routerip%%%

]]></REQUEST>
<PARSE>
num:name='2'.value='(\d+)'></
</PARSE>
</STEP>

<STEP>
<REQUEST><![CDATA[
POST /cgi/b/is/_pppoe_/dt/?be=0&l0=2&l1=2&name=Internet HTTP/1.1
Host: %%%routerip%%%

0=12&1=Internet&2=%%%num%%%&5=1
]]></REQUEST>
</STEP>

</HSRC>

EXCEPTION   22 02.02.12 15:45:09 - SEVERE [java_downloader] -> SEVERE Exception occurred
org.xml.sax.SAXParseException: The element type "PARSE" must be terminated by the matching end-tag "</PARSE>".
	at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
	at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
	at jd.utils.JDUtilities.parseXmlString(Unknown Source)
	at jd.controlling.reconnect.HTTPLiveHeader.runCommands(Unknown Source)
	at jd.controlling.reconnect.ReconnectMethod.doReconnectInteral(Unknown Source)
	at jd.controlling.reconnect.ReconnectMethod.doReconnect(Unknown Source)
	at jd.controlling.reconnect.Reconnecter.doReconnect(Unknown Source)
	at jd.controlling.reconnect.Reconnecter.doReconnectIfRequestedInternal(Unknown Source)
	at jd.controlling.reconnect.Reconnecter.doReconnectIfRequested(Unknown Source)
	at jd.controlling.reconnect.Reconnecter.waitForNewIP(Unknown Source)
	at jd.controlling.reconnect.Reconnecter.doManualReconnect(Unknown Source)
	at jd.gui.swing.jdgui.settings.panels.reconnect.MethodSelection$2.run(MethodSelection.java:145)
22 02.02.12 15:45:09 - SEVERE [java_downloader] -> Error while parsing the xml string: 
<HSRC>

<STEP>
<REQUEST><![CDATA[
GET / HTTP/1.1
Host: %%%routerip%%%

]]></REQUEST>
<PARSE>
num:'hidden'.name='2'.value='(\d+)
</PARSE>
</STEP>

<STEP>
<REQUEST><![CDATA[
POST /cgi/b/is/_pppoe_/dt/?be=0&l0=2&l1=2&name=Internet HTTP/1.1
Host: %%%routerip%%%

0=13&1=Internet&2=%%%num%%%&5=1
]]></REQUEST>
</STEP>

<STEP>
<REQUEST><![CDATA[
GET / HTTP/1.1
Host: %%%routerip%%%

]]></REQUEST>
<PARSE>
num:name='2'.value='(\d+)'></
</PARSE>
</STEP>

<STEP>
<REQUEST><![CDATA[
POST /cgi/b/is/_pppoe_/dt/?be=0&l0=2&l1=2&name=Internet HTTP/1.1
Host: %%%routerip%%%

0=12&1=Internet&2=%%%num%%%&5=1
]]></REQUEST>
</STEP>

</HSRC>

22 02.02.12 15:45:09 - SEVERE [java_downloader] -> An error occured while processing the reconnect ... Terminating
22 02.02.12 15:45:09 - INFO [java_downloader] -> Reconnect failed!


both don't work and nothing in the log of the router
Reply With Quote
  #47  
Old 02.02.2012, 15:55
Freeloader
Guest
 
Posts: n/a
Default

visit support chat please and lets do teamviewer
Reply With Quote
  #48  
Old 02.02.2012, 16:09
Freeloader
Guest
 
Posts: n/a
Default

Im in chat channel right now will be ther for a few more hours
Reply With Quote
  #49  
Old 02.02.2012, 16:54
Viper780
Guest
 
Posts: n/a
Default

one moment plz

i've to install an irc client and teamviwer
Reply With Quote
  #50  
Old 02.02.2012, 17:01
Freeloader
Guest
 
Posts: n/a
Default

u dont need irc client just join with the jd chat addon supports irc protocol
Reply With Quote
  #51  
Old 02.02.2012, 21:42
Freeloader
Guest
 
Posts: n/a
Default

viper780 and I created this method for you guys who were struggling with the thompson script, you can also try out the perl method provided by the thread starter, located on the previous pages.

Before you get started You have to enable telnet on your operating system or this will not work

So heres your guide:

1. First download the attachment telnet.rar

2. Extract telnet.rar contents to JDownloader folder (tst10.exe and telnet.txt)

3. Open telnet.txt you will see this:
Code:
Yourrouterip
WAIT "Username :"
SEND "yourrouterusername\m"
WAIT "Password :"
SEND "yourrouterpassword\m"
WAIT "=>"
SEND "ppp ifdetach intf=Internet\m"
WAIT "=>"
SEND "ping proto=ip addr=yourrouterip count=20 interval(ms)=1000\m"
WAIT "=>"
SEND "ppp ifattach intf=Internet\m"
WAIT "=>"
SEND "exit\m"
replace yourrouterip with your own router ip adress ex: 192.168.0.1 replace routerusername with your own username ex: Admin. Replace routerpassword with your own router password ex: 1234 so at the end all will look like this

Code:
192.168.0.1
WAIT "Username :"
SEND "Admın\m"
WAIT "Password :"
SEND "1234\m"
WAIT "=>"
SEND "ppp ifdetach intf=Internet\m"
WAIT "=>"
SEND "ping proto=ip addr=192.168.0.1 count=20 interval(ms)=1000\m"
WAIT "=>"
SEND "ppp ifattach intf=Internet\m"
WAIT "=>"
SEND "exit\m"
save the file

4. Right click on tst10.exe and create a shortcut > after you've created the shortcut right click on the shortcut and select properties and add this where it sais target /r:telnet.txt /o:OUT





4. Now goto JDownloader reconnection settings and integrate the tst10 shortcut as a external method.


The End


..........................................................................
Final notes:

A script was also created for this router but since the router uses a session ID it was not possible to get it to work after the system and router was rebooted, perhaps in the future we\I might be able to find a way for JD script format to read cookie sessions, until then please use the telnet method which works %100 perfectly.

I've added the script for this router as well, please keep in mind that this will not function unless the proper cookie session is set within the script.
Spoiler:
Code:
[[[HSRC]]]

[[[STEP]]]
[[[REQUEST]]]
POST /login.lp HTTP/1.1
Host: %%%routerip%%%
Connection: keep-alive
Referer: **External links are only visible to Support Staff**
Cookie: xAuth_SESSION_ID=VUxOPFoOGA7cTuxUxIQ8nwA=
Content-Type: application/x-www-form-urlencoded
Content-Length: 80

rn=VUxOPFoOGA7cTuxUxIQ8nwA%3D&hidepw=c738ef4675dbba7c84b97e9ef01ee6d4&user=root2
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET / HTTP/1.1
Host: %%%routerip%%%
Connection: keep-alive
Referer: **External links are only visible to Support Staff**
Cookie: xAuth_SESSION_ID=VUxOPFoOGA7cTuxUxIQ8nwA=

[[[/REQUEST]]]
[[[PARSE]]]
num:'hidden'.name='2'.value='(\d+)
[[[/PARSE]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
POST /?be=0&l0=-1&l1=-1 HTTP/1.1
Host: %%%routerip%%%
Connection: keep-alive
Referer: **External links are only visible to Support Staff**
Cookie: xAuth_SESSION_ID=VUxOPFoOGA7cTuxUxIQ8nwA=
Content-Type: application/x-www-form-urlencoded
Content-Length: 32

0=13&1=Internet&2=%%%num%%%&5=1
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET / HTTP/1.1
Host: %%%routerip%%%
Connection: keep-alive
Referer: **External links are only visible to Support Staff**
Cookie: xAuth_SESSION_ID=VUxOPFoOGA7cTuxUxIQ8nwA=

[[[/REQUEST]]]
[[[PARSE]]]
num:'hidden'.name='2'.value='(\d+)
[[[/PARSE]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
POST /?be=0&l0=-1&l1=-1 HTTP/1.1
Host: %%%routerip%%%
Connection: keep-alive
Referer: **External links are only visible to Support Staff**
Cookie: xAuth_SESSION_ID=VUxOPFoOGA7cTuxUxIQ8nwA=
Content-Type: application/x-www-form-urlencoded
Content-Length: 31

0=12&1=Internet&2=%%%num%%%&5=1
[[[/REQUEST]]]
[[[/STEP]]]
[[[/HSRC]]]
Attached Thumbnails
2.jpg  
Attached Files
File Type: rar telnet.rar (162.7 KB, 318 views)

Last edited by Freeloader; 02.02.2012 at 22:48.
Reply With Quote
  #52  
Old 03.02.2012, 13:28
remi
Guest
 
Posts: n/a
Default

Great work!
Reply With Quote
  #53  
Old 03.02.2012, 14:01
Viper780
Guest
 
Posts: n/a
Default

Yes Freeloader has many good ideas and is very capable.

I've to say that this works on an Thomson Gateway TG789vn
Software Release: 8.4.3.H and Boot Loader Version: 1.0.5
Product Code: 36592630 Board Name: CANT-4
The account is an Administrater and root account

Firmeware is open and neverlocked. It is an Premium Demo Version from Thomson from here **External links are only visible to Support Staff****External links are only visible to Support Staff** (there you can also find some configurations)

So if there is any problem than maybe because your account haven't enought rights, on your tirmeware or config the commands will differ. Especially the Interfdacename would be an other one "intf=Internet" .

If some one wonders what this means:
"SEND "ping proto=ip addr=yourrouterip count=20 interval(ms)=1000" "
For my ISP a simple reconnect wouldn't give me an other IP, i've to be offline for about 20sec and thats a simple waiting stage. You could try a smaller or higher Number.
interval(ms)= is the time how long "ping" is waiting between to requests. so 1000 means it waits 1000ms (= 1sec )
count= is simple how often an ping is send. here 20 times with 1sec between => 20 sec waiting.

So if your Router won't get an other IP Adress try higher Numbers (e.g. count=60 to wait 1 minute), if your ISP gives you an new IP adress on every reconnect than you could test it with count=1 and remove the Line (incl. the WAIT Line afterwards)

\m stands for "CR+LF" or simple an enter

The WAIT Lines are only for an readable Output, it means the script waits so long till it become from the Router an Line back with the Symbols given

i hope this makes it a bit clearer and helps you troubleshooting
Reply With Quote
  #54  
Old 03.02.2012, 19:09
Freeloader
Guest
 
Posts: n/a
Default

@Viper780 can u please test the reconnection script after JDownloaders new verison is released ? I think it will work because I spoke to jiaz today and he said that the new version will forward the cookies automatically so this is great news. So please test it after the new version is out.

take care,
Reply With Quote
  #55  
Old 03.02.2012, 20:43
Viper780
Guest
 
Posts: n/a
Default

sure i'll test it, when will the new version be released?
Reply With Quote
  #56  
Old 03.02.2012, 20:47
Freeloader
Guest
 
Posts: n/a
Default

no ETA yet probably this month not sure.

The cookie is created auto at the beginning of the login procedure the problem with current jd is that it cant forward this. So make sure you delete the cookie lines when testing the script or it wont work at all.

see ya,
Reply With Quote
  #57  
Old 23.02.2012, 16:55
michl70
Guest
 
Posts: n/a
Default

hello,

it`s my first posting, i fix the TG789VN reconnect problem with the old TG585v7 script. in this case for linux OS!

first the TG789VN must have a open firmware, i have installed the netherlands firmware with the wizzard tool. with FTP i put the user.ini to the TG789VN and restart it.

in this user.ini you can setup the connection name .. like aINTERNET for ADSL or vINTERNET for VDSL (A1 Austrian Telekom)

the name in my user.ini is aINTERNET .. the problem is the A1 Telekom firmware is totaly blocked at the CLI .. only a handfull commands works but no commands like "ppp" thats why you have to install the netherlands firmware ..

and now open JD like this picture



the script name is "reset" .. i wrote it with "vi"

Quote:
#!/bin/bash
# Rebootscript für THOMSON TG789vn
(
sleep 2
echo -e "\r"
sleep 2
echo -e "\r"
sleep 2
echo -e "ppp ifdetach intf=aINTERNET\r"
sleep 2
echo -e "ppp ifattach intf=aINTERNET\r"
sleep 2
echo -e "exit\r"
) | telnet 10.0.0.138 > /dev/null 2>&1
thats all, works fine with linux.
Reply With Quote
  #58  
Old 08.05.2012, 05:45
totalxp
Guest
 
Posts: n/a
Default

:S This is my router information:

Software Release: 8.4.3.U

Boot Loader Version: 1.1.2

Product Code: 3669369A

Board Name: CANT-4

Any help, i tried with Telnet solution (i know that version restriction) and didn't work.
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 01:13.
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.