Werbung
ipkg install python py25-crypto py25-curl libcurl py25-openssl py25-django tesseract-ocr unzip sqlite wget-ssl py25-pil unrar ossp-js
Then go to /opt/, download pyload:
cd /opt/ wget http://get.pyload.org/get/src/ unzip pyload-src*.zip rm pyload-src-*.zip
First change the default configuration-Directory as it will get lost otherwise:
cd /opt/pyload/ python pyLoadCore.py --changedir --configdir=/opt/pyload/.pyload
Press Enter once to confirm the path /opt/pyload/.pyload
. Press it again to Exit the Dialog.
Now you are good to go for the installation-process:
python pyLoadCore.py -s
This asks you many questions, just look at my output. Please change the Download-Folder to your desired folder (i’ve chosen /mnt/HD/HD_a2/Downloads/ below). I added “{ENTER}” for every time when i pressed Enter on the keyboard. All other input is marked bold:
Choose your Language / Wähle deine Sprache ([en], de, it, pl, fr, cs, es): {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: OKpycrypto: OK
OpenSSL: OKpy-imaging: OK
tesseract: OKPyQt4: missing
django: OK
JS engine: OKSystem 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 /opt/pyload/.pyload
If you use pyLoad on a server or the home partition lives on an internal flash it may be a good idea to change it.
Change config path? (y/[n]): {ENTER}Do you want to configure basic settings?
This is recommend for first run.
Make basic setup? ([y]/n): {ENTER}## Basic Setup ##
The following logindata are only valid for CLI and GUI, but NOT for webinterface.
Username [User]: MyPersonalUser {ENTER}
Password: MyPasswordForUser {ENTER}
Password (again): MyPasswordForUser {ENTER}Language ([en], de, it, pl, es, cs, fr): {ENTER}
Downloadfolder [Downloads]: /mnt/HD/HD_a2/Downloads/ {ENTER}
Max parallel downloads [3]: {ENTER}
Use Reconnect? (y/[n]): {ENTER}Do you want to configure ssl?
Configure ssl? (y/[n]): {ENTER}Do you want to configure webinterface?
Configure webinterface? ([y]/n): {ENTER}## Webinterface Setup ##
Creating table auth_permission
Creating table auth_group
Creating table auth_user
Creating table auth_message
Creating table django_content_type
Creating table django_session
Creating table django_admin_log
Creating table pyload_prefs
Installing index for auth.Permission model
Installing index for auth.Message model
Installing index for admin.LogEntry model
If you see no errors, your db should be fine and we’re adding an user now.
Username [User]: MyPersonalUserForWebInterface {ENTER}
Superuser created successfully.
Password: MyPasswordforWeb {ENTER}
Password (again): MyPasswordforWeb {ENTER}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}Setup finished successfully.
Hit enter to exit and restart pyLoad
{ENTER}
Now download the starterscript for PyLoad:
mkdir -p /opt/etc/init.d/ wget http://wolf-u.li/u/236/ -O /opt/etc/init.d/S95startPyload.sh chmod +x /opt/etc/init.d/S95startPyload.sh
Have fun with PyLoad 🙂
Hi Uli, just a question, installing optware with your script I found the optware installation in /opt/optware , which is fine for me , but you should then change some path above and in the start script accordingly.
great job , I have done the same things in these days (installing optware and pyload on dns-320) and few days later you came with this tutorials..lol , we are almost in sync 😀
what’s next?
..and obviously I’m so dumb to not understand you used absolute path here…sorry for the noise….
Hello Uli…
with the usage of 40% of 256mb ram, it is impossible to run pyload on dns-323/ch3snas ?
Hello Nasp,
it is, yes. But it might slow down the device as the device has to swap then…
Cheers,
Uli
It seems i’ve some problems with the configuration, as shown above, there is no prompt in the Webinterface Setup.
Any hints?
Just enter “y” or “n” and press Enter?
Cheers,
Uli
I’m not that dumb!!! (at least i hope 😉
the output didnt showed the lines as in you tutorial in the ## Webinterface Setup ## section, so i expected some problem there, however it was the pyload that didnt started properly.
the solution was the “python /opt/pyload/pyLoadCore.py –daemon”
You are right, you are not dumb. The tutorial was written with Version 0.4.4 (and the output from that version). The output in Version 0.4.5 looks different.
Thanks,
Uli
I use Rapidshare Download Manager (from here: http://rsdm.kingofcomedy.de/) on DNS-323 but now I am going to change to fileserve or filesonic. Is there any working download manager on DNS-323 that supports these with premium account? I have tried PyLoad but GUI does not work. Tucan download manager does not support fileserve and filesonic with premium account. Slimrat and plowshare has not got GUI. Any idea?
Install pyLoad on the DNS-323, then use the Windows/Linux/Mac-GUI from you computer to connect to the NAS and add the Links from there. Once added, the NAS starts to download the Files and you can disconnect your computer without any problems.
Cheers,
Uli
Good idea! Thank you, Uli.
I have tried and it works. Thank you!
I have only one problem, I can’t update the settings from the Windows GUI connected to the NAS. Settings can be updated only with manual editing of pyload.conf. But it is not a big issue for me.
ho installato tutto su dns-320, ma come utilizzare pyload?
Please ask and anseer in english otherwise i have a problem to understand you 🙂 Just install Optware and follow the instructions above. This will work on the dns-320.
Cheers,
Uli
I installed it and everything ok
but how do I use pyload with dns-320?
Well just go to the IP/Dns-Name of your NAS using the port shown above and use it? Should be pretty intuitive 🙂
Cheers,
Uli
sorry
help me
I left 127.0.0.1 port 8000
but I have 192.168.0.32
how do I?
excuse my English
Well then navigate to http://192.168.0.32:8000 in your browser 🙂 If you didn’t leave it on 0.0.0.0 in the configuration, you need to rerun the configuration to set it back to 0.0.0.0.
Cheers,
Uli
I have reinstalled everything but this:
Creating table auth_permission
Creating table auth_group
Creating table auth_user
Creating table auth_message
Creating table django_content_type
Creating table django_session
Creating table django_admin_log
Creating table pyload_prefs
Installing index for auth.Permission model
Installing index for auth.Message model
Installing index for admin.LogEntry model
If you see no errors, your db Should be fine and we’re adding an user now.
Username [User]: {ENTER} MyPersonalUserForWebInterface
Superuser created successfully.
Password: MyPasswordforWeb {ENTER}
Password (again): MyPasswordforWeb {ENTER}
does not appear.
thanks
Uli, thank you for this very useful site.
Is it possible to install bjoern (ultra lightweight) on DNS-320 to save some RAM?
libev.so is needed – Do you have some clue how to compile it?
Best regards!
I followed the tutorial but I can not launch the web interface (local and external).
However, I left everything default.
I really do not understand.
All installed well, the daemon starts but nothing after.
I have a dns-323.
The web interface cannot run on DNS-323, it seems that is required more RAM or maybe there is something incompatibility. But you can use the Windows/Linux GUI as Uli (TY again!) replied me on 7th April.
Thank you for the quick response.
Small question (again), how to delete everything to return to an original configuration?
I did a reset but I still have all the packages.
I just installed pyLoad on DNS-323 and then I can start core, but I have problem connecting any GUI to the core. I tried python pyLoadCli.py and GUI on winodws. It just never connect. Command line just hang and GUI on windows show cannot connect to host. All the settings are default. Any help?
See here
The link goes to the post… 🙁 and I have the same issue.
Hi Uli great website and tutorial. i managed to install pyload from your instructions but i’ve noticed that the web interface doesn’t start unless i run
python /opt/pyload/pyLoadCore.py –daemon
on the command line. however this hangs on the terminal and if i quit terminal the web interface stops working. is there a solution to this?
I had the same issue and managed to fix it by:
1) changing the first line in the file S95startPyload.sh to #!/bin/sh (it was #!/ffp/bin/sh)
2) putting the file S95startPyload.sh to the folder /etc/init.d/ (and not /opt/etc/init.d)
Now web interface starts when I turn on my WD MyBook World Edition 🙂
Hi Uli,
I’m not a technical person.
Is there anyway you can help me to install this into my environment? By remote session.
We can discuss the fee 🙂 of course, free is better.
Looking to hear from you.
Thank you.
Hi uli,
I am basically a noob at networking and setting up all that. But I know what I want and I have got all the stuffs required.
I have read your guides from fun_plug –> optware –> PyLoad.
But I am stump with certain steps before I move on actually start setting it all up.
What I have:
DLink DNS-320
Engenius 9850
Windows 7 Home laptop
What I need:
1) FileServe and MegaUpload premium account to “auto-download” into my DNS-320 with my laptop switched off
2) Remote access to my DNS-320 via the Internet/smartphone/another computer
What stumps me:
1) Which should I set up first? The remote access via DyLink provided software? Or set up PyLoad(I meant the “auto-download” function from your tutorial? Or it don’t matter?
2) If I have to set up the function, I basically need to follow your guide from Fun_Plug –> OptWare –> PyLoad, in that sequence right?
Thanks and sorry for troubling you..
For those who can’t get working the web interface on the dns-323
On /mnt/HD_a2/ipkg/opt/lib/python2.5/lib-dynload
Rename dbm.so to xdbm.so and restart.
After reboot run: python /opt/pyload/pyLoadCore.py –daemon
My webinterface is up and running.
Hi Gerard,
Can you please help me by remoting in?
I managed to get the starter script working by:
1) changing the first line in the file S95startPyload.sh to #!/bin/sh (it was #!/ffp/bin/sh)
2) putting the file S95startPyload.sh to the folder /etc/init.d/ (and not /opt/etc/init.d)
Now web interface starts when I turn on my WD MyBook World Edition 🙂
Larry, I can’t create or modified any file inside “/etc/init.d” not even “touch” permission to init.d is “drwxr-xr-x”
Can anyone help?
Hi all, I have install pyLoad on my dns320. Download works fine but I encountered an issue. I’m unable to cut and paste to other folder in the NAS or my Win 7 drive. Delete function also does not work. The only way to I try to move is login via ssh then use these function. Any advice?
Check the settings in pyload, there is a option to set the permissions on the download-folder (e.g. set to a certain user).
Best Regards,
Uli
Hello ‘
I was able to run pyload on my Xtreamer
How ever i cant get it to autorun on boot.
i have downloaded the script.
i can only run it manually using this command:
/opt/bin/python /tmp/usbmounts/sdb1/opt/pyload/pyLoadCore.py –daemon
Any ideas?
Hi,
I managed to install pyload on my DNS 325. All is working, I can start payload at boot, connect to ip:8001 but when I try to log in it says:
Your username and password didn’t match. Please try again.
To reset your login data or add an user run: python pyLoadCore.py -u
So I re-edit my user but I don’t works.
Is it possible that funpkg and ipkg has conflict about same packages ? I have seen that ipkg installs sqlite and funpkg has already installed sqlite.
What do you think about that ?
Thank you.
I’ve got problem with WEBI.
When i try to saw download tab there was written:
pyLoad – Webinterface
An Error occured, please enable debug mode to get more details.
HTTP Response 500
Traceback (most recent call last):
File “/home/opt/pyload/module/lib/bottle.py”, line 651, in _handle
return callback(**args)
File “/home/opt/pyload/module/lib/bottle.py”, line 1144, in wrapper
rv = callback(*a, **ka)
File “/home/opt/pyload/module/web/utils.py”, line 113, in _view
return func(*args, **kwargs)
File “/home/opt/pyload/module/web/pyload_app.py”, line 186, in downloads
if isdir(join(root, item)):
File “/opt/lib/python2.5/posixpath.py”, line 195, in isdir
st = os.stat(path)
UnicodeEncodeError: ‘ascii’ codec can’t encode characters in position 70-71: ordinal not in range(128)
What is wrong.
I install it on Netgear Stora. Pls help
Oh crap… What happened? Everything was running smooth for me..
PyLoad works wonderfully with my fileserve premium account, and now, this?
“No module named json_layer 0.00 B FileserveCom”
What does that mean? 🙁
I have tried to re-boot my DNS-320 and restarted pyload with no effect.. I can’t download anything now… 🙁
Have you tried to update it to the current version? Filehosters are not stable and sometimes pyload needs to be updated for that. If this doesnt fix it, you should file a bugreport at the pyload-Website.
Cheers,
Uli
Uli,
I know this sounds weird. But which one are you meaning to ask me to upgrade? My DNS-320 firmware or PyLoad firmware?
Currently i am still running the stock DNS-320 when i just bought it.
Pyload 🙂
Cheers,
Uli
Hi Uli,
Nice tutorials buddy, thanks for the hard work! Just installed pyload v0.4.8 on a brand new DNS320 for a friend. Didn’t have time to check your start up script, but after reboot it does not auto start.
I’ve used:
python /opt/pyload/pyLoadCore.py –daemon
and problem was solved.
Crap, scratch that, it only works for next reboot. I’ll investigate further.
Just set optware on autostart.
Cheers,
Uli
I’m reading all this mornig this site and configuring my DNS-323 but at least the pyload didn’t work.
I can’t connect to the web and I didn’t know why. Now I post some error message and I hope someone can help me.
Thank you
If I try to use the config on spanish the assistant give an error:
If I use this command it show the message and stops:
I had the same problem, and this worked for me.
Change the language to english (by default) in the first basic setup (“python pyLoadCore.py -s”)
If it was all ok, later in the GUI you can change the language in the preferences menu. After that, a pyLoad restart is required, do it from your ssh client just with the command “service pyload restart”.
Hi Uli
Is there a script that updates PyLoad to the latest version?
So far i did it by re-installing PyLoad. But, maybe is there more sophisticated and political correct way to do it?
And btw, it’s a great job You’re doing with all those machines.
Thank You,
s2art
Hi s2art,
Try this tutorial i’ve just written.
Cheers,
Uli
Try to install pyload but on command:
unzip pyload-src*.zip
i receive message: can’t open pyload*src.zip
pyload*src.zip.zip pyload*src.zip.ZIP
What is wrong??
python pyLoadCore.py –changedir –configdir=/opt/pyload/.pyload
-sh: python: command not found
WHY?????????????????????
Uli,
after installing Pyload when I try to connect via SSH it seems that I reaching BusyBox, and I can do anything from there.
Any help will be highly appreciated.
Even if i enter ‘help’ nothing happens…
BusyBox v1.00-pre1 (2009.02.11-09:07+0000) Built-in shell (ash)
Enter ‘help’ for a list of built-in commands.
Hi,
I read your tutorial about how to install Pyload
But it’s not useful for Atheros devices,
because Atheros devices use Opkg instead ipkg,
I wish You may interested prepare another tutorial for Atheros base devices
P.S : I also started this topic
http://forum.pyload.org/viewtopic.php?f=7&t=1932
After loaded Pyload WebGUI, i can not see download folder. Is it hidden somewhere?
how do I uninstall pyload from dns-320L. It seems to be slowing my system down alot and I can not access the GUI interface.
Thanks for your help!
Angie
Hi, this process work for ds214play with dsm 5.0 official? The applications in dsm 5.0 have error in installation.
Regards
I got problem when using this code:
python pyLoadCore.py --changedir --configdir=/opt/pyload/.pyload
the Putty reply:
[root@LS421DE64A ~]# cd /opt/pyload/
[root@LS421DE64A pyload]# python pyLoadCore.py --changedir --configdir=/opt/pyload/.pyload
Traceback (most recent call last):
File "pyLoadCore.py", line 48, in
from module.network.RequestFactory import RequestFactory
File "/opt/pyload/module/network/RequestFactory.py", line 22, in
from Browser import Browser
File "/opt/pyload/module/network/Browser.py", line 6, in
from HTTPRequest import HTTPRequest
File "/opt/pyload/module/network/HTTPRequest.py", line 20, in
import pycurl
ImportError: No module named pycurl
[root@LS421DE64A pyload]#
But I already install py25-curl, py26-curl. After this error, I remove the py25-curl, py26-curl to install pycurl by build myself but it got this error. Please to help me!
[root@LS421DE64A pyload]# cd /tmp/pycurl/pycurl-7.19.5/
[root@LS421DE64A pycurl-7.19.5]# python setup.py install Using curl-config (libcurl 7.24.0)
running install
running build
running build_py
running build_ext
building 'pycurl' extension
/work/2013_1115_1118_git_sub/ts-3000/buildroot/buildroot-2012.08/output/host/usr/bin/arm-marvell-linux-gnueabi-gcc -fno-strict-aliasing -pipe -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DBIG_SECURITY_HOLE -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -DPYCURL_VERSION="7.19.5" -DHAVE_CURL_OPENSSL=1 -DHAVE_CURL_SSL=1 -I/opt/include -I/usr/include/python2.7 -c src/docstrings.c -o build/temp.linux-armv7l-2.7/src/docstrings.o
unable to execute /work/2013_1115_1118_git_sub/ts-3000/buildroot/buildroot-2012.08/output/host/usr/bin/arm-marvell-linux-gnueabi-gcc: No such file or directory
error: command '/work/2013_1115_1118_git_sub/ts-3000/buildroot/buildroot-2012.08/output/host/usr/bin/arm-marvell-linux-gnueabi-gcc' failed with exit status 1
[root@LS421DE64A pycurl-7.19.5]#
Thanks you so much.
Hi,
today I have installed pyload from my 320l but I have more difficult to reach pyload from web interface.
My router is 192.168.1.1
Nas 192.168.1.100
PC 192.168.1.101
every time I search login from web error 404 NOT FOUND
Why?Please someone help me
If you have setup all correctly try to launch this command into path where this program is present: python pyLoadCore.py –daemon
Wait one minute and than retry to login to web interface
You have to reload this command every time you restart your nas or application crash
Hi, since a few days python 2.5 is no longer supported by pyload. Do we have any chances to upgrade the python stuff like “python py25-crypto py25-curl” to some newer than 2.5?