What's new

Tutorial pyLoad Download Manager through Optware

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

TeHashX

Very Senior Member
New site with updated guide



I used this two guides 1 & 2 (credits to ULI and Shibby, thanks guys) and with some modification we can run pyLoad Download Manager on AsusWrt: RT-AC66U/R, RT-N66U/R, RT-N16, RT-AC68U, RT-AC56U...

We need a usb-flash formatted EXT2 or a usb-hdd formated EXT3, may not work on FAT32 or NTFS.

To start the optware environment:
Go to http://192.168.1.1/APP_Installation.asp and install Download Master (uninstall or disable after, if you are not using it)
Login to router with putty terminal and copy/paste the following commands
ipkg update
ipkg upgrade
ipkg install python py25-crypto py25-curl libcurl py25-openssl py25-django
ipkg install tesseract-ocr unzip sqlite wget-ssl py25-pil unrar ossp-js nano wget-ssl
cd /opt/
Download the latest version (v0.4.9 at this moment), just change version number if is updated.
wget http://get.pyload.org/get/src/pyload-src-v0.4.9.zip
unzip pyload-src-v0.4.9.zip && rm pyload-src-v0.4.9.zip
cd /opt/pyload
Generate ssl keys, you have to input data required... or just press ENTER and fields will remains blanks
/opt/bin/openssl genrsa -out ssl.key 1024
/opt/bin/openssl req -new -key ssl.key -out ssl.csr
/opt/bin/openssl req -days 36500 -x509 -key ssl.key -in ssl.csr > ssl.crt
Change the default configuration-directory
python pyLoadCore.py --changedir --configdir=/opt/pyload/.pyload
Press Enter once to confirm the path and once again to exit the dialog.

Go to installation-process, just hit ENTER key, change username, password and port or leave it 8000
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: OK

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
Download start/stop script
/opt/bin/wget http://tinyurl.com/S95Pyload --no-check-certificate -O /opt/etc/init.d/S95Pyload
chmod 777 /opt/etc/init.d/S95Pyload
Start the server with
/opt/etc/init.d/S95Pyload start
Go to 192.168.1.1:8000 and happy downloading...

4j60g.png

etv52r.png

To start automatically after every router reboot, create post-mount script
nano /jffs/scripts/post-mount
paste this lines
#!/bin/sh
sleep 5
/opt/etc/init.d/S95Pyload start
Save with CTRL-O / Enter / and exit nano with CTRL-X
chmod a+rx /jffs/scripts/post-mount
reboot

TO ACCESS PYLOAD FROM WAN
nano /jffs/scripts/firewall-start
paste this lines
#!/bin/sh
iptables -I INPUT -p tcp --destination-port 8000 -j ACCEPT
Save with CTRL-O / Enter / and exit with CTRL-X
chmod a+rx /jffs/scripts/firewall-start
reboot
After reboot you should have access from wan:8000.

Video HERE...

Please post a feedback here if you managed to install successfully
 
Last edited:
hey thx, how do i do it if im running on padavan firmware rt-n56u? it doesnt offer download master.
 
The same way, just follow this guide but first enable optware în router's ui

Sent from my HTC One S using Tapatalk 2
 
Last edited:
hello from Germany,
I have install pyLoad as shown in the instructions and I can open the WebInterface from the PyLoad but the "start" to download button doesn't work.
someone has an idea?
 
I have accounts for realdebrid.com and premium4.me,
and I want download from letitbit.
pyLoad working on my PC very well with this accounts.

When I press start button, the Download status icon stays red.
 
Your usb hdd has a label? did you input the right path? like /mnt/sda1/downloads
Some sites requiring captcha, this will appear in top right corner of pyload interface.
I don't have a real-debrid or premium4.me account to test.
 
Today is the Download Icon green. Downlad.jpg
but nothing happens.
USB Flash Disk have a Label und Donwload Path is /mnt/sda1/downloads
no Cuptcha requirements
 
You have to rerun setup
Code:
python pyLoadCore.py -s
and replace sda1 with your device label, for example:
Code:
/mnt/[COLOR="Red"]LABEL[/COLOR]/downloads
be careful, linux is case sensitive
 
On my pyload Start Page is message about a new Updates and I must restart pyLoad.
Do I have to restart every time pyLoad after the updates are downloaded
 
Hi there im hoping somebody can help me , i simply can not get pyload to open in my browser, Status of PyLoad: Running as PID 7048..... as far as im aware its running , port No has been left at 8000 i have left ip address blank but also tried entering it which as it is different from the one in the guide as i change the range .
i have followed the guide to the letter and tried removing it and re-installed several times now.
 
Which steps do I have to repeat if I unplugged the connected usb-drive containing pyload in the meanwhile?
How do I start pyload again or do I have to do the whole installation procedure again?
 
Last edited:
Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top