Dreamplug - an introduction

Overview

So, you have just received your Dreamplug. If you are unfamiliar with embedded devices, getting started can be daunting. This document is aimed at getting started with the Dreamplug.

Before we start, you will nedd a SSH client. If you are a windows user you can use PuTTY from http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
The installer is simplest choice. For UNIX/MAC you can use ssh. If you do not know what ssh is then it is time to do some google searching.
You will also need a PC (Windows, UNIX or MAC) that has Wifi support. In its initial state the options for connecting to the Dreamplug are Wifi or the serial JTAG. The later versions of the Dreamplug have been modified to also support DHCP connections on both ethernet ports.This document assumes you do not have a JTAG.

References

The following reference links may be helpful:
The DreamPlug User Guide (pdf)
GuruPlug wiki
The Plug forum
Google downloads
How to disassemble
http://www.globalscaletechnologies.com/t-downloads.aspx
http://www.plugcomputer.org/

First things

Connecting via SSH
The Dreamplug user guide contains a detailed description of how assemble the Dreamplug and how to connect via WiFi. The Dreamplug provides an unsecured access point with a name of Dreamplug-uAP-xxx, where 'xxxx' is the last 4 digits of the MAC address.
Once you have a WiFi connection, you can access the Dreamplug via SSH (puTTY or similar).
The IP address of Dreamplug is 192.168.1.1 If this address clashes with another device on your network you will need to switch off that device.
Log on as user root, password is nosoup4u

Upgrade your distribution
This not required.
  apt-get update
  apt-get dist-upgrade
  apt-get autoremove
  apt-get autoclean
Set the time zone
dpkg-reconfigure tzdata
Reset the SSH keys
dpkg-reconfigure openssh-server
Set the password
passwd
Enabling the ethernet connection nearest the end of the plug
Edit the file '/etc/network/interfaces' e.g.
# nano /etc/network/interfaces
Append the lines
auto eth1
iface eth1 inet dhcp
OR if you know what you are doing (else ignore this) then:
auto eth1
iface eth1 inet static
        address 192.168.0.38
        netmask 255.255.255.0
        broadcast 192.168.0.255
        gateway 192.168.0.1
        hwaddress ether xx:xx:xx:xx:xx:xx
Save the file

Test the interface.
Connect a cable from your router/firewall to the ethernet connection nearest the end of the plug.
# ifdown eth1
# ifconfig eth1 down
# ifup eth1
# ip addr show eth1
Note the IP address, you should now be able to connect to this address with putty.
Securing the wifi
Edit the file '~/init_setup.sh' e.g.
# nano ~/init_setup.sh
Look for the lines like:
/usr/bin/uaputl sys_cfg_ssid $SSID
/usr/bin/uaputl bss_start
and change them to:
/usr/bin/uaputl sys_cfg_ssid $SSID
##
## start of added lines ##
## This uses either WPA or WPA2 security
/usr/bin/uaputl sys_cfg_protocol 40
/usr/bin/uaputl sys_cfg_wpa_passphrase 'mydreamplug'
/usr/bin/uaputl sys_cfg_cipher 8 8
## end of added lines ##
##
/usr/bin/uaputl bss_start
Save the file

Factory setup

OS Version
Debian Lenny with a 2.6.33.6 kernel
sheevaplug-debian:~# uname -a
Linux sheevaplug-debian 2.6.33.6 #1 PREEMPT Tue Feb 8 03:18:41 EST 2011 armv5tel GNU/Linux
sheevaplug-debian:~# cat /etc/debian_version
5.0.3
sheevaplug-debian:~# cat /etc/issue
Debian GNU/Linux 5.0 \n \l
sheevaplug-debian:~# cat /etc/issue.net
Debian GNU/Linux 5.0
sheevaplug-debian:~#
sheevaplug-debian:~# cat /etc/apt/sources.list
deb http://ftp.us.debian.org/debian/ lenny main contrib non-free
deb http://http.us.debian.org/debian stable main contrib non-free
deb http://security.debian.org lenny/updates main contrib non-free
deb http://www.backports.org/debian lenny-backports main contrib non-free
deb http://10.82.108.51/kedars/sheevaplug_wifi/builds/packages/ binary/
sheevaplug-debian:~#
Devices
On Debian the peripherals are mapped as follows:
  • Internal uSD - /dev/sda (always)
  • External SDHC - /dev/sdb (always)
  • USB Ports and ESATA /dev/sdc, /dev/sdd and /dev/sde (no specific order)
