Headless Setup

Once you have downloaded the OS img file from the foundation website, it will probabably be useful to add a couple of features to get your going straight away.

Inside the boot partition create a file called wpa_supplicant.conf.  Inside that file add the following

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=«ISO-two-letter-country-code»

network={
    ssid="«your_SSID»"
    psk="«your_PSK»"
    key_mgmt=WPA-PSK
}

Replace «ISO-two-letter-country-code» with your ISO Country Code (such as GBfor Great Britain), «your_SSID» with your wireless access point name and «your_PSK» with your wifi password.

Then in the same folder create a file called SSH to enable you to SSH to your pi.