4

Using NetworkManager on Arch Linux on a MacBookPro14,3, I am unable to connect to any wireless network. I've tried connecting to a number of different WiFi networks (home, mobile hotspot, work) all with the same result. I've tried doing this with both nmcli and nmtui. Example:

$ nmcli dev wifi connect <SSID> password <password>
Error: Connection activation failed: (7) Secrets were required, but not provided.

Looking at logs with journalctl shows:

wpa_supplicant[PID]: wlp3s0: CTRL-EVENT-ASSOC-REJECT bssid=00:00:00:00:00:00 status_code=16

and

NetworkManager[PID]: <info> [TIMESTAMP] device (wlp3s0): state change: need-auth -> failed (reason 'no-secrets', sys-iface-state: 'managed')

The Macbook has a Broadcom BCM43602 with driver brcmfmac. NetworkManager and wpa_supplicant are installed and enabled.

2

Try turn off and on Again the wifi like this:

nmcli r wifi off to turn off

nmcli r wifi on to turn on

Check the Wifi enables: nmcli d wifi list

Check and disconnect the wifi who appears green:

nmcli con to check

nmcli con down <wifi name> to disconnect

If you down know for sure if the password you put is right, do again the connection:

nmcli dev wifi con "wifi name" password "wifi password"

OBS: dont forget the "" on the name and the password

Or try to reconnect with the wifi: nmcli con up <wifi name>

Sometimes the problem is the connection with NetworkManager, if not working let me know!

0

Next solved my problem, was taken from: https://www.youtube.com/watch?v=P7bAp4vBxnA

  • Edit with sudo grants: /etc/NetworkManager/NetworkManager.conf

  • Add the next two lines:

 [device]
 wifi.scan-rand-mac-address=no
  • Execute: sudo systemctl restart NetworkManager

  • Use your WiFi. ;)

  • I had the same problem again after the first valid connection with the above "solution". – Medardo Rodriguez May 18 at 15:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.