The Dreamplug is configured to autmount SD cards and USB drives when they are inserted.
Network
sheevaplug-debian:~# cat /etc/network/interfaces

# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
# /usr/share/doc/ifupdown/examples for more information.
auto lo
iface lo inet loopback
sheevaplug-debian:~# ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:280 (280.0 B)  TX bytes:280 (280.0 B)

uap0      Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::224:xx:xxxx:xxx/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:202 errors:0 dropped:0 overruns:0 frame:0
          TX packets:234 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:18786 (18.3 KiB)  TX bytes:47123 (46.0 KiB)

sheevaplug-debian:~#
/etc/rc.local
The wifi is set up by calling a script from rc.local
sheevaplug-debian:~# cat /etc/rc.local
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.



mount -a
mkdir -p /var/cache/apt/archives/partial

/root/init_setup.sh

sheevaplug-debian:~#
directory /root
sheevaplug-debian:~# ls -lR

.:
total 300
drwxr-xr-x 2 root root   4096 2011-04-28 21:43 firmware
-rwxr-xr-x 1 root root   1054 2011-04-28 22:58 init_setup.sh
-rw-r--r-- 1 root root  10671 2011-04-28 22:05 mcypt.ko
-rw-r--r-- 1 root root 214857 2011-04-28 22:05 sd8xxx.ko
-rw-r--r-- 1 root root  60825 2011-04-28 21:43 uap8xxx.ko

./firmware:
total 284
-rw-r--r-- 1 root root 278640 2011-04-28 21:43 sd8688.bin
-rw-r--r-- 1 root root   2616 2011-04-28 21:43 sd8688_helper.bin
sheevaplug-debian:~#
sheevaplug-debian:~# cat ~/init_setup.sh
#!/bin/sh

# This is called from /etc/rc.local to perform the initial setup.

# We always bootup in AP mode. Delete any stale files
rm -f /etc/wlanclient.mode
SSID=dream-uAP-`ifconfig uap0 | awk -F ":" '/HWaddr/ {print $6$7}'`

insmod /root/uap8xxx.ko
ifconfig uap0 192.168.1.1 up
/usr/bin/uaputl sys_cfg_ssid $SSID
/usr/bin/uaputl bss_start
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward
/etc/init.d/udhcpd start
/etc/init.d/dnsmasq start
iptables -A INPUT -i uap0 -p tcp -m tcp --dport 80 -j ACCEPT

# Re-enable bluetooth. In the earlier case, it didn't find the firmware.
#rmmod libertas_sdio libertas btmrvl_sdio btmrvl bluetooth 2>/dev/null
rmmod btmrvl_sdio btmrvl
/etc/init.d/bluetooth start

modprobe btmrvl_sdio
hciconfig hci0 up
hciconfig hci0 piscan
/usr/bin/mute-agent &

blinkled >> /dev/null

# Set leds
echo 1 > `eval ls /sys/class/leds/guruplug\:green\:wmode/brightness`
echo 0 > `eval ls /sys/class/leds/guruplug\:red\:wmode/brightness`

