Pre-configure Wifi on a headless Raspberry Pi Zero

After setting up the OS on the memory card, you should have 2 partitions mounted from your memory card :
– Boot partition
– Root partition

On the root partition, edit the wpa supplicant configuration file :

And add the following lines at the end of the file :

Adjust the SSID and password, and you’re done.

Leave a Reply

Your email address will not be published. Required fields are marked *