MyBook World: WDH1NC10000N

      No Comments on MyBook World: WDH1NC10000N

The MyBook World Edition is a great little device that runs embedded linux. I have a Model WDH1NC10000N. First Steps – Hacking MyBook World Edition.

I have done the following:

Installing SABNZBdplus
ipkg install sabnzbdplus
ipkg install unrar
ipkg install unzip
ipkg install py25-openssl

I edited my folders to a directory under /DataVolume/Public, so the downloads appear in the shared directory.

I copied the inetd script at /etc/init.d/S60inetd. I don’t know if it is neccessary but I edited the permissions on my init script to be the same as inetd:

chmod 775 /etc/init.d/S70sab

Here’s the script. Just edit your sabnzbd.ini file before you run the script. When using the script, Sabnzbd uses its default ini, located at nano /opt/share/SABnzbd/sabnzbd.ini.

#!/bin/sh
#
# sabnzbd
# ridiculousdonny
#

start() {
echo -n "Starting sabnzbd... "
/opt/bin/python2.5 /opt/share/SABnzbd/SABnzbd.py -d
echo "OK"
}
stop() {
echo -n "Stopping sabnzbd... "
/usr/bin/wget -q --delete-after "http://HOST:PORT/sabnzbd/api?mode=shutdown&apikey=YOURAPIKEYHERE"
echo "OK"
}
restart() {
stop
start
}

case "$1" in
start)
start
;;
stop)
stop
;;
restart|reload)
restart
;;
*)
echo $"Usage: $0 {start|stop|restart}"
exit 1
esac

exit $?

SSH
The White Light has SSH as a service on it by default. Everything we have done is based on using this existing ssh to access the machine and do all of our sweet updates. To use a private/public key pair, make sure to:
chmod g-w /root
chmod 700 .ssh
chmod 600 .ssh/authorized_keys

Transmission

Guide

Future
CUPS and more to come! I will update this post with the appropriate wiki entries as they are completed.

Daisy Chain
Creative Commons License photo credit: DeclanTM

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.