JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 30.10.2010, 01:24
Admc
Guest
 
Posts: n/a
Default [SOLVED] Edimax AR-7284WnA

Hello, I can't make working reconnect scrpit for this router, I tried to record a LiveHeader/Curl scrpit like on this tutorial: **External links are only visible to Support Staff****External links are only visible to Support Staff**

Someone can send me working scrpit or tell me what I'm doing wrong?

This is script that I generated:
Spoiler:
Code:
[[[HSRC]]]
    [[[STEP]]]

        [[[REQUEST]]]

        GET / HTTP/1.1

        Host: %%%routerip%%%

        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]

        [[[REQUEST]]]

        GET /cgi-bin/webproc HTTP/1.1

        Host: %%%routerip%%%

        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]

        [[[REQUEST]]]

        GET /html/languages/en_us/main.js HTTP/1.1

        Host: %%%routerip%%%

        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]

        [[[REQUEST]]]

        GET /html/languages/en_us/error.js HTTP/1.1

        Host: %%%routerip%%%

        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]

        [[[REQUEST]]]

        GET /html/js/boot.js HTTP/1.1

        Host: %%%routerip%%%

        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]

        [[[REQUEST]]]

        POST /cgi-bin/webproc HTTP/1.1

        Host: %%%routerip%%%



getpage=html%2Findex.html&errorpage=html%2Fmain.html&var%3Amenu=setup&var%3Apage=wizard&obj-action=auth&%3Ausername=admin&%3Apassword=****(replaced_by_me)&%3Aaction=login&%3Asessionid=6ff6cccc

        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]

        [[[REQUEST]]]

        GET /cgi-bin/webproc?getpage=html/index.html&errorpage=html/main.html&var:language=en_us&var:menu=setup&var:page=wizard HTTP/1.1

        Host: %%%routerip%%%

        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]

        [[[REQUEST]]]

        GET /html/languages/en_us/error.js?v=trunkr3636 HTTP/1.1

        Host: %%%routerip%%%

        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]

        [[[REQUEST]]]

        GET /html/languages/en_us/page/wizard.js?v=trunkr3636 HTTP/1.1

        Host: %%%routerip%%%

        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]

        [[[REQUEST]]]

        GET /html/languages/en_us/menu.js?v=trunkr3636 HTTP/1.1

        Host: %%%routerip%%%

        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]

        [[[REQUEST]]]

        GET /html/js/secboot.js?v=trunkr3636 HTTP/1.1

        Host: %%%routerip%%%

        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]

        [[[REQUEST]]]

        GET /html/js/boot.js?v=trunkr3636 HTTP/1.1

        Host: %%%routerip%%%

        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]

        [[[REQUEST]]]

        GET /cgi-bin/webproc?getpage=html/index.html&var:menu=setup&var:page=wancfg HTTP/1.1

        Host: %%%routerip%%%

        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]

        [[[REQUEST]]]

        GET /html/languages/en_us/error.js?v=trunkr3636 HTTP/1.1

        Host: %%%routerip%%%

        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]

        [[[REQUEST]]]

        GET /html/languages/en_us/menu.js?v=trunkr3636 HTTP/1.1

        Host: %%%routerip%%%

        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]

        [[[REQUEST]]]

        GET /html/js/secboot.js?v=trunkr3636 HTTP/1.1

        Host: %%%routerip%%%

        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]

        [[[REQUEST]]]

        GET /html/js/boot.js?v=trunkr3636 HTTP/1.1

        Host: %%%routerip%%%

        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]

        [[[REQUEST]]]

        GET /html/languages/en_us/page/wancfg.js?v=trunkr3636 HTTP/1.1

        Host: %%%routerip%%%

        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]

        [[[REQUEST]]]

        POST /cgi-bin/webproc HTTP/1.1

        Host: %%%routerip%%%



var%3Aconn_type=PPP&var%3AsecIdx=1&var%3AthdIdx=1&var%3Amenu=setup&var%3Apage=wancfg&var%3Asubpage=wanadsl&getpage=html%2Findex.html&errorpage=html%2Findex.html

        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]

        [[[REQUEST]]]

        GET /cgi-bin/webproc?getpage=html/index.html&errorpage=html/index.html&var:language=en_us&var:conn_type=PPP&var:secIdx=1&var:thdIdx=1&var:menu=setup&var:page=wancfg&var:subpage=wanadsl HTTP/1.1

        Host: %%%routerip%%%

        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]

        [[[REQUEST]]]

        GET /html/languages/en_us/error.js?v=trunkr3636 HTTP/1.1

        Host: %%%routerip%%%

        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]

        [[[REQUEST]]]

        GET /html/languages/en_us/menu.js?v=trunkr3636 HTTP/1.1

        Host: %%%routerip%%%

        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]

        [[[REQUEST]]]

        GET /html/js/boot.js?v=trunkr3636 HTTP/1.1

        Host: %%%routerip%%%

        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]

        [[[REQUEST]]]

        GET /html/languages/en_us/page/wanadsl.js?v=trunkr3636 HTTP/1.1

        Host: %%%routerip%%%

        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]

        [[[REQUEST]]]

        GET /html/js/secboot.js?v=trunkr3636 HTTP/1.1

        Host: %%%routerip%%%

        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]

        [[[REQUEST]]]

        POST /cgi-bin/webproc HTTP/1.1

        Host: %%%routerip%%%



