nmcli unable to connect to password protected home WiFi
nmcli unable to connect to password protected home WiFi
Hey, I am trying to connect to my home WiFi using nmcli but can't seem to connect. The error is
Error: Connection activation failed: (7) Secrets were required, but not provided.
The journal logs are at the bottom.
Some context:
- I am using arch linux ARM on a raspberry pi 4
- I am able to connect to non-password protected networks (I created one by using a hotspot on my phone). Once I set a password for the hotspot, I am unable to connect to the same network
- I've tried the solutions in https://wiki.archlinux.org/title/NetworkManager#Secrets_were_required.2C_but_not_provided, but no success
- Previously, I was using
netctl/netctl-auto
and it worked for my use case for a while. But one day, it cannot connect so I can't ssh into my pi for a few days. I got frustrated and uninstalled it and installednmcli
which I am more familiar with. But now I can't seem to connect to a password protected network, so looking back, maybe it wasn't netctl that was the root cause of the issue.
Let's get the obvious things out of the way: Is your keyboard layout set correctly?
Does the SSID or password have a , or weird character?
Is your LANG variable set to support UTF-8?
I would suppose so, cause I used
nmcli d WiFi connect SSID password PASSWORD
, and the PASSWORD is displayed correctly.My password is alphanumeric, so that shouldn't be the issue. My SSID is alphanumeric +
()
, but I don't think that's the issue either cause I cannot connect to my password protected hotspot that is only alphanumeric.