SheevaPlug recovery, preparation and wview install

By gill, 30 October, 2011

Format and setup the SD card:
dd if=Kingston-4G-NewIT-v1.0-debian-squeeze.img of=/dev/sdg bs=1024k

See if it's OK (fdisk -l /dev/sdg)

Now try to boot the plug.

ssh into it

Edit /etc/hostname to change the host name.
Edit /etc/hosts to change which host name is localhost.
Check that /etc/network/interfaces is correct (eth0 gets its address via DHCP)
Change the password by running passwd

Set the date!

$ sudo apt-get update
W: GPG error: [] squeeze/updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AED4B06F473041FA

I've followed instructions on internet to get the key
$ gpg --keyserver --recv-keys AED4B06F473041FA
gpg: key 473041FA: "Debian Archive Automatic Signing Key (6.0/squeeze) " 2 new signatures
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: new signatures: 2

but system not trusting them.

This, however, works:
$ wget
$ sudo apt-key add archive-key-6.0.asc
apt-get update
apt-get install locales
dpkg-reconfigure locales
apt-get upgrade
apt-get dist-upgrade
apt-get install ntp ntpdate

Now setup repo for wviewweather

cat >> /etc/apt/sources.list
deb squeeze main
deb-src squeeze main
deb squeeze-backports main contrib non-free

apt-get update
apt-cache search wview
# (wview should be listed now)

sudo apt-get install wview