Michael Still Google Inc. October, 2006. 2 Linux on the Linksys NSLU2 Solving all your problems with little NAS boxes Michael Still Google, Inc. October,

Slides:



Advertisements
Similar presentations
Creating a Digital Picture Frame John Martin Summer 2006 EDIT 6000.
Advertisements

Computer Basics Hit List of Items to Talk About ● What and when to use left, right, middle, double and triple click? What and when to use left, right,
Installation of Ubuntu on a Virtual machine. VirtualBox allows you to run an entire operating system inside another operating system. Please be aware.
Computer Basics I Course Outline 1: What is a computer? 2: What is an operating system? Using a Desktop Computer 3: What are the basic parts of a desktop.
Linux on commodity network H/W Josh Parsons LUGOD talk August 15 th 2005.
Computer Memory GCSE Computing.
Handheld TFTP Server with USB Andrew Pangborn Michael Nusinov RIT Computer Engineering – CE Design 03/20/2008.
Hacking WRT54G with Linux Presentation Prepared By:Dan Scarberry TJ Dziedzinski Jeremy Leung 2114.
Computer Terminology … Remember: Knowledge is Power!
Post install; Live CD Chapter II / Part 1I. Post install After install completes, take out the install CD/DVD Reboot Check if boot loader is working properly.
Chapter 2 INSTALLTION OF LINUX DISTRIBUTION. Minimum hardware requirement 1) DVD drive: You must have a DVD drive (either DVD-ROM or DVD burner), and.
Installation Ubuntu for Libraries. Step 1: Download Head on to Pick Ubuntu LTS; just click the big orange.
Welcome to the Milagrow Universe
Embedded Programming and Robotics Lesson 12 Introducing the Raspberry Pi Intro to Raspberry Pi1.
Developed by Klaus Knopper Linux Consultant. What is Knoppix?  Unix-like operating system  Run directly from CD or DVD  Bootable from USB flash drive.
Using BioSlax and the BioSlax Server Tin Wee Tan National University of Singapore.
Troubleshooting Guide for Network Hard Disk. Model - NH-200.
This PowerPoint is a quick guide to configuration of SheepShaver (v 2.3) for running Mac OS 8.5 to on a PC under Windows XP This is a helper. In.
One to One instructions Installing and configuring samba on Ubuntu Linux to enable Linux to share files and documents with Windows XP.
Lesson 3 How to Construct Your Own Personal Computer.
Chapter 4 Operating Systems and File Management. 4 Chapter 4: Operating Systems and File Management 2 Chapter Contents  Section A: Operating System Basics.
Chromium OS is an open-source project that aims to build an operating system that provides a fast, simple, and more secure computing experience for people.
Tutorial 11 Installing, Updating, and Configuring Software
Mark Recoskie November 14, Agenda  Quick review of value proposition  Review of Warp r1v2 hardware and software  What’s new in Warp 3.0 hardware?
Computers in the real world Objectives Understand what is meant by memory Difference between RAM and ROM Look at how memory affects the performance of.
4 1 Operating System Activities  An operating system is a type of system software that acts as the master controller for all activities that take place.
Hands-On Virtual Computing
CPU (CENTRAL PROCESSING UNIT): processor chip (computer’s brain) found on the motherboard.
Introduction to Computers By: Najam Khan What we will learn about: Hardware: The term used to describe the physical parts of a computer. Ex. The box,
Using Moodle This is a rough draft of instructions for teachers to use Moodle in lieu of the in- service that is held periodically. Call me if you need.
INFO1 – Practical problem solving in the digital world
Move Pictures From Your Mobile Phone to Your PC.  You never know when a photo opportunity is going to arise, which is why having a camera phone can be.
Xen Virtualization Last Update Copyright 2011 Kenneth M. Chipps Ph.D.
Iomega iConnect Wireless Datastation Training Presentation
Installation Overview Lab#2 1Hanin Abdulrahman. Installing Ubuntu Linux is the process of copying operating system files from a CD, DVD, or USB flash.
Itty Bitty Computer Directions on how to install Linux on your flash drive and have the smallest computer you can afford right now!
2 pt 3 pt 4 pt 5pt 1 pt 2 pt 3 pt 4 pt 5 pt 1 pt 2pt 3 pt 4pt 5 pt 1pt 2pt 3 pt 4 pt 5 pt 1 pt 2 pt 3 pt 4pt 5 pt 1pt Internet Hardware Computer Literate.
SAM9260-EK WinCE DEMO AT91 SAM9 Product Group. Version 1.0 October 2006.
Michael Still Google Inc. October, Linux on the Linksys NSLU2 Solving all your problems with little NAS boxes Michael Still Google, Inc. October,
Brian Hixenbaugh Network Managment. My Home Network.
SAM9260-EK WinCE DEMO AT91 SAM9 Product Group. Version 1.0 October 2006.
Getting To Know Computers COMPUTER BASICS. WHAT IS A COMPUTER? A computer is an electronic device that manipulates information, or “data.” It has the.
1 Copyright © 2015 Pexus LLC Patriot PS Personal Server Installing Patriot PS ISO Image on.
Complete System Backup Microsoft Acronis TimeMachine (Mac)
3A.List and describe the events that take place during the boot process. POWER SUPPLY THE POWER SUPPLY SENDS A SIGNAL TO THE COMPENENTS IN THE SYSTEM UNIT.
2007 TAX YEARERO TRAINING - MODULE 61 ERO (Transmitter) Training Module 6 Federal and State Installation and Updates.
The 2001 Tier-1 prototype for LHCb-Italy Vincenzo Vagnoni Genève, November 2000.
 Contents 1.Introduction about operating system. 2. Minimum requirement for Windows 7 operating system. 3. Procedure to install Window 7 operating system.
