Click here to learn
about this Sponsor:
Home  |  News  |  Articles  |  Polls  |  Forum

Keywords: Match:
Linux-based SLUG spawns highly hackable NAS
Sep. 06, 2007

Cisco's consumer products division is shipping a successor to the Linux-based NSLU2 (aka "SLUG") consumer NAS (network-attached storage) appliance, one of the most-hacked devices ever. The NAS200 has room for two internal SATA drives, supports FAT32-formatted external USB 2.0 drives, and comes with UPnP media-sharing software.

(Click for larger view of NAS200)

Spread the word:
digg this story
As delivered out of the box, the NAS200 appears to be a very simple consumer device aimed at Windows PC users, or at least users with SMB-based networks. However, a nicely organized source code tree and a system-on-chip processor executing applications built for the 486 architecture could ultimately make the NAS200 even more popular with hackers than the NSLU2, for which multiple alternative firmware builds have cropped up.

The NAS200's stock firmware supports only Windows networking. Missing are the more esoteric file-sharing protocols of more expensive home NAS servers -- ftps, https, rsync, nfs, scp, and so on -- as are more expensive hardware features, such as gigabit Ethernet and WiFi.

On the upside, there is a web interface, which appears configurable to offer both open and password-protected shares. And, a download manager allows users to paste in an ftp or http file resource locater, to download, for example, movies directly to the storage device.


NAS200's download manager
(Click to enlarge)

Another nice feature is a built-in UPnP server. If executed correctly, this feature should enable any computer on the same subnet to access music, photos, and videos stored on the NAS200.


The NAS200's UPnP config screen
(Click to enlarge)

Users can purchase the NAS200 standalone, for use with USB hard drives (FAT32 appears to be the sole supported filesystem). They can later add one or two internal drives. Simple-Simon web-based configuration screens provide the option to configure both internal drives as a single logical unit, and to add redundancy and/or striping.

Users can also connect and optionally format USB drives with up to four partitions; a pair of high-speed (480Mbps) USB 2.0 host ports are included on the rear panel. Scheduled backups also appear to be supported, possibly in conjunction with Windows-based client utilities.

What's under the hood?

LinkSys offers a massive 240+ MB download of GPL-licensed code for the NAS200. To date, however, the NAS200 does not appear to have attracted any community developers interested in replacing Samba with NFS, adding rsync, or other improvements.

In fairness, the NAS200 appears to be fairly new to the market; in time, the NAS200 could well outshine the famous NSLU2, a device so popular with hackers that it is supported by Debian's newest installers, and is largely credited with making ARM the third-most popular Debian architecture.

LinkSys's software download for the NAS200 includes source code for both Linux 2.6.19 and eCos 2.0. This is probably because the device uses the redboot bootloader, which is built as an application on top of eCos.

LinkSys was kind enough to include a .config file in the 2.6.19 source code tree, as well as makefiles for building both Linux and redboot. The Linux tree appears to be configured for a 486-class processor with ACPI and Transmeta's LongRun power-saving technology.

Reports on the web suggest that the processor delivers 44 "Bogomips," and to be an RDC R3210-G (PDF datasheet download). This RISC-based SoC executes a 486 instruction set, similar to the RDC SoCs that have powered tiny Linux-based wireless access points from half a dozen companies.


RDC's R3210 architecture diagram
(Click to enlarge)

The .config file also includes serial interface support, suggesting the NAS200's board may have pin headers or solder points for a serial console interface. A post at NSLU2-linux.org suggests the console port to be located at JP1.

The NAS200 appears to have 8MB of flash storage memory. Of that, a Linux filesystem appears to account for 5.2MB. Mounting the filesystem's ROM image (supplied by Linksys in the source-code download) using Linux's loopback device suggests that the NAS200 includes busybox, tinylogin, an ash shell, date and hwclock (the device supports NTP updates), and ftp. Other open source applications present include libupnp, cron, hdparm, lvm, smtpclient, sfdisk, mdadm, mksquashfs, devmapper, inetd, samba-3.0.22 (pre-GPLv3), smartmontools, thhtpd, udhcp, xfsprogs, and wget.

Availability

The NAS200 appears to be widely available, priced at about $130 without drives.


--Henry Kingman




Related Stories:


