How to connect headless Raspberry pi to Wifi?

Photo by Stefan Cosma on Unsplash

I am only putting this out on the because I had hard time googling the proper way to do it.

I am using 2021–05–07-raspios-buster-armhf-lite.img.

Testing on Raspberry Pi 3 Model B Rev 1.2.

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev


Save this file as plain text, and drop it onto “boot” partition of SD card you have prepared for your Raspberry Pi.

That’s it.



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store