Enabling ssh on MyBook World Edition
I've had my Western Digital MyBook World Edition for a couple of months now. Basically it is a mini-computer with a small footprint linux distro. The disk is shared on the network using samba and mionet. Not exactly the best options for accessing from Linux. It works, well the samba does. But it isn't ideal. In fact, if I try to do more than one simultaneous file transfer with samba protocol, the whole thing locks up till I can remount the smbfs.
Oddly enough, the MyBook comes with a fully functional ssh server. WD just ship it disabled. Enabling ssh allows shell access which opens lots of possibilities.
Following the detailed instructions on Hard Forum: Hacking the WD My Book Word Edition II (NAS)
- Shutdown
- Remove rubber piping
- Open case (took three pairs of hands) THIS STEP VOIDS YOUR WARRANTY
- Unplug SATA cable
- Plug SATA disk into host PC (managed to do this without removing from chassis)
- Boot host PC using Ubuntu 7.04 DVD
- Access linux partition.
- Remove root password from /etc/shadow
- Uncomment ssh line in /etc/inetd.conf
- Shutdown host PC
- Disconnect disk from host PC
- Reattach original SATA cables
- Close case
- Refit rubber piping (fiddliest part of the whole lot)
- Reattach to network and boot
- Open ssh connection to MyBook as root (no password)
- Create group wheel
- Added your user to the group wheel
- Create symbolic link at /usr/bin/vi to /bin/vi
- Add entry for wheel in visudo
- Set password for root user
- Disable services you're not using (e.g. mionet, samba, lighthttp)
- Change mount point from /shares/internal to /home
- Change file ownerships
- Upload your ssh public keys to ~/.ssh/authorized_keys2
- Mount your sshfs (nautilus Connect to Server)
Post new comment