ArticleslgStudy

computer science

NSLU2

NSLU2 is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand NSLU2 rather than just read about it. In short: The NSLU2 (Network Storage Link for USB 2.0 Disk Drives) is a network-attached storage (NAS) device made by Linksys introduced in 2004 and discontinued in 2008. It makes USB flash memory and hard disks accessible over a network using the SMB protocol (also known as Windows file sharing or CIFS).

NSLU2 — main illustration
NSLU2 — illustration

Key takeaways

  • NSLU2 belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect NSLU2 to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of NSLU2 from memory before moving on to harder problems.

Reference excerpt

The NSLU2 (Network Storage Link for USB 2.0 Disk Drives) is a network-attached storage (NAS) device made by Linksys introduced in 2004 and discontinued in 2008. It makes USB flash memory and hard disks accessible over a network using the SMB protocol (also known as Windows file sharing or CIFS). It was superseded mainly by the NAS200 (enclosure type storage link) and in another sense by the WRT600N and WRT300N/350N which both combine a Wi-Fi router with a storage link. The device runs a modified version of Linux and by default, formats hard disks with the ext3 filesystem, but a firmware upgrade from Linksys adds the ability to use NTFS and FAT32 formatted drives with the device for better Windows compatibility. The device has a web interface from which the various advanced features can be configured, including user and group permissions and networking options.

Hardware The device has two USB 2.0 ports for connecting hard disks and uses an ARM-compatible Intel XScale IXP420 CPU. In models manufactured prior to around April 2006, Linksys had underclocked the processor to 133 MHz, though a simple hardware modification to remove this restriction is possible. Later models (circa. May 2006) are clocked at the rated speed of 266 MHz. The device includes 32 MB of SDRAM, and 8 MB of flash memory. It also has a 100 Mbit/s Ethernet network connection. The NSLU2 is fanless, making it completely silent.

User community Stock, the device runs a customised version of Linux. Linksys was required to release their source code as per the terms of the GNU General Public License. Due to the availability of source code, the NSLU2's use of well-documented commodity components and its relatively low price, there are several community projects centered around it, including hardware modifications, alternative firmware images, and alternative operating systems with varying degrees of reconfiguration.

Hardware modifications

Unofficial hardware modifications include:

Doubling the clock frequency on underclocked units. As of summer 2006, the NSLU2 was sold without the "underclocking" Addition of a serial port Addition of a JTAG port Enabling extra USB ports Addition of extra memory NSLU2 units that have had their memory upgraded are commonly referred to as 'FatSlugs' Devices have been successfully upgraded to 64 MB but not stable operation with 128 MB and 256 MB of RAM The version with 256 MB RAM and 16 MB flash (twice the standard amount) has been nicknamed 'ObeseSlug' Forced Power On Adding an HD44780 controlled dot matrix display

Alternative firmware

Most of the alternative firmware projects are no longer functional. However OpenWrt claims to still be working to maintain support for the device. There were two main replacement firmware images available for the device: the first is Unslung which was based on the official Linksys firmware with some improvements and features added. Optware packages were available to expand functionality. The other was SlugOS/BE (formerly OpenSlug), which was based on the OpenEmbedded framework. SlugOS/BE allowed users to re-flash the device with a minimal Linux system including an SSH server to allow remote access. Once installed, the operating system had to be moved to an attached hard disk due to the lack of space available on the flash memory. Once this had been done, a wide range of additional packages were available to be installed from an Internet repository. It was also possible to run Debian, Gentoo, FreeBSD, NetBSD, OpenBSD, and Ubuntu on the device. The ability to run an unrestricted operating system on the device opened up a whole new range of uses. Some common uses were a web server, mail server, DAAP server (iTunes), XLink Kai, UPnP AV MediaServers, BitTorrent client, FreeSWITCH, asterisk PBX and network router (with the attachment of a USB network interface/USB modem). German programmer Boris Pasternak developed the weather server program/server Meteohub as an inexpensive way to gather weather sensor data from personal weather stations ("PWS") and allow it to be posted on a number of online weather services including Weather Underground, Weatherbug, Citizens Weather Observation Program (CWOP), and many others. An NSLU2 with Unslung firmware could be interfaced with a Topfield TF5800 personal video recorder (PVR) to allow an electronic programme guide (EPG) to be automatically downloaded from the Internet and transferred to the PVR.

Problems As with most NASs, the device is not immediately compatible with Windows Vista or 7, as it runs an older version of Samba that uses an authentication mechanism that is disabled by default in later versions of Windows. Ways of enabling the older (and less secure) authentication are available. The device will not power on automatically when it gets power from an external supply. This might be a problem in an environment where power failures are frequent. Automatic-power-on is possible only with one of several external or internal hardware or wiring modifications.

Awards The NSLU2 won the "Most Innovative in Networking" Reader Award in the Tom's Hardware 2004 Awards.

Similar Devices Buffalo LinkStation SheevaPlug Belkin Home Base F5L049 Archived 2009-09-22 at the Wayback Machine (with GPL firmware)

See also Buffalo network-attached storage series

References

External links

Archived NSLU2 Product Information at Linksys from 2011 Current Linksys NSLU2 Product Information Page

Illustrations

NSLU2: NSLU2 Side View
NSLU2 Side View
NSLU2: NSLU2 mainboard/PCB
NSLU2 mainboard/PCB

Worked examples

Example 1 — a first encounter with NSLU2

Start with the simplest possible case. Write down what NSLU2 claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to NSLU2 before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about NSLU2 ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of NSLU2

In research
NSLU2 appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses NSLU2 in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
NSLU2 is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computer-related introductions in 2004, Linksys, Linux-based devices, so understanding it makes those chapters shorter.
In everyday life
Look for NSLU2 outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “NSLU2” →

How to study NSLU2 in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what NSLU2 means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain NSLU2 out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is NSLU2 in simple terms?

The NSLU2 (Network Storage Link for USB 2.0 Disk Drives) is a network-attached storage (NAS) device made by Linksys introduced in 2004 and discontinued in 2008. It makes USB flash memory and hard disks accessible over a network using the SMB protocol (also known as Windows file sharing or CIFS).

Why does NSLU2 matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study NSLU2?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on NSLU2.

Tags

  • Computer-related introductions in 2004
  • Linksys
  • Linux-based devices
  • NSLU2-Linux
  • Server appliance

Keep exploring