This short tutorial explains the steps to setup a Pi Zero running instantly with WLAN and SSH
- Use the Raspberry Pi Imager from the official website: https://www.raspberrypi.org/downloads/
- Generate a Raspbian lite image on a Micro SD card
- add a wpa_supplicant.conf with the following content in the root of the micro SD card image:
country=DE
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
ap_scan=1
network={
scan_ssid=1
ssid="wlan_name"
psk="wlan_password"
key_mgmt=WPA-PSK
}
- add an empty file named
ssh
also in the root folder
- start raspi and find ip address to login via ssh (pi/raspberry)