!gm
31-10-2009, 05:07
(the original HowTo was created by FastJack and is also available in German: http://wl500g.info/showthread.php?p=166837#post166837)
but, since there is the ipk - its much easier.. :D
http://img1.abload.de/img/pyload-logo-edited3.5-l3oa.png (http://pyload.org)
pyLoad is a free and open source downloader for 1-click-hosting sites like rapidshare.com or uploaded.to.
Link-Crypt services like lix.in as well as the Link-Container Files RSDF, CCF and DLC are also supported.
This HowTo will show, how to install and configure pyLoad an your Asus router.
1. requirements
You will need a wengi-like configured oleg firmware or later (or any other system where you can install Python)
and the packages below:
ipkg install ossp-js
iokg install tesseract-ocr-lang-eng
ipkg install tesseract-ocr
ipkg install unrar
ipkg install wget-ssl
2. download pyload
wget http://get.pyload.org/static/pyload-v0.4.8-noarch.ipk
3. install pyload
ipkg install pyload-v0.4.8-noarch.ipk
Some packages will be installed too, python for example.
4. configure pyload
From now on you don't need to change any xml anymore, as pyLoad provides a nice assistant and the config tab on the WebIF. :cool:
At first just run the pyLoadCore in setup-mode.
pyLoadCore -s
Here you edit pyLoads config for your personal needs. (mostly self explaining)
at least define IP and PORT of the Webinterface. The buildin WebIF has an issue, use the threaded.
If you want to use the reconnect capability you need to create the reconnect-script, this can vary depending on your environment.
In this example we're assuming the WL-500G is establishing the internet connection at itself.
Create the reconnect.sh with the following content:
reconnect.sh
#!/bin/sh
killall -1 pppd >/dev/null 2>&1
sleep 5s
ping -c 1 www.heise.de >/dev/null 2>&1
and make it executable:
chmod +x reconnect.sh
Use the path to this file in settings/reconnect tab.
5. Start-Stop Script
cd /opt/etc/init.d
nano S90pyloadstart
insert this:
#!/bin/sh
prefix="/opt"
PATH=${prefix}/bin:${prefix}/sbin:/sbin:/bin:/usr/sbin:/usr/bin
start() {
echo "starting pyLoad"
pyLoadCore --daemon
}
stop() {
echo "stopping pyLoad"
pyLoadCore --status | xargs kill -9
}
status() {
pyLoadCore --status
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
stop
sleep 4
start
;;
status) status
;;
*)
echo "Usage: $0 (start|stop|restart|status)"
exit 1
;;
esac
exit 0
make executable:
chmod +x /opt/etc/init.d/S90pyloadstart
For further configurations such as download times etc. use the Webinterface on the address : port you've defined.
If you'll get any errors use this thread or consult the pyload-devs on their site.
Thats it :)
Support the pyLoad guys and enjoy http://pyload.org/
up2date
gm
but, since there is the ipk - its much easier.. :D
http://img1.abload.de/img/pyload-logo-edited3.5-l3oa.png (http://pyload.org)
pyLoad is a free and open source downloader for 1-click-hosting sites like rapidshare.com or uploaded.to.
Link-Crypt services like lix.in as well as the Link-Container Files RSDF, CCF and DLC are also supported.
This HowTo will show, how to install and configure pyLoad an your Asus router.
1. requirements
You will need a wengi-like configured oleg firmware or later (or any other system where you can install Python)
and the packages below:
ipkg install ossp-js
iokg install tesseract-ocr-lang-eng
ipkg install tesseract-ocr
ipkg install unrar
ipkg install wget-ssl
2. download pyload
wget http://get.pyload.org/static/pyload-v0.4.8-noarch.ipk
3. install pyload
ipkg install pyload-v0.4.8-noarch.ipk
Some packages will be installed too, python for example.
4. configure pyload
From now on you don't need to change any xml anymore, as pyLoad provides a nice assistant and the config tab on the WebIF. :cool:
At first just run the pyLoadCore in setup-mode.
pyLoadCore -s
Here you edit pyLoads config for your personal needs. (mostly self explaining)
at least define IP and PORT of the Webinterface. The buildin WebIF has an issue, use the threaded.
If you want to use the reconnect capability you need to create the reconnect-script, this can vary depending on your environment.
In this example we're assuming the WL-500G is establishing the internet connection at itself.
Create the reconnect.sh with the following content:
reconnect.sh
#!/bin/sh
killall -1 pppd >/dev/null 2>&1
sleep 5s
ping -c 1 www.heise.de >/dev/null 2>&1
and make it executable:
chmod +x reconnect.sh
Use the path to this file in settings/reconnect tab.
5. Start-Stop Script
cd /opt/etc/init.d
nano S90pyloadstart
insert this:
#!/bin/sh
prefix="/opt"
PATH=${prefix}/bin:${prefix}/sbin:/sbin:/bin:/usr/sbin:/usr/bin
start() {
echo "starting pyLoad"
pyLoadCore --daemon
}
stop() {
echo "stopping pyLoad"
pyLoadCore --status | xargs kill -9
}
status() {
pyLoadCore --status
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
stop
sleep 4
start
;;
status) status
;;
*)
echo "Usage: $0 (start|stop|restart|status)"
exit 1
;;
esac
exit 0
make executable:
chmod +x /opt/etc/init.d/S90pyloadstart
For further configurations such as download times etc. use the Webinterface on the address : port you've defined.
If you'll get any errors use this thread or consult the pyload-devs on their site.
Thats it :)
Support the pyLoad guys and enjoy http://pyload.org/
up2date
gm