linksys Network Storage Link NSL openwrt install

Notes taken while I was installing openwrt to a Cisco/Linksys NSL.

Get the openwrt firmware from openwrt kamikaze slug-firmware

# mkdir nsl-openwrt;mv openwrt-kamikaze-7.09-nslu2.zip nsl-openwrt;cd nsl-openwrt
# unzip openwrt-kamikaze-7.09-nslu2.zip


Install upslug2
# apt-get install upslug2


Put the NSL into upgrade MODE.

Power off - unplug the power cord.

Plug in the power cord and then while holding the reset button with a pushpin or a paper-clip hit the power button

Once the Ready/Status LED change to Dark Orange from Orange release the Reset Button

If the Ready/Status LED is flashing dark-orange/green you succeeded ,
Else you did not release the Ready/Status LED soon enough --Try again.


Figure out if the NSL is into upgrade mode.
# upslug2 -d eth0
NSLU2     00:1d:7e:aa:17:3a Product ID: 1 Protocol ID: 0 Firmware Version: R23V63 [0x2363]


Install the openwrt-kamikaze image
# upslug2 -d eth0 -t 00:1d:7e:aa:17:3b -i openwrt-kamikaze-7.09-nslu2.bin
Upgrading LKGAA173B 00:1d:7e:aa:17:3b
    . original flash contents  * packet timed out
    ! being erased             - erased
    u being upgraded           U upgraded
    v being verified           V verified 

  Display:
     
+ Status: * timeout occured + sequence error detected 7fffff+000000 ...VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV Rebooting... done


Now, the NSL will send DHCP Discover Broadcasts and try to get 192.168.1.77.
After watching ethereal for a few minutes, I just created an 192.168.1.0/24 network with a DHCP server for it and put the NSL there.

Once 192.168.1.77 pongs you should be able to set the password at http://192.168.1.77 or through ssh upon loging in with root:root

Set up network in /etc/config/network, shutdown and plug it into the real network.

check CPU, RAM and `Disk` Info


BusyBox v1.4.2 (2007-12-28 10:50:24 UTC) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 KAMIKAZE (7.09) -----------------------------------
  * 10 oz Vodka       Shake well with ice and strain
  * 10 oz Triple sec  mixture into 10 shot glasses.
  * 10 oz lime juice  Salute!
 ---------------------------------------------------
root@OpenWrt:~# cat /proc/cpuinfo 
Processor : XScale-IXP42x Family rev 2 (v5b)
BogoMIPS : 266.24
Features : swp half fastmult edsp 
CPU implementer : 0x69
CPU architecture: 5TE
CPU variant : 0x0
CPU part : 0x41f
CPU revision : 2
Cache type : undefined 5
Cache clean : undefined 5
Cache lockdown : undefined 5
Cache format : Harvard
I size  : 32768
I assoc  : 32
I line length : 32
I sets  : 32
D size  : 32768
D assoc  : 32
D line length : 32
D sets  : 32

Hardware : Linksys NSLU2
Revision : 0000
Serial  : 0000000000000000
root@OpenWrt:~# cat /proc/meminfo 
MemTotal:        30472 kB
MemFree:         21412 kB
Buffers:           848 kB
Cached:           2552 kB
SwapCached:          0 kB
Active:           2464 kB
Inactive:         1784 kB
SwapTotal:           0 kB
SwapFree:            0 kB
Dirty:               0 kB
Writeback:           0 kB
AnonPages:         896 kB
Mapped:            760 kB
Slab:             3276 kB
SReclaimable:     1392 kB
SUnreclaim:       1884 kB
PageTables:        156 kB
NFS_Unstable:        0 kB
Bounce:              0 kB
CommitLimit:     15236 kB
Committed_AS:     2904 kB
VmallocTotal:   991232 kB
VmallocUsed:     16828 kB
VmallocChunk:   966652 kB
root@OpenWrt:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/mtdblock5            5.4M    400.0k      5.0M   7% /jffs
mini_fo:/jffs             1.0M      1.0M         0 100% /
root@OpenWrt:~# 

Not Bad!




Put OpenWrt on a Linksys Network Storage Link NSL