Raspberry Pi Notes

Table of Contents

Setting up a Raspberry Pi

  1. Download the image from here. (Lite is fine).
  2. Follow the instructions here to write to SD card. (or see commands below)
  3. 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"
}