Hello,
does someone else use JDownloader here?
I ask, because in JDownloader it is possible to add scripts for automatic reconnect (for filehosters like rapidshare, etc.). However I don't know how to write such a script for a reconnect of the RT FW, also there are several options for the script see here:
(LiveHeader/Curl, Extern, Batch, CLR Script).
So does anybody has already such a script or can help me to write one?
Thanks
famrt
Routertech Reconnect Script for JDownloader
Re: Routertech Reconnect Script for JDownloader
Have a search of the forums, it has been discussed before - for PPPoA connections all you need to do is login over telnet and "killall pppd", PPPoE connections are harder.
Re: Routertech Reconnect Script for JDownloader
Ah, you men this Thread: JDownloader script for Routertech firmware is the info still valid (because its from 2010)?mstombs wrote:Have a search of the forums, it has been discussed before - for PPPoA connections all you need to do is login over telnet and "killall pppd", PPPoE connections are harder.
So would this still work?:
Code: Select all
-------------------Telnet Scripter script for PPPoE (reconnect_IPv4.txt)
# IP address and telnet port
HOST 192.168.1.1 23
# login
# user name
WAIT "login"
SEND "root\n"
# password
WAIT "Password"
SEND "Admin\n"
WAIT "#"
# Stop connection
SEND "echo \"begin;connection0:pppoe:command/stop=1;end\" | cm_cli_tty\n"
WAIT "#"
DELAY 2
# Start connection
SEND "echo \"begin;connection0:pppoe:command/start=1;end\" | cm_cli_tty\n"
WAIT "#"
DELAY 2
- thechief
- RouterTech Team
- Posts: 12067
- Joined: Wed Feb 01, 2006 10:22 pm
- Location: England, the Centre of Africa
- Contact:
Re: Routertech Reconnect Script for JDownloader
Have you tried it?
The Chief: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
No support via PM. Ask all questions on the open forum.
Re: Routertech Reconnect Script for JDownloader
I don't have a valid script now due to I don't use a RT Router in this moment and I have lost my old script, but using the JD wizard I was able to create a script to reconnect the adsl to obtain a new ip when needed.
Bye, Carlo.
Bye, Carlo.
- thechief
- RouterTech Team
- Posts: 12067
- Joined: Wed Feb 01, 2006 10:22 pm
- Location: England, the Centre of Africa
- Contact:
Re: Routertech Reconnect Script for JDownloader
This this (or a variant of it):
Code: Select all
HOST 192.168.1.1 23
WAIT "login"
SEND "root\n"
WAIT "Password"
SEND "Admin\n"
WAIT "#"
SEND "/usr/local/bin/ppp_restore.sh\n"
WAIT "#"
DELAY 2
The Chief: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
No support via PM. Ask all questions on the open forum.