TeHashX
Very Senior Member
New site with updated guide
After many requests, I made this tutorial for pyload entware version, works on the following routers: RT-AC66U/R, RT-N66U/R, RT-N16
We need a usb-flash formatted EXT2 or a usb-hdd formated EXT3, will not work on FAT32 or NTFS.
1) - Setup entware, details here: http://www.hqt.ro/how-to-install-entware/
2) - Login to router with putty terminal and copy/paste the following commands
3) - Change the default configuration-directory
Press ENTER once to confirm the path and once again ENTER to exit the dialog.
4) - Generate ssl keys, you have to input data required... or just press ENTER and fields will remains blanks
5) - Go to installation-process, just hit ENTER key, change username, password and port or leave it 8000
6) - Start the server with
7) - Go to 192.168.1.1:8000 (this is the default router ip, modify to your router ip if you change it previously) and happy downloading...
8) - After login, if you receive the message: Plugins updated, please restart!, restart pyload with:
TO ACCESS PYLOAD FROM WAN
Please post a feedback here if you managed to install successfully
After many requests, I made this tutorial for pyload entware version, works on the following routers: RT-AC66U/R, RT-N66U/R, RT-N16
We need a usb-flash formatted EXT2 or a usb-hdd formated EXT3, will not work on FAT32 or NTFS.
1) - Setup entware, details here: http://www.hqt.ro/how-to-install-entware/
2) - Login to router with putty terminal and copy/paste the following commands
Code:
opkg install pyload
3) - Change the default configuration-directory
Code:
cd /opt/share/python/pyload
Code:
python pyLoadCore.py --changedir --configdir=/opt/etc/pyload/.pyload
4) - Generate ssl keys, you have to input data required... or just press ENTER and fields will remains blanks
Code:
cd /opt/etc/pyload/.pyload
Code:
/usr/sbin/openssl genrsa -out ssl.key
/usr/sbin/openssl req -new -key ssl.key -out ssl.csr
/usr/sbin/openssl req -days 36500 -x509 -key ssl.key -in ssl.csr > ssl.crt
5) - Go to installation-process, just hit ENTER key, change username, password and port or leave it 8000
Code:
cd /opt/share/python/pyload
Code:
python pyLoadCore.py -s
Choose your Language / Wähle deine Sprache ([en], de, fr, it, es, nl, sv, ru, pl, cs, sr, pt_BR): Enter
Welcome to the pyLoad Configuration Assistent.
It will check your system and make a basic setup in order to run pyLoad.
The value in brackets [] always is the default value,
in case you don't want to change it or you are unsure what to choose, just hit enter.
Don't forget: You can always rerun this assistent with --setup or -s parameter, when you start pyLoadCore.
If you have any problems with this assistent hit STRG-C,
to abort and don't let him start with pyLoadCore automatically anymore.
When you are ready for system check, hit enter. Enter
## System Check ##
Python Version: OK
pycurl: OK
sqlite3: OK
pycrypto: OK
py-OpenSSL: OK
py-imaging: OK
tesseract: OK
PyQt4: missing
jinja2: OK
beaker: OK
JS engine: missing
System check finished, hit enter to see your status report. Enter
## Status ##
Features available: container decrypting, ssl connection, automatic captcha decryption, Webinterface, extended Click'N'Load
Continue with setup? ([y]/n): Enter
Do you want to change the config path? Current is /tmp/mnt/sda1/asusware/pyload/.pyload
If you use pyLoad on a server or the home partition lives on an iternal flash it may be a good idea to change it.
Change config path? (y/[n]): Enter
Do you want to configure login data and basic settings?
This is recommend for first run.
Make basic setup? ([y]/n): Enter
## Basic Setup ##
The following logindata is valid for CLI, GUI and webinterface.
Username [User]: your_username
Password: your_password
Password (again): your_password
External clients (GUI, CLI or other) need remote access to work over the network.
However, if you only want to use the webinterface you may disable it to save ram.
Enable remote access ([y]/n): Enter
Language ([en], de, fr, it, es, nl, sv, ru, pl, cs, sr, pt_BR): Enter
Downloadfolder [Downloads]: /mnt/sda1/downloads Enter If your hdd has a label, replace "sda1" with "your device label"
Max parallel downloads [3]: Enter
Use Reconnect? (y/[n]): Enter
Do you want to configure ssl?
Configure ssl? (y/[n]): y / Enter
If you're done and everything went fine, you can activate ssl now.
Activate SSL? ([y]/n): Enter
Do you want to configure webinterface?
Configure webinterface? ([y]/n): Enter
## Webinterface Setup ##
Activate webinterface? ([y]/n): Enter
Listen address, if you use 127.0.0.1 or localhost, the webinterface will only accessible locally.
Address [0.0.0.0]: Enter
Port [8000]: Enter
pyLoad offers several server backends, now following a short explanation.
builtin: Default server, best choice if you dont know which one to choose.
threaded: This server offers SSL and is a good alternative to builtin.
fastcgi: Can be used by apache, lighttpd, requires you to configure them, which is not too easy job.
lightweight: Very fast alternative written in C, requires libev and linux knowlegde.
Get it from here: https://github.com/jonashaag/bjoern, compile it
and copy bjoern.so to module/lib
Attention: In some rare cases the builtin server is not working, if you notice problems with the webinterface
come back here and change the builtin server to the threaded one here.
Server ([builtin], threaded, fastcgi, lightweight): threaded / Enter
Setup finished successfully.
Hit enter to exit and restart pyLoad Enter
6) - Start the server with
Code:
/opt/etc/init.d/S51pyload start
7) - Go to 192.168.1.1:8000 (this is the default router ip, modify to your router ip if you change it previously) and happy downloading...
8) - After login, if you receive the message: Plugins updated, please restart!, restart pyload with:
Code:
/opt/etc/init.d/S51pyload restart
TO ACCESS PYLOAD FROM WAN
Code:
opkg install nano
paste this linesnano /jffs/scripts/firewall-start
Save with CTRL-O / Enter / and exit with CTRL-X#!/bin/sh
iptables -I INPUT -p tcp --destination-port 8000 -j ACCEPT
After reboot you should have access from yourwanipadress:8000.chmod a+rx /jffs/scripts/firewall-start
reboot
Please post a feedback here if you managed to install successfully
Last edited: