Skip Navigation

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 installed nmcli 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.
4 comments