Skip to contentSkip to conversation

wpa_supplicant not connecting my raspberrypi zero 2 W #raspberrypi #raspberrypi0-wifi

DISCUSSION John 1 participant 1 message Feb 12, 2025

lore
Share & tools
lore

John

author
#0 lore raw

So after receiving some great help from Khem on getting my raspberrypi Zero to boot I've been trying to get the wifi up.

I ran into the issue that is where the modules are not being placed into the image and once that was resolved I now get the wlan0 interface showing up and I've gotten rid of the IOCTL error in dmesg about the interface not being available. All good.

So now at the command line I run the command:

Quoted 3 lines
$ wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf

My contents are of the configuration file are (I've removed my SSID and password for the usual paranoid purposes, Go Flat-Earthers!!):

Quoted 9 lines

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=0 country=CA
network={
ssid="<nope>"
key_mgmt=WPA-PSK
psk=<big NOPE!>
}

I've turned up the debug out on the command line and was able to capture the output to the file debug.out

Now I'm reasonably sure that my credentials are correct to connect to my network. I've used the raspberry Pi images to verify this and then using the same credentials.

I've been looking through the various lists of raspberry Pi messages and can't find any that seem to imply that the wpa_supplicant isn't working although, all of the working systems appear to be rp 3 & 4.

Any illumination would be appreciated.

Cheers!!