Cant connect to wifi

When i try to connect my wifi with
nmcli device wifi connect SSID password PASSWORD
i get
Error: Connection activation failed: Secrets were required, but not provided.
I know the password is correct
http://ix.io/4J4Z

Hi, have you tried the following from the arch wiki? https://wiki.archlinux.org/title/NetworkManager#Secrets_were_required,_but_not_provided

ive tried
You can try deleting the connection profile and creating a new one:

$ nmcli connection delete SSID $ nmcli device wifi connect SSID password password

and

You can also try disabling MAC address randomization:

/etc/NetworkManager/conf.d/wifi_rand_mac.conf

[device]
wifi.scan-rand-mac-address=no

and it does not help

I solved it using nmtui

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.