March 09, 2008

Gadget report: Linksys NSLU2

Writing about web page http://www.amazon.co.uk/Linksys-Network-Storage-Link-NSLU2/dp/B00062KPEI/ref=pd_bbs_sr_2?ie=UTF8&s=electronics&qid=1205085430&sr=8-2

Whilst nosing around on amazon the other day, I found these at a frankly rude-not-to price of £65. For anyone who’s never seen one before, this is sold as a device to turn a USB disk into a network-attachable (SMB/CIFS + FTP) bit of storage.

All well and good. But what it really is, is a tiny, tiny, but very much real, computer. It has a 266Mhz Intel XScale ARM-compatible processor, 32MB of RAM, 2 USB ports, a network port, some blinkenlights, and a speaker that can go ‘beep’. It has no fan, uses between 2 and 10 watts of power, and is completely silent (except for the beep :-)) .

It won’t run windows (thankfully), but there are 2 several (see comments) linux-based distributions that run on it; the two that I looked at were unslung and debian . Unslung is (probably) slightly easier and more appliance-y; Debian is more flexible but some stuff might not work so easily. I went for debian, more because it’s what I’m used to than for any other reason.

Reflashing the bios was reasonably straightforward, although I failed to read the instruction which said ‘change the default IP address if you want to be able to find this thing on the network post-install’ – if you leave the IP address at it’s default, the debian installer will use DHCP, but there’s no easy way to find out what address has been allocated (nmap -sP to the rescue!).

Installing the operating system was also pretty easy. The only caveat is that the re’s not enough RAM to format a large disk (I used a 500G WD) during installation. The solution is to create a small-ish root partition (mine is 4G) and swap space (another 2G), then partition the rest of the disk once the install’s finished.

I’ve since installed Samba (windows file sharing), Twonky (UPnP audio streaming) and BIND (cacheing DNS server; Orange LiveBox DNS sucks badly). OpenSSL is installed as part of the base setup, so sFTP works out of the box, meaning that I can mount the file systems from linux boxes pretty straightforwardly (without having to rely on SMBFS). Next to try is a Squid web proxy, mt-daap to serve up my MP3 collection to any itunes clients that don’t have a copy,and and imap server, with a copy of my Gmail mailbox on it. I’ve enabled port forwarding on my router to allow port 22 (SSH) through to the box too, so I can access it (and tunnel any other ports as needed) from the outside world.

So far, it’s all been very straightforward. I can’t quite decide if, once the novelty value has worn off, I’ll use anything other than the file-serving capabilities, but even if I don’t, it’s a pretty cheap way to get an (expandable) half-TB of backup space.


- One comment Not publicly viewable

  1. KenPem

    Apart from uNSLUng and Debian, there are also OpenWRT, SlugOS and a few more obscure distributions for those who really like to explore the boundaries of life. http://www.nslu2-linux.org/ is a good place to start.

    For people without another Linux box handy to tell you what the new IP of the darn thing is after a Debian install (yes, it caught me too), most routers will tell you which IPs have been handed out by DHCP, so it should be simple to track it down. If you’re not at all familiar with Debiam, I’d recommend the uNSLUng distro, as it maintains all the LinkSys functionality and still allows you to configure things through the web interface, while at the same time allowing you access to the optware library of packages.

    As a simple file-server, as you say, it’s good enough. And uses minimal power and generates no noise. By far my favourite application for this little wonder is the mt-daapd service, which lets me keep my entire music collection on one (backed-up!) HDD, but listen to it from any PC (and SoundBridge, etc) on the network.

    A must-have toy for today’s geek! The only downside to it is that it is just too tempting to keep fiddling with it – and breaking things!

    10 Mar 2008, 09:58


Add a comment

You are not allowed to comment on this entry as it has restricted commenting permissions.

Most recent entries

Loading…

Search this blog

on twitter...


    Tags

    Not signed in
    Sign in

    Powered by BlogBuilder
    © MMXVIII