Sunday, November 26, 2006

Need 4 speed


Crap,
seems we have to bring out the good old solder iron and apply the un-underclock patch ;)

cat /proc/cpuinfo

...gives us 132.71 Bogo MIPS ;(

Catch the bootloader

Copy and paste the following and put into a file (redboot.exp):

#!/bin/sh
# the next line restarts using expect interpreter \
  exec expect "$0" "$@"

exp_internal 0
log_user 0
exp_internal -f "/tmp/redboot-int.log" 0
set logfile [open "/tmp/redboot.log" "a"]

spawn arping -f 192.168.0.1
set timeout 45
puts $logfile "Spawn started (arping)"; flush $logfile
expect EOF

spawn telnet 192.168.0.1 9000
set timeout 45
expect "enter ^C to abort"
send "\003"

expect "RedBoot>"
send_user "RedBoot> "
interact

Root access

After initially installed a new system, it's good to know how to access it ;)

I chose to install the SlugOS/LE, but all Slug based distos share the same initial root FS and configs (look here for passwd reference).

Only ssh is running, but you can access the device as root:

ssh -l root 192.168.1.77

The password is either opeNSLUg or OpenSlug