Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4387

Troubleshooting • RasberryPI Zero 2W: Unable to connect to home WiFi.

$
0
0
I have a 2.4Ghz wifi at home, which I know is working since it's being used by printers, cameras, smartphones, etc.

I initially tried to configure the connection from terminal on a piOS lite (debian12 bookworm) and I was getting authentication errors:
Passwords or encryption keys are required to access the wireless network 'xxx'.Warning: password for '802-11-wireless-security.psk' not given in 'passwd-file' and nmcli cannot ask without '--ask' option.
Error: Connection activation failed: Secrets were required, but not provided.
This was not true, since I provided the password in the 'wifi-sec.psk' parameter using nmcli, and I checked that it was there with `nmcli`. I tried also adding "--ask" when activating the connection, but, even if I tried multiple times providing the password when prompted, it was consistently failing the handshaking.
I am using wpa2 at home, and I configured the `wifi-sec.key_mgmt` parameter as "wpa-psk". I tried leaving `wifi-sec.proto` as default (it should work with both wpa and wpa2) or by specifying 'rns' to support only wpa2.

Since I was still in doubt about possible configuration issues, I tried with a fresh piOS image with GUI and still, I was unable to connect.
On the access point side, I can confirm that the communication was started and that the issue is in the handshaking:
xx:xx:xx:xx:xx:xx@conn24 disassociated, key handshake failure, signal strength -yy
The strange thing is that I am able to connect to mobile hotspots, which are wpa2/wpa3 as my home AP.
This bothers me a lot, since I don't understand why the rpi zero 2w has issues with the home wifi, even if I configured it as other devices that are ok with that.
I am using the same command to create the connection via nmcli on my laptop and everything is fine there: the connection is created and I am able to connect without authentication issues.
By the way, I create the connection by:

Code:

nmcli connection add  connection.id "my_connection_name" connection.type "802-11-wireless" connection.interface-name "my_wifi_device" wifi.ssid "MySSID" wifi-sec.key-mgmt wpa-psk wifi-sec.psk "MyPassword"
Any ideas?

Statistics: Posted by bb4mass — Thu Feb 22, 2024 2:57 pm — Replies 1 — Views 32



Viewing all articles
Browse latest Browse all 4387

Trending Articles