obj-action=set&var%3Amenu=setup&var%3Apage=wancfg&var%3Aerrorpage=wanadsl&var%3Aconn_type=PPP&var%3AsecIdx=1&var%3AthdIdx=1&getpage=html%2Findex.html&errorpage=html%2Findex.html&%3AInternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANDSLLinkConfig.Enable=1&%3AInternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANDSLLinkConfig.DestinationAddress=0%2F34&%3AInternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANDSLLinkConfig.ATMQoS=UBR&%3AInternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANDSLLinkConfig.ATMEncapsulation=LLC&%3AInternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANDSLLinkConfig.LinkType=EoA&%3AInternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.X_TWSZ-COM_VLANID=0&%3AInternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANDSLLinkConfig.ATMPeakCellRate=0&%3AInternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANDSLLinkConfig.ATMSustainableCellRate=0&%3AInternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANDSLLinkConfig.ATMMaximumBurstSize=0&%3AInternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.NATEnabled=1&%3AInternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.Enable=1&%3AInternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.Name=pppoe_0_34_0_0&%3AInternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.Username=*******&%3AInternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.PPPAuthenticationProtocol=Auto&%3AInternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.ConnectionTrigger=AlwaysOn&%3AInternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.MaxMRUSize=1492&%3AInternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.PPPLCPEchoRetry=10&%3AInternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.X_TWSZ-COM_StaticIPAddress=

        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]

        [[[REQUEST]]]

        GET /cgi-bin/webproc?getpage=html/index.html&errorpage=html/index.html&var:language=en_us&var:menu=setup&var:page=wancfg&var:errorpage=wanadsl&var:conn_type=PPP&var:secIdx=1&var:thdIdx=1 HTTP/1.1

        Host: %%%routerip%%%

        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]

        [[[REQUEST]]]

        GET /html/languages/en_us/error.js?v=trunkr3636 HTTP/1.1

        Host: %%%routerip%%%

        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]

        [[[REQUEST]]]

        GET /html/languages/en_us/menu.js?v=trunkr3636 HTTP/1.1

        Host: %%%routerip%%%

        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]

        [[[REQUEST]]]

        GET /html/languages/en_us/page/wancfg.js?v=trunkr3636 HTTP/1.1

        Host: %%%routerip%%%

        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]

        [[[REQUEST]]]

        GET /html/js/secboot.js?v=trunkr3636 HTTP/1.1

        Host: %%%routerip%%%

        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]

        [[[REQUEST]]]

        GET /html/js/boot.js?v=trunkr3636 HTTP/1.1

        Host: %%%routerip%%%

        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]

        [[[REQUEST]]]

        POST /cgi-bin/webproc HTTP/1.1

        Host: %%%routerip%%%



var%3Aconn_type=PPP&var%3AsecIdx=1&var%3AthdIdx=1&var%3Amenu=setup&var%3Apage=wancfg&var%3Asubpage=wanadsl&getpage=html%2Findex.html&errorpage=html%2Findex.html

        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]

        [[[REQUEST]]]

        GET /cgi-bin/webproc?getpage=html/index.html&errorpage=html/index.html&var:language=en_us&var:conn_type=PPP&var:secIdx=1&var:thdIdx=1&var:menu=setup&var:page=wancfg&var:subpage=wanadsl HTTP/1.1

        Host: %%%routerip%%%

        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]

        [[[REQUEST]]]

        GET /html/languages/en_us/error.js?v=trunkr3636 HTTP/1.1

        Host: %%%routerip%%%

        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]

        [[[REQUEST]]]

        GET /html/languages/en_us/menu.js?v=trunkr3636 HTTP/1.1

        Host: %%%routerip%%%

        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]

        [[[REQUEST]]]

        GET /html/languages/en_us/page/wanadsl.js?v=trunkr3636 HTTP/1.1

        Host: %%%routerip%%%

        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]

        [[[REQUEST]]]

        GET /html/js/boot.js?v=trunkr3636 HTTP/1.1

        Host: %%%routerip%%%

        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]

        [[[REQUEST]]]

        GET /html/js/secboot.js?v=trunkr3636 HTTP/1.1

        Host: %%%routerip%%%

        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]

        [[[REQUEST]]]

        POST /cgi-bin/webproc HTTP/1.1

        Host: %%%routerip%%%



