RussellPiBot
Posts: 32
Joined: Wed Oct 15, 2014 3:47 pm

WPA-GUI wlan0 not present

Sat Apr 04, 2015 3:31 pm

Background: Installed Noobs /Raspbian on two separate SD cards in preparation for setting-up and learning how to use a new BitScope micro.

From Raspberry Pi downloads page
Noobs Ver. 1.4.0 2015-2-08
Of-line install from Zip

Problem: Unable to configure Wifi on the SD cards using the wpa-gui method or command line method. When wpa-gui window is opened wlan0 does not appear in "adapter" box; therefore, this method for WiFi setup cannot be used.

I verified problem is not a hardware problem by installing my PiBot hotspot SD on three different Pi's -- all hardware worked fine; I could ping the Pi from my laptop and laptop could access internet using home WiFi. This was true for all the Pi models on hand A+, B and B+.

One of the SD cards on which Raspian was installed was new - both SD cards were formatted using SDFormatter 4.0 prior to copying the files to the SD card.

I believe all recommended procedures were followed when completing the Noobs /Raspbian installs to include:

proper / timely restarts
sudo apt-get update
sudo apt-get upgrade

Given the above I would like to verify the proper code for the following configuration files. Unfortunately, my on-line search for proper configuration files has not yielded any useful information as the information found is all over the place, often not present with the dates written and all attempts to use the information found has not solved the problem.

code for interface configuration file for /etc/network/interfaces

code for WPA configuration /etc/wpa_supplicant/wpa_supplicant.conf

Any advice on how to fix this issue would be greatly appreciated.

Thank you.

RussellPiBot
Posts: 32
Joined: Wed Oct 15, 2014 3:47 pm

Re: WPA-GUI wlan0 not present

Sun Apr 05, 2015 2:08 pm

Control we have WiFi!!! -- However; the WPA-GUI wifi configuration still does not present wlan0 in the adapter box

WiFi achieved using the command line - so who cares that the WPA-GUI is not functioning properly!

For my situation (home network w/WiFi WPA) the following cmd line WiFi configuration code solved my problem.

sudo nano /etc/network/interfaces

auto lo
iface lo inet loopback
iface eth0 inet dhcp
auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa_conf /etc/wpa_supplicant/wpa_supplicant.conf

save and exit nano

sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

ctrl_interface=DIR=/var/run/wpa_suppliment GROUP=netdev
update_config=1
network={
ssid="your network ssid"
psk="your network password or key"
proto=RSN
key_mgmt=CCMP TKIP
pairwise=CCMP TKIP
auth_alg=OPEN
}

save and exit nano

reboot system use ifconfig to verify wlan0 has been issued an ip address by the network dhcp server

then ping something for the pure pleasure of it

This solution was inspired by Santana at the Filmore - 60s rock lives!
Cheers

MikeOffenbach
Posts: 3
Joined: Wed Dec 21, 2016 6:18 am
Contact: Skype

Re: WPA-GUI wlan0 not present

Sun Aug 13, 2017 6:51 am

I found this typo
ctrl_interface=DIR=/var/run/wpa_suppliment GROUP=netdev
cheers :o

Return to “Troubleshooting”