/ raspberry

My Pie reboot

myPIe
The sd card just died in my precious and delicious PI. Its actually a model B version, so its not the not-that-long-ago-released version 2) The old card served me well enough: it took about an year to finish it off with regularly writing 1-2gb of data on it, deleting and doing it all over again. It was an 8 GB samsung class4 SD card. As a result I decided that its going to be good enough for another run: I've just grabbed another 8GB samsung class6 microSD as I have spare adapters @home and I'm looking at the new PI :).

My headless reinstall process was as follows:

  • Installed: raspbian latest by dding the image on the card.
  • set up /etc/network/interfaces with static lan ip
  • set up /etc/ssh/sshd_config + /home/pi/.ssh/authorized_keys to allow keybased login
  • boot up the PI
  • insert card
  • connect network cable
  • connect power cord[1] (I should look into creating a proper power switch..)
  • Logging in: ssh pi@[ip] -i [keyfile] -p [port] [1:1]

After you've logged in you will be greeted like this:

NOTICE: the software on this Raspberry Pi has not been fully configured. Please run 'sudo raspi-config'

As per the insctructions above:

  • Let's configure a few things sudo raspi-config
  • And update the PI sudo rpi-update
  • I've added my preferred packages:
  • sudo apt-get installmc htop vnstat openvpn nginx php5-fpm build-essntial aiccu
  • Configuration wasn't actually needed for openvpn & and the sixxs tunnel as I've backed those up carefully however I needed to start from scratch with php & nginx.
  • last but not least I re-installed powerdns <3 as it serves as a recursor/cache for the lan..

Finally it took more to write this down than actually doing all that :). If you are the least bit interested in experimenting with stuff you should grab a PI as it can be really useful..
Have a nice day and a pie.



  1. ↩︎ ↩︎