obj-action=set&var%3Amenu=setup&var%3Apage=wancfg&var%3Aerrorpage=wanadsl&var%3Aconn_type=PPP&var%3AsecIdx=1&var%3AthdIdx=1&getpage=html%2Findex.html&errorpage=html%2Findex.html&%3AInternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANDSLLinkConfig.Enable=1&%3AInternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANDSLLinkConfig.DestinationAddress=0%2F35&%3AInternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANDSLLinkConfig.ATMQoS=UBR&%3AInternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANDSLLinkConfig.ATMEncapsulation=LLC&%3AInternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANDSLLinkConfig.LinkType=EoA&%3AInternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.X_TWSZ-COM_VLANID=0&%3AInternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANDSLLinkConfig.ATMPeakCellRate=0&%3AInternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANDSLLinkConfig.ATMSustainableCellRate=0&%3AInternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANDSLLinkConfig.ATMMaximumBurstSize=0&%3AInternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.NATEnabled=1&%3AInternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.Enable=1&%3AInternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.Name=pppoe_0_35_0_0&%3AInternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.Username=*******&%3AInternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.PPPAuthenticationProtocol=Auto&%3AInternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.ConnectionTrigger=AlwaysOn&%3AInternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.MaxMRUSize=1492&%3AInternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.PPPLCPEchoRetry=10&%3AInternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.X_TWSZ-COM_StaticIPAddress=

        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]

        [[[REQUEST]]]

        GET /cgi-bin/webproc?getpage=html/index.html&errorpage=html/index.html&var:language=en_us&var:menu=setup&var:page=wancfg&var:errorpage=wanadsl&var:conn_type=PPP&var:secIdx=1&var:thdIdx=1 HTTP/1.1

        Host: %%%routerip%%%

        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]

        [[[REQUEST]]]

        GET /html/languages/en_us/error.js?v=trunkr3636 HTTP/1.1

        Host: %%%routerip%%%

        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]

        [[[REQUEST]]]

        GET /html/languages/en_us/menu.js?v=trunkr3636 HTTP/1.1

        Host: %%%routerip%%%

        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]

        [[[REQUEST]]]

        GET /html/languages/en_us/page/wancfg.js?v=trunkr3636 HTTP/1.1

        Host: %%%routerip%%%

        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]

        [[[REQUEST]]]

        GET /html/js/secboot.js?v=trunkr3636 HTTP/1.1

        Host: %%%routerip%%%

        [[[/REQUEST]]]

    [[[/STEP]]]


    [[[STEP]]]

        [[[REQUEST]]]

        GET /html/js/boot.js?v=trunkr3636 HTTP/1.1

        Host: %%%routerip%%%

        [[[/REQUEST]]]

    [[[/STEP]]]


[[[/HSRC]]]
    [[[STEP]]]

        [[[REQUEST]]]

        GET /cgi-bin/webproc?getpage=html/index.html&errorpage=html/index.html&var:language=en_us&var:menu=setup&var:page=wancfg&var:errorpage=wanadsl&var:conn_type=PPP&var:secIdx=1&var:thdIdx=1 HTTP/1.1

        Host: %%%routerip%%%

        [[[/REQUEST]]]

    [[[/STEP]]]

Last edited by Admc; 30.10.2010 at 11:40.
Reply With Quote
  #2  
Old 30.10.2010, 08:14
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 part of the script concerns me: "sessionid=6ff6cccc"
Please record the script again, so we can compare these. If they are different, we will have to use special techniques to provide the correct sessionid.

Please start JDownloader as in General Discussion -> Self Help Index -> Posting an emergency log. Then, record your script and try the Change IP button.

When you are finished with trying to change the IP, if it does not work, copy that script to a file. Record a script again with the Raw Mode check-box ticked. and try the Change IP button. Also copy this script to a different file.

If your reconnect is still not working, please exit JDownloader and make an archive from the scripts you have recorded and the two txt files that are part of the emergency Log.

Attach the archive to a message in this thread.

That should provide enough information to see exactly what is happening.
Reply With Quote
  #3  
Old 30.10.2010, 11:40
Admc
Guest
 
Posts: n/a
Default

Hello again,
I noticed that sessionid is always the same.
I just have to record in raw mode and it does work now.
Thanks so much for great support

I can't provide working script because everyone have other username and password provided by ISP. The script I made is not reseting whole router, it's just changing the vpc value to 34 and router disconnect, after this it's changing it to 35 again and router is connecting. It took about 20 seconds to restart, restarting whole router took about one and half minute.
Reply With Quote
  #4  
Old 30.10.2010, 14:41
remi
Guest
 
Posts: n/a
Default

I can understand the password issue, but can't you just substitute your password information for some place holders, like PASSWORD-HERE?
Reply With Quote
  #5  
Old 31.10.2010, 01:30
Admc
Guest
 
Posts: n/a
Default

Script that I recorder is changing VPC value, every ISP have other VPC value. It can modify VPI, Protocol, Encapsulation Mode, PPP Username and password and MRU Size, if your ISP isn't Netia S.A.

I think it will be better when everyone record script by yourself, because if you use my script you'd have to reconfigure your connection settings.

Last edited by Admc; 31.10.2010 at 01:33.
Reply With Quote
  #6  
Old 01.11.2010, 04:56
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

@ Admc,
Changing the vpc is a great idea. It forces reconnection of the ADSL without having to restart the router.

@ ALL
When you post a script, you replace your password with %%%pass%%% and %%%name%%%. JDownloader will automatically substitute the information from the Router settings into these place-holders.
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 22:01.
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.