Hosted Raspberry Pi at PCExtreme – Reinstalled with Raspbian

My Raspberry Pi running Arch Linux ARM hosted by PCExtreme in the Netherlands wasn't reachable anymore after a forced reboot from their side. Most probably I didn't adapt the configuration of the static IP to newer releases of the network configuration system when I installed upgrades on the RPi. The forced reboot then meant that the system didn't come up anymore or that it didn't set the IP right. So I asked them if they could reinstall the operating system on the SD card (preferably Arch Linux ARM). They told me they could reinstall the OS and asked me if I wanted to pay 24,20 EUR (incl. tax). I said Yes and had my RPi up and running again. But this time on Raspbian. They didn't tell me they were NOT going to install ArchLinuxARM but just installed Raspbian instead. I was using it for some days (how I set it up is described in this post) but then asked via email if they could install it with Arch Linux ARM as requested. They did and now I'm back on Arch Linux ARM.

First Steps

Connect to the RPi with the credentials provided, then change the password:

# change password for user:

and continue as root in a sudo su session:

# change password for root as well:

# check status of the RPi:
cat /etc/modules
# Content is:
# snd-bcm2835
# ipv6
cat /etc/network/interfaces
# Content is:
# auto lo
# iface lo inet loopback
# auto eth0
# iface eth0 inet static
# address
# netmask
# gateway

# check availability of my USB stick:
ls /dev/sda
ls /dev/sda?
mount /dev/sda1 /mnt
cd /mnt

# bring the RPi up-to-date:
apt-get upgrade
apt-get install htop vim-nox screen

# check system status:

# set up locale de_DE.UTF-8:
dpkg-reconfigure locales

# check IPv6 connectivity:
ping6 -n -c 3

Upgrade Raspbian to Jessie/Sid

See this thread on the RPi forums.

Change /etc/apt/sources.list to:

#deb wheezy main contrib non-free rpi
deb jessie main contrib non-free rpi

and run

apt-get update && apt-get dist-upgrade