(Click here for further information)


7 Advantages of D2D Backup
For decades, tape has been the backup medium of choice. But, now, disk-to-disk (D2D) backup is gaining in favor. Learn why you should make the move in this whitepaper.

4 Legal Reasons to Control Internet Access
The Internet is obviously a valuable resource for many organizations. However, many are exposed to legal liability concerns because they fail to control Internet access. Learn if you're safe in this white paper.

Rapidly Resolve J2EE Application Problems
Whether you are in the process of building J2EE applications or have J2EE applications already running in production, you must ensure that they deliver the expected ROI. Learn how in this white paper.

Load Testing 2.0 for Web 2.0
There are many unknowns in stress testing Web 2.0 applications. Find out how to test the performance of Web 2.0 in this white paper.

Build Better Games Online
For the game infrastructure providers, life is complex. Making money from games has become more complicated. Why? Find out in this white paper.

Building a Virtual Infrastructure from Servers to Storage
This white paper discusses the virtual storage solutions that reduce cost, increase storage utilization, and address the challenges of backing up and restoring Server environments.

Gaining Faster Wireless Connections with WiMAX
Welcome to what is quickly becoming the hyperconnected world where anything that would benefit from being connected to the network will be connected. Learn more in this white paper.

Is Your Desktop a Security Threat?
The new wave of sophisticated crimeware not only targets specific companies, but also targets desktops and laptops as backdoor entryways into those business’ operations and resources. Learn how to stay safe in this white paper.

Increasing SAN Reliability by 100 Percent
Storage area networks (SAN) are a strong part of storage plans. Learn how to increase your reliability and uptime by 100 percent in this case study.

 


Got a HOT tip?   please tell us!
Free weekly newsletter
Enter your email...
Click here for a profile of each sponsor:
PLATINUM SPONSORS
GOLD SPONSORS
(Become a sponsor)

ADVERTISEMENT
(Advertise here)

Check out the latest Linux powered...

mobile phones!

other cool
gadgets
HOWTOs: from DevShed & IBM DeveloperWorks:



BREAKING NEWS

• Linux device monitors networks
• Linux gets security black eye
• Debian adding low-power NAS devices
• Microsoft frees poor children from Linux struggles
• Open source awards open for nominations
• Atom-based ECX board runs Linux
• Tiny boards gain Linux cross-tools support
• Cross-platform tools vendor announces awards, earnings
• Little thin client runs Linux
• $7 Soc runs Linux
• Linux wins big in financial trading
• Linux-based remote access equipment adds monitoring
• Dual-core ARM SoC clocks to 1.2GHz
• Verizon Wireless, seven others join Linux phone org
• Android Developer Challenge announces first-round winners


Most popular stories -- past 30 days:
• Ubuntu ported to ARM
• Linux still top embedded OS
• Linux gains new architecture support
• Linux 2.6.25 release bolsters ARM
• Linux-based diskless notebook costs under $300
• Low-cost MP3 player gains fancy Linux port
• Dutch UMPC runs Ubuntu Linux
• Mini-notebook boasts Linux, near-fullsize keyboard
• PC/104 module runs x86 Linux on 1.85 Watts
• Low-cost Linux-based NAS device supports RAID 1
• Free router distro gains wild WiFi features


Linux-Watch headlines:
• Verizon chooses Linux "platform of choice"
• Hats off to Fedora 9
• Running a small business on desktop Linux
• Sun launches OpenSolaris
• Via tiptoes toward openness
• Linux certification comes to Italy
• Installing Ubuntu Hardy Heron as a web hosting server
• Black Duck Buys Koders
• Open source conference co-locates with Ubuntu show
• Ubuntu 8.04 ready to challenge Windows


Also visit our sister site:


Sign up for LinuxDevices.com's...

news feed

Home  |  News  |  Articles  |  Polls  |  Forum  |  About  |  Contact
 
Use of this site is governed by our Terms of Service and Privacy Policy. Except where otherwise specified, the contents of this site are copyright © 1999-2008 Ziff Davis Enterprise Holdings Inc. All Rights Reserved. Reproduction in whole or in part in any form or medium without express written permission of Ziff Davis Enterprise is prohibited. Linux is a registered trademark of Linus Torvalds. All other marks are the property of their respective owners.