HOW TO INSTALL WINDOWS 7? This step-by-step guide demonstrates how to install Windows 7 Ultimate. The guide is similar for other versions of Windows 7.
Computer Hardware & Processing Inside the Box CSC September 16, 2010.
How Much Do I Remember? Are you ready to play.....
 Prepared by: Eng. Maryam Adel Abdel-Hady
Linux for iPAQ RTLAB / Lee, Seungryun.
Plug Computers What they are, and what they can do!
Embedded Linux By Gus Wirth. What makes it embedded? ● Rather nebulous, line has blurred over the years ● Limited purpose ● Small resources compared to.
PC Backup & Recovery. Why Backup? ● It's virtually guaranteed if you use computers that eventually, something will happen that will require you to restore.
Andrea Chierici Virtualization tutorial Catania 1-3 dicember 2010
Operating System Kernel Compilation
Implementation of Embedded OS
Computer System Laboratory
How to Bypass Windows 8 Password without Reset Disk
Hardware Components By Charlie Leivers.
Computer Basics.
Operating System Kernel Compilation
Building an Internet of Things Device
Different types of Linux installation
Overview 1. Inside a PC 2. The Motherboard 3. RAM the 'brains' 4. ROM
Operating System Kernel Compilation
WINDOW 7 INSTALLATION Prepared By:- Mr. Pawan Kumar
Presentation transcript:

Michael Still Google Inc. October, 2006

2 Linux on the Linksys NSLU2 Solving all your problems with little NAS boxes Michael Still Google, Inc. October, 2006

3 Who is this guy and what does he do at Google?

4 Linksys NSLU2 NAS boxes Consumer grade network attached storage 2 USB 2.0 ports 100 Mbit Wired Ethernet 133 Mhz processor 32 MB of RAM Cheap ($60 USD+) Linux

5 Agenda I want to cover: How to run your own Linux How to rescue yourself from a bad flash attempt Some ideas for projects involving NSLU2s

6 How to run your own Linux The process Download new firmware and upslug2 (the uploader) – – age_id= Build upslug2 Use the upgrade button pressing process – – You'll need a third arm here Run upslug2 with the new image, and watch it download – sudo./upslug2 -i path to firmware image from before

7 Demo

8 What did that give us? DebianSlug A Debian install based on OpenSlug – ipkg for package management – Very small – More limited package options Use turnup to bless a new root file system – That can be a USB thumb drive or a USB hard disk

9 Debian Unstable The next step is Debian Unstable Use the bootstrap process defined at: – – Very slow Use turnup to bless the new root file system

10 Demo

11 Kernel modules There don't appear to be any Debian ARM kernel modules You need to use the pre-compiled ones from: – modules/kernel _preempt/ – Extract the package, grab the kernel module, and install it wget URL to download ar -x download.ipk tar xvzf data.tar.gz cd lib/modules/2.6.16/kernel/... Copy that to the slug, and don't forget to run depmod -a

12 Recovering from a bad flash My first attempt at flashing resulted in a brick It's really easy to recover though Download the Linksys firmware, and put it on a web server sudo arping -f ; telnet Now power cycle the slug You have two seconds to hit control-c to stop a normal boot You end up in RedBoot – A network aware boot loader

13 Recovering from a bad flash continued My first attempt at flashing resulted in a brick Now download the firmware from the web server ip_address -h load -r -v -b 0x h m http /NSLU2_V23R25.bin fis write -f 0x b 0x l 0x7a0000 reset The slug will power cycle You're back at the Linksys firmware, and ready to try again

14 Demo

15 Over clocking The slug's CPU is intended to run at 266MHz Remove a single resistor to over clock the device

16 Completely un-scientific testing I am mainly interested in slugs as ATA over Ethernet NAS devices Compare performance of various firmware options Methodology – Use postmark set size set number 2000 set transactions set location /mnt set report verbose run

17 Postmark results postmark will give you back results like this: Time: 149 seconds total 148 seconds of transactions (337 per second) Files: created (182 per second) Creation alone: 2000 files (2000 per second) Mixed with transactions: files (170 per second) read (168 per second) appended (166 per second) deleted (182 per second) Deletion alone: 2340 files (2340 per second) Mixed with transactions: files (167 per second) Data: megabytes read (1.00 megabytes per second) megabytes written (1.09 megabytes per second)

18 Permutations tested USB2 connection to desktop PC SMB using the Linksys firmware SMB using DebianSlug SMB using Debian Unstable ATA over Ethernet using Debian Unstable USB2 using Debian Unstable USB2 using Debian Unstable on an over clocked device SMB using Debian Unstable on an over clocked device ATA over Ethernet using Debian Unstable on an over clocked device

19 Results: Total time for bench mark run (seconds)

20 Results: Operations per second

21 Results: Operations per second

22 Results: Throughput (megabytes per second)

23 Using a NSLU2 for storage It would seem that the fastest option is ATA over Ethernet on an over clocked NSLU2 Even running Samba on your own version of the firmware is going to give significant performance improvements

24 Other project ideas There are lots of things you can do with low powered Linux machines with USB Car computing (with a USB wireless card) GPS data logging (USB GPS) Small sound player (with USB sound card and USB remote control) Many other things you can think of...

25 Questions? Any questions?

26 One final note Google is hiring, both domestically within Australia, and Internationally. Talk to me or one of the other Googlers we have at the conference if you want to know more.

27 Oh yeah, another final note I don't really want to take all these NSLUs back to the US, so I should negotiate with the conference organizers the best way to give two of them away...

Michael Still Google, Inc.