Raspberry Pi Setup

Install and configure Raspbian

Download image from http://www.raspberrypi.org/downloads

Copy over image to the SD Card
sudo dd bs=1m if=/Users/alisterjupp/Downloads/2013-02-09-wheezy-raspbian.img of=/dev/rdisk5

Extend OS to full size of SD Card via raspi-config at first boot

Set static ip
sudo nano /etc/network/interfaces
Change the line that reads

iface eth0 inet dhcp

to

iface eth0 inet static

with info below following;

address 192.168.0.111
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1

update repo lists and upgrade

sudo apt-get update

sudo apt-get upgrade -y

Set to local time

sudo ln -sf /usr/share/zoneinfo/Australia/Perth /etc/localtime

Install Git

sudo apt-get install git-core

Install WiringPi (http://wiringpi.com/)

Get/setup repo: git clone https://github.com/Gadgetoid/WiringPi2-Python.git

cd WiringPi2-Python

Build & install with: sudo python setup.py install

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *