Raspberry PI – Preconfigure WIFI and SSH on Raspbian Buster

Raspberry PI – Preconfigure WIFI and SSH on Raspbian Buster

 

After SD-CARD creation, mount filesystem into your computer :

WIFI preconfiguration :

On /boot folder, create a file named wpa_supplicant.conf.

country=FR # Your 2-digit country code
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
network={
ssid="YOUR_NETWORK_NAME"
psk="YOUR_PASSWORD"
key_mgmt=WPA-PSK
}

Pre-enable SSH server :

On /boot folder, just create empty file named ssh

On windows, open shell in administrator mode :

windows fsutil file createnew ssh 0

On Unix systems :

sudo touch ssh