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

Hi, have you tried the following from the arch wiki?,_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


You can also try disabling MAC address randomization:



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.