DaveThis is my homepage

How to Raspberry Pi

I bought a Raspberry Pi because. Here are a bunch of instructions I used to get up and running.

Get an Operating System

  1. Download an operating system. I used Raspbian “wheezy” which is Debian, optimised for Raspberry Pi.
  2. Plug in your SD card and run df -h to find out the device name of the filesystem’s partition (eg. /dev/disk1s1)
  3. Unmount that bad boy

    sudo diskutil unmount /dev/disk1s1
    
  4. Get the raw device name for the disk (eg. /dev/disk1s1 => /dev/rdisk1 – ignore the trailing s1)
  5. Write the image

    sudo dd bs=1m if=~/Downloads/2012-09-18-wheezy-raspbian.img of=/dev/rdisk1
    

SSH into the Raspberry Pi

  1. Hook the Raspberry Pi up to the power and internets
  2. ssh pi@the-ip-address with the password raspberry

Create new user

  1. sudo adduser your-username
  2. sudo adduser your-username sudo
  3. logout

Login as your new user

ssh your-username@the-ip-address with whatever password you chose

Delete default pi user because security

sudo userdel -r pi

Update your box