My New Sidekick

— 10-Apr-2005 14:16

Linksys NSLU2 (image courtesy Linksys.com)I’d like to introduce my new sidekick: L’il Stiny.

L’il Stiny is actually a Linksys NSLU2, a tiny network file server for USB2.0 hard drives. I first found out about this nifty device sometime last year when Jim Buzbee published an article on Tom’s Hardware entitled “Hacking the NSLU2″. The idea was intriguing but only took root the other week when I realized a serious need for additional storage.

Out of the box, the NSLU2 is ridiculously small (less than 6″ tall) and acts a file server on your network using up to two USB drives. It runs Linux on an ARM processor, serving files via Samba. Not long after Jim’s articles exposed the unit’s internals, a small community arose dedicated to opening up this little processor for other uses.

The file server by itself was enough for me to make the purchase (about $140CDN). I already had a USB2 drive that I wasn’t putting to good use and wanted to create a central place to backup files and store all my new MP3’s. Until recently, iTunes had been running off a noisy old desktop which generated far too much heat and was a sad waste of electricity. The NSLU2 is quite the opposite.

Setup was a snap (note that you have to reformat your drives for use with the NSLU2) and I was serving files in no time, so I figured I was ready to expand L’il Stiny’s capabilities.

The NSLU2 community has created a derivative of the Linksys firmware, dubbed “Unslung”. It opens up the unit to other uses, allowing you to customize system scripts and download new software in ipkg format. Some Linux knowledge is required. All possible since Linksys has published their source code under the GPL due to the use of Linux.

Before flashing the Unslung firmware, I tried to update the stock Linksys firmware as a test run. Big mistake — the flash failed, leaving L’il Stiny incapacitated. Linksys really ought to warn you to disconnect all USB drives prior to reflashing. But with the help of the Unslung wiki I was able to revive Stiny and get back to the task at hand.

Flashing Unslung was a breeze, and it wasn’t long before I had downloaded and installed OpenSSH and NNTP. Now Stiny keeps proper time (a notorious NSLU2 firmware issue) and I can ssh in to continue experimenting.

So far, L’il Stiny is just storing my MP3’s and backups. Future improvements will include:

  • a print server for our shared printer
  • an SVN repository for personal & professional projects
  • serving MP3’s via mt-daapd to other home computers
  • taking over the world

I think that Linksys has inadvertantly created a golden opportunity here. This simple device has so much potential — they could really revolutionize network appliances by leveraging open source communities to creatively extend their products. I hope we see this trend actively embraced in the future.

NSLU2 Resources:

Feedback

  1. Can you setup the two drives as a single RAID1 array using the sw RAID driver? Pretty mandatory if you plan to store your svn repository there… :)

    ludo — 11-Apr-2005 11:45
  2. Good question. There’s a page on the wiki explaining how to enable RAID1 support. I only have one drive connected so far, but it’s certainly a consideration for the future (especially since this is a 2.5″ drive).

    In the meantime, I operate with my usual level of paranoia: storing multiple snapshots across several computers in addition to the new file server, with CD backups for critical data.

    jerome — 11-Apr-2005 11:57
  3. Mine failed after a power failure, with the error Fail to get samba information. i tried to flash the firmware with no luck. After I went to lynksys.com and chatted with a tech, they sent me to http://linksys.custhelp.com/cgi-bin/linksys.cfg/php/enduser/std_adp.php?p_faqid=2901&p_created=1124756239&p_sid=ZDNlyrTh&p_lva=&p_sp=cF9zcmNoPTEmcF9zb3J0X2J5PSZwX2dyaWRzb3J0PSZwX3Jvd19jbnQ9NiZwX3Byb2RzPTAmcF9jYXRzPSZwX3B2PSZwX2N2PSZwX3NlYXJjaF90eXBlPWFuc3dlcnMuc2VhcmNoX25sJnBfc2NmX2xhbmc9MSZwX3BhZ2U9MSZwX3NlYXJjaF90ZXh0PU5TTFUy&p_li=&p_topview=1

    and after I did exactly what was in the directions, my slug is back. Granted, it is with the factory software.

    Now the software supports Fat/FAT32/NTFS/EXT3, at least they say it does, I will find out tomorrow.

    Just thought you might like this info. Good Luck and God Bless.

    Paul Bickwermert — 31-Oct-2005 16:29