Table of Contents
Setting up a Raspberry Pi
- Download the image from here. (Lite is fine).
- Follow the instructions here to write to SD card. (or see commands below)
- Create a wpa_supplicant.conf file so it can connect to WiFi.
Writing Raspberry Pi OS to an SD card:
lsblk -p # Run before and after connecting to find your SD card.
sudo dd bs=4M if=2020-02-13-raspbian-buster-lite.img of=/dev/mmcblk0 conv=fsync
# ...
sudo mount /dev/mmcblk0 /some/path
Example wpa_supplicant.conf
file (you can repeat the network section to support multiple):
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=GB
network = {
ssid="SKY0AED4"
psk="<Password for your wireless LAN>"
id_str="home"
}