UPDATED 5-1-2013 Captcha Recognition 100% FIXED
All credit goes to audren at the mybookworldwiki forums with SLIGHT modifications made by me
Connect to the MBL with PuTTY or Terminal and install optware
wget http://mybookworld.wikidot.com/local--files/optware/setup-mybooklive.sh
sh setup-mybooklive.sh
Issue the following commands to ensure that we can use the command “ipkg” from any directory
echo "export PATH=$PATH:/opt/bin:/opt/sbin" >> /root/.bashrc
echo "export PATH=$PATH:/opt/bin:/opt/sbin" >> /etc/profile
Close PuTTY or Terminal (Very Important)
Open PuTTY or Terminal and connect to the MBL again to install dependencies and download the latest pyLoad
ipkg updateipkg install wget tesseract-ocr tesseract-ocr-lang-eng ossp-js unrarwget http://get.pyload.org/static/pyload-v0.4.9-noarch.ipk
Install pyLoad
/opt/bin/ipkg install pyload-v0.4.9-noarch.ipk
Edit HTTPRequest.py so pyLoad setup will run
nano /opt/share/pyload/module/network/HTTPRequest.py
Add the following text right above import pycurl (Copy the text below and right click to paste the text in the PuTTY window)
import sys
sys.path.append('/opt/lib/python2.5/site-packages')
Hit control and o
Hit enter
Hit control and x
Start pyLoad setup
/opt/bin/pyLoadCore -s
SAMPLE pyLoad setup output (CHANGE AS YOU SEE FIT)
Do you want to change the config path? Current is /opt/share/pyload_config
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]): n
Do you want to configure login data and basic settings?
This is recommend for first run.
Make basic setup? ([y]/n): y
## Basic Setup ##
The following logindata is valid for CLI, GUI and webinterface.
Username [User]: nfodiz
Password:
Password (again):
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): n
Language ([en], de, fr, it, es, nl, sv, ru, pl, cs, sr, pt_BR): en
Downloadfolder [Downloads]: /DataVolume/shares/Public
Max parallel downloads [3]: 3
Use Reconnect? (y/[n]): y
Reconnect script location [./reconnect.sh]: HIT ENTER HERE
Do you want to configure ssl?
Configure ssl? (y/[n]): n
Do you want to configure webinterface?
Configure webinterface? ([y]/n): y
## Webinterface Setup ##
Activate webinterface? ([y]/n): y
Listen address, if you use 127.0.0.1 or localhost, the webinterface will only accessible locally.
Address [0.0.0.0]: HIT ENTER HERE
Port [8000]: 8000
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
Setup finished successfully.
Hit enter to exit and restart pyLoad
Start pyLoad Daemon
/opt/bin/pyLoadCore --daemon
Create script to autostart pyLoad when you restart the MBL
nano /etc/init.d/pyload
Copy this text and then paste it in the empty PuTTY window by simply right clicking your mouse button
#!/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
Hit control and o
Hit enter
Hit control and x
Update the script permissions and add it to startup
chmod 755 /etc/init.d/pyload
update-rc.d pyload defaults
Access pyLoad from your web browser using your MBL networkname or ip:8000 (UNLESS YOU CHANGED THE PORT)
Login and at the TOP RIGHT CORNER it should say Plugins updated, please restart!
Logout of the Web Interface and SSH in and enter
/etc/init.d/pyload restart
Captcha Recognition 100% FIXED (OPTIONAL and only needed for a few servers)
The first command is VERY IMPORTANT and if not run could brick your MBL
To get python-imaging installed
rm -f /var/lib/dpkg/info/wd-nas.*nano /etc/apt/sources.list
Comment out the wheezy repo like this by putting a # in the front of the bolded line
We want to install from the squeeze repo (I tried from the wheezy repo and python imaging didn’t work)
deb http://ftp.us.debian.org/debian/ squeeze main
#deb http://ftp.us.debian.org/debian/ wheezy main
#deb-src http://ftp.us.debian.org/debian/ wheezy main
#deb http://ftp.us.debian.org/debian/ sid main
Hit control and o
Hit enter
Hit control and x
Now we want to run the following commands
apt-get updateapt-get install python-imaging
To see if python imaging is installed type
/opt/bin/pyLoadCore -s
Now select your language and then hit enter for the system check
Example of a GOOD system check
## 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
Hit enter again for the status report and when asked if you want to continue with setup type n and hit enter
DONE!