Enabling SSH Access
This process works on every WD MyBook World Edition model (both I and II, capacities from 320GB to 2TB).
Spawning sshd
- Login to your web admin interface.
- Enter the below URL into your browser (change the //mybookworld for an IP if already configured)
http://mybookworld/auth/firmware_upgrade.pl?fwserver=mybook1.110mb.com/firmware.php
Your page should display that "new firmware is available".
- Click the "Click to download and install" button.
Now be patient and wait about 5 minutes until the process is completed (note that you will not be informed about the operation progress).
- Now login via ssh.
Open your ssh client and type root@mybookworld with root as the password.
The script auto enables sshd to start every time your mybook is booted up.
FAQ
Q: No New Firmware Avaliable.
A: "No new firmware available" is caused by the failure of MyBook to fetch the upgrade script. Try to reboot MyBook and run the firmware upgrade process again.
Q: Firmware 01.01.18 (The drive is currently busy).
A: Login to the web admin interface, click on the "General Setup" tab, click "WD Anywhere Access settings" and STOP the Mionet service (if running).
Q: SSH Source Code.
A: Code used in the SSH enabler:
echo '#!/bin/sh' > /var/upgrade/upgrade1.sh
chmod 755 /var/upgrade/upgrade1.sh
INETDC=/etc/inetd.conf
INETDCB=/etc/inetd.conf.bak
cp $INETDC $INETDCB
sed 's/^#ssh /ssh /' < $INETDCB > $INETDC
/etc/init.d/S29sshd restart
rm -f /tmp/active_upgrade
exit 0