Tim Hastings - NonHostile (because there's no need)

Weblog and collection of geeky articles.

  Home :: Who? :: Contact :: Links :: Subscribe subscribe
Abigail Kira HastingsAbigail Photos, 10½ MonthsReading University Radstock Reunion - 10 Years In The Making
This post is trumpeting the successful installation of Debian onto a Linksys NSLU2 Network Storage Link.

The unit is a Network Attached Storage (NAS) server which allows upto two USB hard drive or flash drive to be network accessible from anywhere. There are lots of different firmware replacements available developed by the open source community and these allow you to use the NSLU2 as a dedicated Linux box.

The NSLU2's specs are:
  • 266Mhz ARM Intel XScale CPU
  • 32MB SDRAM
  • 8MB Flash
  • 10/100 RJ-45 Ethernet port
  • 2 USB 2.0 ports
  • 5V DC power consumption (solar power?)
I used a 4GB USB flash drive as the boot disk which I needed to manually partition as the instructions say you need at least 256MB for swap partition, but the Guided Partitioning process made approximately 93MB for swap. Below is a record of my settings:

My partitions were configured as:
3.7GB – Primary partition, used for ext3, bootable, mounted as /
380MB – Logical partition, used for swap (lots more than the recommended 256MB)

Changing the hostname from the serial number:
    echo slug > /etc/hostname
Modified /etc/network/interfaces to end with:
    # The primary network interface
    allow-hotplug eth0
    iface eth0 inet dhcp
        hostname slug
Links
That’s no moon, it’s a server!

5 comments, Linux, Thursday, July 17, 2008 23:37

Comments
Welcome to the community.

Posted by: Rod Whitby on Friday, July 18, 2008 04:03
Mwaaaahh! Mwaaaahhhh!

Posted by: Dr Evil on Friday, July 18, 2008 09:33
Excellent work Tim! I've always had a hankering for a Linksys NAS - especially since they are only around £60. Considering the new ASus EeePC's come with as little as 2GB and Linux pre-installed, I knew getting a decent O/S on the box was feasible. (They use a Xandros I believe) Nice one! :D

Posted by: Nigel on Sunday, July 20, 2008 20:53
Excellent work Tim - I cannot think of any justification for me buying one of these, and yet I now utterly want one.

P.S. Did you saw any chairs in half during this installation?

Posted by: John on Monday, July 21, 2008 08:47
Wow - and you can now pick up a 320GB USB hard drive (one of those small ones that needs no external power supply) for about a hundred quid.

Posted by: John on Monday, July 21, 2008 08:56

Post a Comment
Name:  Home page and email address are optional.
  Email addresses will not be displayed or spammed!
Remember these details
Email:
Home Page:
Comment:
Comments cannot contain HTML, URLs will be formatted into hyperlinks.
I reserve the right to remove any comments for any reason.