Running a music server on a NSLU2 using
serving a Roku Soundbridge by using mt-daapd
Linksys NSLU2 NAS device (info, purchase)
USB2 Hard Drive (info, purchase)
mt-daapd (download)
Roku Soundbridge (info, purchase) or other iTunes compatible player
Note:
If you have any problems during the install, you can always reset the config of the NSLU2 by holding in reset button for 10 seconds (until it beeps) or if you really thrash it, by 'unbricking it' a process for restoring it to factory defaults via a relatively lengthy by well-documented process documented here.
Instructions:
- Plug the drive into a windows PC, format it, and run the included one-touch utilities. This will let you set the spin-down time for the drive. Since the NSLU2 doesn't do power management, this is the only way to allow the drive to power down when not in use.
- Plug in and set up the NSLU2 according to the directions on the packaging, and now plug the hard drive into "drive 1" of the NSLU2.
- Run the windows setup utility for the NSLU2, which will allow you to set the networking information for the device.
- You should now be able to navigate to the NSLU2's web server. Navigate to http://192.168.1.77 , or whatever IP you set the NSLU2 to use. Change any settings you like (server name, password, etc) and format the hard drive.
- Download the newest Unslung 2.x firmware from The NSLU2 Linux site, specifically the "SourceForge Files Area" link.
- Flash the unslung firmware the same way you'd update the regular firmware of the device, using the web interface. When you've flashed successfully, make sure that the NSLU2 still works correctly, that you can still read/write the disk
- Unplug the hard disk and reboot the NSLU2. In order for the next step(s) to work correctly, it can't have a drive attached.
- Enable telnet by going to http://192.168.1.77/Management/telnet.cgi, and press the enable button.
- Telnet into the NSLU2 using username: root and password: uNSLUng
- Plug the drive back into the NSLU2 and wait for a minute or two for it to be mounted, which you can monitor on the web interface.
- In the telnet session, run "/sbin/unsling"
- Reboot the NSLU2.
- Again check and make sure the NSLU2 is working as expected. Enable telnet again, and telnet into the NSLU2.
- Download the newest .ipk build of mt-daapd from the link above, and then copy it to your DISK 1 share on the NSLU2.
- From the telnet session "cd /tmp" and then "cp /share/hdd/data/public/mt-daapdXXXX.ipk /tmp" where mt-daapdXXXX.ipk is the specific filename of the distribution you downloaded. Then run these commands in order. "ipkg update", "ipkg install gdbm", "ipkg install libid3tag", and finally "ipkg install mt-daapdXXXX.ipk" again referencing the actual filename.
- Follow the config editing instructions given by the mt-daapd installer, and you should be ready to go!