RPi Headless Setup

Speedo MacMuffin
Octover 15, 2021

Step 1

Flash a fresh Image of Raspbian onto an SD-Card

Step 2

After flashing, open the folder of the SD-Card

Step 3

Creat a 'wpa_supplicant.conf'-file and an empty 'ssh'-file in the boot-directory of the SD-Card. Make sure that the ssh-file does not have any file-extensions, e.g. .txt

Step 4

Open the 'wpa_supplicant.conf'-file and include the following in it:

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=GB

network={
ssid="SSID"
psk="password"
key_mgmt=WPA-PSK
}

Replace ssid and psk with your WiFi credentials

Step 5

Plug the SD-Card into your Pi and you should be able to find it on your network and ssh into it.

Copyright © 2021 Speedo MacMuffin