Raspberry Pi Setup

After some work with different distros specifically made for the Raspberry Pi (RaspberryPi.org), I decided on Adafruit's Occidentalis v0.2. Here are some notes for setting up my system.

Getting OS image on SD card: Using the elinux page: Easy way to install image on SD Card, followed instructions from the Windows section. First formatted the SD card because I had a previous build of RaspBMC on it. To clear the SD card for formatting I used RaspBMC's installer and then formatted it using Windows right click menu.

First boot: After boot I went through Raspi_Config; expanded rootfs, enabled ssh and set boot behaviour to not boot to desktop. Note: Do not update raspi-config unless one of the core volunteers recommends it on their forums.

While updating ("sudo apt-get update && sudo apt-get upgrade") I noticed Omxplayer. Might mess around with that later.

Installed Screen. Screen is very helpful for headless linux server stuff. Here's more info: Screen tutorial.

Issues with ssh: When trying to connect to the Raspberry Pi via ssh I got this warning due to the host hey being incorrect: "WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!" To rectify this I removed the old line from /home/[user]/.ssh/known_hosts and tried connecting again. A new host key was generated and added to known_hosts.

More good info given at Running the Raspberry Pi headless with Debian Linux.

New posting script

Testing a python script for easy posting. I found the script at bouncybouncy.net.

Hello

Welcome to my site! Now powered by Blogofile. This blog will most likely stick to these topics: embedded system design, programming, water polo, homebrewing, music, and cycling.

Syntax highlight test

This post contains some highlighted python code:

import this

if __name__ == "main":
print "Hello, World!"

Categories