Category Archives: Raspberry Pi

Configuring Wifi SSID/PSK on Raspberry Pi (Headless)

Method for configuring Wifi SSID / PSK on Raspberry Pi (Headless)

  1. Create “SSH” file (no extension) in SD card root
  2. Create “wpa_supplicant.conf” file with config below
  3. Insert SD card into Raspberry Pi and reboot – BOOM job done.
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=GB

network={
     ssid="your_network_name"
     psk="your_wifi_password"
}

Raspberry Pi Zero 2 W | Headless Setup | WIFI Config

Quick steps (Cutdown version) to getting WiFi configured on Raspberry Pi Zero W (A little more involved than using Raspberry Pi 2/3/4 with physical ethernet cables)

    • Flash the MicroSD card with your flavour of OS.
    • Add file called “SSH” no extension
    • Add file called “wpa_supplicant.conf” and modify the info

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

network={
ssid=”your_network_name”
psk=”your_wifi_password”
}

    • Insert MicroSD into Raspberry Pi Zero & Boot
    • The IP address can be found from DHCP table OR using an app to scan the network such as “Network Analyser

Continue reading