ARandomGuy
Posts: 1
Joined: Fri Jan 24, 2020 6:03 pm

Raspberry Pi Zero W doesn't seem to connect to WiFi

Fri Jan 24, 2020 6:35 pm

Hello.

I have been trying to use my Pi headlessly but for some weird reason, it doesn't show up on my router settings. Here is my wpa_supplicant.conf file:

Code: Select all

update_config=1
ctrl_interface=/var/run/wpa_supplicant
country=GB

network={
 scan_ssid=1
 ssid="mySSID"
 psk="myPass"
}
(I am using Mixed WPA/WPA2-PSK for wireless) (Also I'm from the UK)

I am dead sure that my SSID and PSK are typed in exactly as it should. SSH is on and Bluetooth seems to be working fine as I can access the Bluetooth serial console directly from my phone. However,

Code: Select all

wlan0
doesn't seem to be detected at all (that's weird). I am using a 32GB SD Card and a Sky router. Used Linux Mint to write the wpa_supplicant.conf file.

Any ideas?

DirkS
Posts: 10363
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Raspberry Pi Zero W doesn't seem to connect to WiFi

Fri Jan 24, 2020 8:59 pm

You ctrl_interface line looks wrong
Why did you use 'scan_ssid=1'? Is your AP hidden? That could complicate matters...

Try this in wpa_supplicant:

Code: Select all

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=GB

network={
        ssid="ssid"
        psk="psk"
}
ARandomGuy wrote: However,

Code: Select all

wlan0
doesn't seem to be detected at all (that's weird).
What exactly do you mean with that? How are you trying to 'detect wlan0'?

Return to “General discussion”