The Western Digital MyBook World Edition runs on a cut down version of Linux and as such can be accessed via SSH.
STEP 1. - Enable SSH
To make any changes to your MBWE you will need to remotely log in to the box using the Secure Shell protocol (SSH - http://en.wikipedia.org/wiki/Secure_Shell). SSH is used to log into a remote machine and execute commands. There are two methods currently available to enable SSH:
Follow the instructions at http://www.mybook-linux.co.nr/sshaccess.html. The source code for the script is provided in the FAQ at the bottom of the page. This code was checked by others, yet there is always a possibility yo do not install the same code as you have checked.
Both methods trick the MBWE into running a firmware upgrade that includes a custom script to enable the SSH daemon. Both uses different methods, however this method seems to provide a 'cleaner' solution.
PLEASE NOTE: if you are using a newer firmware edition you will need to use ALLCAPS for your username when using ssh to login.
For example if you created a user called joeblogs login with JOEBLOGS
Alternatively, for the truly paranoid, you could create your own web server and serve the pseudo-firmware.
Now that SSH daemon is started you can login to your MBWE and start installing programs.
STEP 2. - Install Optware Package Management
Optware provides access to hundreds of pre-compiled binaries. Configure Optware and get access to hundreds of precompiled software packages easily! This is recommended way to install software, as it will save you lots of time and will keep your MyBook in order. The benefits of using Optware are:
- Fast installation
- Easy updates
- Automatically resolves dependancies
STEP 3. - Get a decent text editor
Next up, I would get a decent text editor since VI is terribly unintuitive and certainly not newbie-friendly. You will need to frequently edit text files on your MBWE if you wish to change many of the basic settings and change the default behaviour of the programs you install. Nano is an easy to use alternative to the editor vi, but it is not included on the system by default. You will need to install it manually.
Using Optware
If you followed the right way and configured Optware, you can just do:
/opt/bin/ipkg install nano
And thats it, your new text editor is now installed. All you need to do now is type nano filename to open and edit your files using this editor.
STEP 4. - Understanding the File structure
If you want to create new share folders and control network permissions then I suggest using the web-interface provided. But if you want to access these folders from the shell, you can find them at
- /shares/internal/
Also remember that Linux is case sensitive so to access the default share folder of PUBLIC, type:
# cd /shares/internal/PUBLIC/
You may find if you are not logged in as root that you can't access them so su in and change the folder permissions using (for the default share folder again)
# chmod 755 PUBLIC

























