INSTALLATION

WARNING: This will format and erase your SD Card! Make sure you have nothing else plugged in that will confuse the issue. If the drive contains pictures that your significant other has not backed up, you will be in the dog box for a long time.

This will burn the image to the SD Card and verify it for you.

CONFIGURE THE SD CARD

Do not plug this into the Raspberry Pi yet. This SD card now contains an uninitialised image and on first boot a lot of magic happens to get it into its final state. Fortunately we can tap into this magic and get it to do some work for us too.

Unplug the SD Card and plug it back in. You should now see a volume called boot.

Firstly, we need to enable SSH on the Pi, this is disabled by default in recent versions of Raspbian. To do this we need to add an empty file to the root of boot called ssh or ssh.txt.

1

2

touch/Volumes/boot/ssh

Next we need to setup Wifi. To do this we need to create a file called wpa_supplicant.conf in the root of boot.

1

2

nano/Volumes/boot/wpa_supplicant.conf

Edit the config below to suit your country and wifi setup and add it to the file.

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

country=ZA

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev

update_config=1

network={

ssid="your_first_ssid"

scan_ssid=1

psk="real_password"

key_mgmt=WPA-PSK

}

network={

ssid="your_second_ssid"

scan_ssid=1

psk="real_password"

key_mgmt=WPA-PSK

}

country in the above snippet is the ISO/IEC alpha2 country code for your country. You can find a list here.

For a full example of this config file and all the options take a look here.

Your SD Card is now ready to go. Eject the SD card and insert it into the Pi. You are now ready to power it up. It will take a few minutes to boot, then you will be ready for the next step.

FIRST BOOT

Once the Pi is booted, it will connect automatically to the Wifi network that you specified above. SSH to it using the below command. The default password is raspberry.