sheevaplug-debian:~#
The file system
sheevaplug-debian:~# df -ahT
Filesystem    Type    Size  Used Avail Use% Mounted on
tmpfs        tmpfs    251M     0  251M   0% /lib/init/rw
proc          proc       0     0     0   -  /proc
sysfs        sysfs       0     0     0   -  /sys
procbususb   usbfs       0     0     0   -  /proc/bus/usb
udev         tmpfs     10M  716K  9.4M   7% /dev
tmpfs        tmpfs    251M  4.0K  251M   1% /dev/shm
devpts      devpts       0     0     0   -  /dev/pts
rootfs      rootfs    1.8G  502M  1.2G  31% /
/dev/sda1     vfat    102M  3.8M   98M   4% /media/usb0
tmpfs        tmpfs    251M     0  251M   0% /var/cache/apt
sheevaplug-debian:~#
sheevaplug-debian:~# mount -v
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
rootfs on / type rootfs (rw)
/dev/sda1 on /media/usb0 type vfat (rw,noexec,nodev,sync,noatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
tmpfs on /var/cache/apt type tmpfs (rw,noexec,nosuid)
sheevaplug-debian:~#
sheevaplug-debian:~# cat /etc/fstab
udev                    /dev                    tmpfs   rw,mode=0755            0 0
tmpfs                   /var/cache/apt          tmpfs   rw,noexec,nosuid        0 0
tmpfs                   /dev/shm                tmpfs   rw,nosuid,nodev         0 0
devpts                  /dev/pts                devpts  rw,noexec,nosuid,gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   rw,noexec,nosuid,nodev        0 0
proc                    /proc                   proc    rw,noexec,nosuid,nodev        0 0
sheevaplug-debian:~#
/usr/bin/wlan.sh
sheevaplug-debian:~# cat $(which wlan.sh)
#!/bin/sh

# The firmware files are -> sd8688.bin & sd8688_helper.bin
# The firmware files need to be present in /lib/firmware
rmmod libertas_sdio libertas
cp /root/firmware/sd8688* /lib/firmware/
/etc/init.d/udhcpd stop
/etc/init.d/dnsmasq stop

echo 2 > /proc/uap/uap0/hwstatus
ifconfig uap0 down
rmmod uap8xxx

modprobe libertas_sdio

# This will be deleted on bootup.
# Bootup by-default is always AP mode.
touch /etc/wlanclient.mode
# Delete the firmware immediately so that next bootup is in AP mode.
rm -f /lib/firmware/sd8688*

# The newly created interface will be eth(n)

# The following command lists all the available wireless networks
# iwlist  scanning
# To connect to a particular SSID
# iwconfig  

#Set leds for client mode
echo 0 > `eval ls /sys/class/leds/guruplug\:green\:wmode/brightness`
echo 1 > `eval ls /sys/class/leds/guruplug\:red\:wmode/brightness`


sheevaplug-debian:~#
uBoot Environment
Marvell>> version

U-Boot 2011.06-02334-g8f495d9-dirty (Mar 28 2011 - 05:21:06)
Marvell-DreamPlug
Marvell>> bdinfo
arch_number = 0x00000A63
env_t       = 0x00000000
boot_params = 0x00000100
DRAM bank   = 0x00000000
-> start    = 0x00000000
-> size     = 0x10000000
DRAM bank   = 0x00000001
-> start    = 0x10000000
-> size     = 0x10000000
DRAM bank   = 0x00000002
-> start    = 0x00000000
-> size     = 0x00000000
DRAM bank   = 0x00000003
-> start    = 0x00000000
-> size     = 0x00000000
ethaddr     = F0:AD:4E:00:79:B1
ip_addr     = 0.0.0.0
baudrate    = 115200 bps
Marvell>> coninfo
List of available devices:
serial   80000003 SIO stdin stdout stderr
nc       80000003 SIO
Marvell>>
Marvell>> print
bootcmd=setenv ethact egiga0; ${x_bootcmd_ethernet}; setenv ethact egiga1; ${x_bootcmd_ethernet}; ${x_bootcmd_usb}; ${x_bootcmd_kernel}; setenv bootargs ${x_bootargs} ${x_bootargs_root}; bootm 0x6400000;
bootdelay=3
baudrate=115200
x_bootcmd_ethernet=ping 192.168.2.1
x_bootcmd_usb=usb start
x_bootcmd_kernel=fatload usb 0 0x6400000 uImage
x_bootargs=console=ttyS0,115200
x_bootargs_root=root=/dev/sda2 rootdelay=10
ethact=egiga0
ethaddr=xx:xx:xx:xx:xx:B1
eth1addr=xx:xx:xx:xx:xx:B2
stdin=serial
stdout=serial
stderr=serial
Console Boot log
U-Boot 2011.06-02334-g8f495d9-dirty (Mar 28 2011 - 05:21:06)
Marvell-DreamPlug

SoC:   Kirkwood 88F6281_A0
DRAM:  512 MiB
SF: Detected MX25L1606 with page size 256, total 1 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0, egiga1
88E1121 Initialized on egiga0
88E1121 Initialized on egiga1
Hit any key to stop autoboot:  0
No link on egiga0
*** ERROR: `ipaddr' not set
ping failed; host 192.168.2.1 is not alive
*** ERROR: `ipaddr' not set
ping failed; host 192.168.2.1 is not alive
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 4 USB Device(s) found
       scanning bus for storage devices... Device NOT ready
   Request Sense returned 02 3A 00
2 Storage Device(s) found
reading uImage

2712400 bytes read
## Booting kernel from Legacy Image at 06400000 ...
   Image Name:   Linux-2.6.33.6
   Created:      2011-02-08   8:18:48 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2712336 Bytes = 2.6 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Linux version 2.6.33.6 (root@localhost.localdomain) (gcc version 4.2.1) #1 PREEMPT Tue Feb 8 03:18:41 EST 2011
CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
CPU: VIVT data cache, VIVT instruction cache
Machine: Marvell GuruPlug Reference Board
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
Kernel command line: console=ttyS0,115200 root=/dev/sda2 rootdelay=10
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 256MB 256MB = 512MB total
Memory: 513408KB available (4832K code, 862K data, 140K init, 0K highmem)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:114
Console: colour dummy device 80x30
Calibrating delay loop... 1192.75 BogoMIPS (lpj=5963776)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
Kirkwood: MV88F6281-A1, TCLK=200000000.
Feroceon L2: Cache support initialised.
bio: create slab  at 0
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
cfg80211: Using static regulatory domain info
cfg80211: Regulatory domain: 00
    (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
    (2457000 KHz - 2482000 KHz @ 20000 KHz), (600 mBi, 2000 mBm)
    (2474000 KHz - 2494000 KHz @ 20000 KHz), (600 mBi, 2000 mBm)
    (5170000 KHz - 5250000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
    (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Calling CRDA to update world regulatory domain
Switching to clocksource orion_clocksource
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
JFFS2 version 2.2. (NAND) c 2001-2006 Red Hat, Inc.
JFS: nTxBlock = 4012, nTxLock = 32102
msgmni has been set to 1003
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
console [ttyS0] enabled
brd: module loaded
loop: module loaded
No NAND device found.
MV-643xx 10/100/1000 ethernet driver version 1.4
mv643xx_eth smi: probed
net eth0: port 0 with MAC address f0:ad:4e:00:79:b1
net eth1: port 0 with MAC address f0:ad:4e:00:79:b2
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
orion-ehci orion-ehci.0: Marvell Orion EHCI
orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver ums-datafab
usbcore: registered new interface driver ums-freecom
usbcore: registered new interface driver ums-jumpshot
usbcore: registered new interface driver ums-sddr09
usbcore: registered new interface driver ums-sddr55
mice: PS/2 mouse device common for all mice
rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
i2c /dev entries driver
cpuidle: using governor ladder
cpuidle: using governor menu
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
mmc0: mvsdio driver initialized, lacking card detect (fall back to polling)
Registered led device: guruplug:red:health
Registered led device: guruplug:green:health
Registered led device: guruplug:red:wmode
Registered led device: guruplug:green:wmode
mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
mmc0: new high speed SDIO card at address 0001
mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
oprofile: using timer interrupt.
TCP cubic registered
NET: Registered protocol family 17
lib80211: common routines for IEEE802.11 drivers
rtc-mv rtc-mv: setting system clock to 2011-05-31 02:51:07 UTC (1306810267)
Waiting 10sec before mounting root device...
usb 1-1: new high speed USB device using orion-ehci and address 2
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
usb 1-1.1: new high speed USB device using orion-ehci and address 3
scsi0 : usb-storage 1-1.1:1.0
usb 1-1.4: new full speed USB device using orion-ehci and address 4
input: C-Media USB Headphone Set   as /devices/platform/orion-ehci.0/usb1/1-1/1-1.4/1-1.4:1.3/input/input0
generic-usb 0003:0D8C:000C.0001: input: USB HID v1.00 Device [C-Media USB Headphone Set  ] on usb-orion-ehci.0-1.4/input3
scsi 0:0:0:0: Direct-Access     Generic  STORAGE DEVICE   9910 PQ: 0 ANSI: 0
sd 0:0:0:0: Attached scsi generic sg0 type 0
scsi 0:0:0:1: Direct-Access     Generic  STORAGE DEVICE   9910 PQ: 0 ANSI: 0
sd 0:0:0:0: [sda] 3842048 512-byte logical blocks: (1.96 GB/1.83 GiB)
sd 0:0:0:1: Attached scsi generic sg1 type 0
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:1: [sdb] Attached SCSI removable disk
sd 0:0:0:0: [sda] Assuming drive cache: write through
 sda: sda1 sda2
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Attached SCSI removable disk
EXT3-fs (sda2): warning: maximal mount count reached, running e2fsck is recommended
kjournald starting.  Commit interval 5 seconds
EXT3-fs (sda2): using internal journal
EXT3-fs (sda2): mounted filesystem with writeback data mode
VFS: Mounted root (ext3 filesystem) on device 8:2.
Freeing init memory: 140K
INIT: version 2.86 booting
Starting the hotplug events dispatcher: udevd.
Synthesizing the initial hotplug events...done.
Waiting for /dev to be fully populated...sata_mv sata_mv.0: version 1.28
sata_mv sata_mv.0: slots 32 ports 1
scsi1 : sata_mv
ata1: SATA max UDMA/133 irq 21
ata1: SATA link down (SStatus 0 SControl F300)
Bluetooth: Core ver 2.15
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
libertas_sdio: Libertas SDIO driver
libertas_sdio: Copyright Pierre Ossman
libertas_sdio mmc0:0001:1: firmware: requesting sd8688_helper.bin
libertas: can't load helper firmware
libertas: failed to load helper firmware
libertas_sdio: probe of mmc0:0001:1 failed with error -2
Bluetooth: vendor=0x2df, device=0x9105, class=255, fn=2
btmrvl_sdio mmc0:0001:2: firmware: requesting sd8688_helper.bin
btmrvl_sdio_download_helper: request_firmware(helper) failed, error code = -2
btmrvl_sdio_download_fw: Failed to download helper!
btmrvl_sdio_probe: Downloading firmware failed!
uap_probe: vendor=0x02DF device=0x9104 class=0 function=1
uap_sdio mmc0:0001:1: firmware: requesting mrvl/helper_sd.bin
usbcore: registered new interface driver snd-usb-audio
uap_sdio mmc0:0001:1: firmware: requesting mrvl/sd8688_ap.bin
UAP FW is active
done.
Setting the system clock.
Activating swap...done.
Setting the system clock.
Cleaning up ifupdown....
Loading kernel modules...done.
Checking file systems...fsck 1.41.3 (12-Oct-2008)
done.
Setting kernel variables (/etc/sysctl.conf)...done.
Mounting local filesystems...done.
Activating swapfile swap...done.
Setting up networking....
Configuring network interfaces...done.
Starting portmap daemon....
Setting console screen modes and fonts.
cannot (un)set powersave mode
Setting up ALSA...done.
INIT: Entering runlevel: 2
Starting enhanced syslogd: rsyslogd.
Starting system message bus: dbuseth1: link up, 100 Mb/s, full duplex, flow control disabled
.
Starting OpenBSD Secure Shell server: sshdNET: Registered protocol family 10
.
Starting MTA: exim4.
ALERT: exim paniclog /var/log/exim4/paniclog has non-zero size, mail system possibly broken failed!
Starting Network Interface Plugging Daemon:ADDRCONF(NETDEV_UP): eth0: link is not ready
 eth0.
Starting web server: lighttpd2011-05-31 12:52:07: (log.c.62) opening errorlog '/var/log/lighttpd/error.log' failed: Permission denied
2011-05-31 12:52:07: (server.c.899) Opening errorlog failed. Going down.
.
Starting internet superserver: inetd.
Starting Samba daemons: nmbd smbd.
Starting file alteration monitor: FAM.
Starting Hardware abstraction layer: hald.
Starting periodic command scheduler: crond.
insmod: error inserting '/root/uap8xxx.ko': -1 File exists
ADDRCONF(NETDEV_UP): uap0: link is not ready
SSID setting successful
BSS started!
ip_tables: (C) 2000-2006 Netfilter Core Team
nf_conntrack version 0.5.0 (8027 buckets, 32108 max)
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
Starting very small DHCP server: udhcpd (v0.9.9-pre) started
udhcpd.
Starting DNS forwarder and DHCP server: dnsmasq.

Debian GNU/Linux 5.0 sheevaplug-debian ttyS0

sheevaplug-debian login:

Diagnostics

sheevaplug-debian:~# cat /var/log/exim4/paniclog
2009-08-08 09:34:32 socket bind() to port 25 for address 127.0.0.1 failed: Address already in use: daemon abandoned
Back
 
Spinifex Computing Copyright © 2011 Spinifex Computing Pty. Ltd. All rights reserved.