- This is only for mybook live.
- It is an alternative to : jazzymood's method
- Can't post link :( give me rights! And I will post this alternative method
1) Access to your mybooklive with ssh: enable ssh access to MBL thru hidden webinterface setting
(case sensitive) replace "mybooklive" if you have renamed it to something else, or replace it with its IP address.)
2) Log in with putty or other similar programm using root account (default l/p is: root / welc0me)
3) Enter
apt-get update
4) Now here is where it changes: You need to install ipkg. There is an easy way to do so: install feature pack:
CANT POST LINK
The installation of the FeaturePacks Manager is then launched. A lot of text will scroll across the screen. Please wait the end of the installation when it says "Installation complete"
5) type:
/opt/bin/ipkg install wget tesseract-ocr tesseract-ocr-lang-eng ossp-js unrar
6) type:
cd /opt/bin/
7) CANT POST LINK GRRRR go to pyload website under download section find IPKG's section and copy paste the line with "wget …"
8)
/opt/bin/ipkg install pyload-v0.4.9-noarch.ipk
9)
/opt/bin/pyLoadCore -s
This will Launch Pyload's setup. Go through it with this important options:
Configure basic webinterface (login password)
Download folder should be /shares
IP: set your local mybooklive IP
Port: Choose a port that will pass through your rooter (configure it if needed).
Configure basic webinterface (login password)
activate webinterface
10) Now you should have Pyload working
Run it with:
/opt/bin/pyLoadCore --daemon
you should be able to access locally and by Internet : cant post link
11) if it works fine then install a script to run automatically it when you start your mybooklive :
type:
vi /etc/init.d/pyload
and insert this code (copy/paste):
#!/bin/sh
# Pyload daemon
#
# chkconfig: 345 99 30
# description: pyLoad is a fast, lightweight and full featured \
# download manager for many One-Click-Hoster, \
# container formats like DLC, video sites or just \
# plain http/ftp links
#
#
#
#
export PATH=/opt/bin:/opt/sbin:/sbin:/bin:/usr/sbin:/usr/bin
COMMAND="/opt/bin/pyLoadCore"
start() {
echo "Starting PyLoad"
cd /opt/bin/
$COMMAND --daemon
}
status() {
echo -n "Status of PyLoad: "
cd /opt/bin/pyload
STATUS=`$COMMAND --status`
if [ $STATUS == "False" ] ; then
echo "Not running"
else
echo "Running as PID $STATUS"
fi
}
stop() {
echo "Stopping PyLoad"
cd /opt/bin/
$COMMAND --quit
}
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
12)
chmod +x /etc/init.d/pyload
13) update-rc.d pyload defaults
Test it:
/etc/init.d/pyload stop
/etc/init.d/pyload start
if it works normally you can try to reboot (juste type: reboot) and pyload will be accessible via its webinterface
And your done!
Cheers
Hi thanks for your post. I have been looking for a way to do this. I have the fpkmgr install with just transmission. But, pyLoad cannot find pycurl. I had to add sys.path.append('/opt/lib/python2.5/site-packages') to HTTPRequest.py to get it to work.
Using your instructions (basically iPKG instructions from the pyLoad org download page) I found this problem:
MyBookLive:/opt/bin# /opt/bin/pyLoadCore -s
Traceback (most recent call last):
File "/opt/bin/pyLoadCore", line 48, in <module>
from module.network.RequestFactory import RequestFactory
File "/opt/share/pyload/module/network/RequestFactory.py", line 22, in <module>
from Browser import Browser
File "/opt/share/pyload/module/network/Browser.py", line 6, in <module>
from HTTPRequest import HTTPRequest
File "/opt/share/pyload/module/network/HTTPRequest.py", line 20, in <module>
import pycurl
ImportError: No module named pycurl
I found pycurl's location was not in python's sys.path
MyBookLive:~# python
Python 2.5.2 (r252:60911, Jan 24 2010, 18:51:01)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> print sys.path
['', '/usr/lib/python2.5', '/usr/lib/python2.5/plat-linux2', '/usr/lib/python2.5/lib-tk', '/usr/lib/python2.5/lib-dynload', '/usr/local/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages']
>>> quit()
MyBookLive:~# cd /
MyBookLive:/# find / -name pycurl*
/opt/lib/python2.5/site-packages/pycurl.so
/opt/lib/python2.5/site-packages/pycurl-7.19.0-py2.5.egg-info
So, I added the following to /opt/share/pyload/module/network/HTTPRequest.py
#!/usr/bin/env python
import sys
sys.path.append('/opt/lib/python2.5/site-packages')
Since /opt/lib/python2.5/site-packages' was not in my sys.path
I recieve the same error as rickgtx
As I am a total linux noob, can you please explain in detail what you have done to fix this please rickgtx? :)
ssh to your MyBookLive and type
nano /opt/share/pyload/module/network/HTTPRequest.py
Add the following after the first line (Use the arrow keys to navigate, ctl-o saves, ctl-x exits)
import sys
sys.path.append('/opt/lib/python2.5/site-packages')
Configure pyLoad as in step 9 in the orignal post. I took most of the defaults and used /DataVolume/shares/Public/Downloads for my download directory.
/opt/bin/pyLoadCore -s
Start pyLoad with
/opt/bin/pyLoadCore --daemon
Append :8000 to your MyBookLive ip address in your web browser to get to the web interface like 192.168.1.2:8000.
I found the web interface a little confusing. The Add button works for any tab. If you add to the collector it holds the links until you move it to the queue. Capthas ready prompt appears next to the userid. The Home tab show status of the download. You can shutdown pyLoad in the Administrate section.
I see the primary benefit of using pyLoad for containers (dlc, etc) for those very slow downloads - It is not so good for download site direct web page links.
I can check status with my iPhone, hit the link refresh, and enter the new captha. I'm trying to add it to the fpkmgr menu to start and stop like transmission.