OpenWRT Reconnect via LiveHeader method
This script should be able to trigger a reconnect for all routers running OpenWRT software.
- Install this script on your OpenWRT router: https://github.com/matthiasr/openwrt-reconnect
- In JDownloader go to Settings -> Reconnect -> LiveHeader -> New Script -> Edit Script -> Paste this:
Leave the username- and password fields in JDownloader blank.
[[[HSRC]]]
[[[STEP]]]
[[[REQUEST]]]
GET / HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]
[[[STEP]]]
[[[REQUEST]]]
GET /cgi-bin/reconnect HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]
[[[STEP]]]
[[[REQUEST]]]
GET /cgi-bin/reconnect?go HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]
[[[/HSRC]]]
Click the Test button on the right side to test if this has worked.
Credits: https://gist.github.com/the4anoni/f78e97e5574320a686dcd64438b0a8a0
|