Posts: 5
Joined: Sat Mar 30, 2013 10:01 pm

Help with "wpa_supplicant.conf"

Sat Mar 30, 2013 10:36 pm

Hi, I was messing around with config files trying to have my Pi connect to the Wi-Fi automatically and I forgot the first rule of editing config files, make backups!!! So I want to revert the file to the default format and start over. The file I need is:


If anyone wants to post the default format for this file that would help a lot. Thank you so much.

User avatar
Posts: 15949
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: Help with "wpa_supplicant.conf"

Sat Mar 30, 2013 10:48 pm


man wpa_supplicant.conf

Alternatively you could try

sudo wpa_gui

(sudo apt-get install wpagui, if not present on your system),

Posts: 5
Joined: Sat Mar 30, 2013 10:01 pm

Re: Help with "wpa_supplicant.conf"

Sun Mar 31, 2013 12:55 am

Ok, I got it to work again. This whole thing started because I tried to figure out how to connect to a wireless network that has no password on it.
The configuration for the "wpa_supplicant.conf" file that I used it as follows:

Code: Select all

            ssid="YOUR NETWORK SSID"
The indents are tabs, not spaces F.Y.I.
Also, it is 100% functional except that the "WiFi Config" icon on the Desktop can't be used to control the wireless network configuration, I need to edit the "wpa_supplicant.conf" file if anything needs to be changed.
Moral of the story: MAKE BACKUPS!!!
Thanks to joan for responding by the way.

Posts: 1
Joined: Sat Aug 08, 2015 6:31 pm

Re: Help with "wpa_supplicant.conf"

Sat Aug 08, 2015 6:33 pm

Thank you very much, I searched all over for hours and tried everything to get wifi working with MotionPi on my open network and your solution worked great!

User avatar
Posts: 1453
Joined: Wed Jan 09, 2013 3:05 pm
Location: thailand

Re: Help with "wpa_supplicant.conf"

Sun Aug 09, 2015 12:20 am

here is a good overview viewtopic.php?p=797363#p797363
Last edited by KLL on Fri Feb 24, 2017 11:52 am, edited 1 time in total.

Posts: 1
Joined: Fri Feb 24, 2017 8:27 am

Re: Help with "wpa_supplicant.conf"

Fri Feb 24, 2017 8:32 am


well i finally registered just to say a huge thank you!!!
my pi is online ;-)

Return to “Beginners”