Posted on Leave a comment

Raspberry Pi Headless Wifi Setup


Sometimes you just want to connect your Raspberry Pi to your Wifi immediately when you first install RetroPie or Rasbian just so you can tinker with it soon and setup some stuff.

STEP 1. On a Windows PC insert your newly installed SDCard

With the sdcard plugged in (USB SDCard reader) your Windows 10 computer, fire up File Explorer and go to the boot partition of your sdcard.

Step 2. Setup Network or WiFi Info

Create a file called wpa_supplicant.conf inside the boot partition of the sdcard. Open it with any text editor like notepad and paste the following.

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


Replace “WIFI-NAME” and “WIFI-PASSWORD” with your wifi details. Save and exit.

Step 3. Enable SSH

Enable SSH so you can connect to your raspberry pi from any computer. Create a blank file called ssh inside the same boot directory of your sdcard.

Finally, eject the sdcard properly and plug it in to your Raspberry Pi. Turn on your Pi and it should connect to your network automatically.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.