I tried to spoof my MAC address by adding


to /etc/NetworkManager/NetworkManager.conf -- and restarting NetworkManager, but after this I am unable to connect.

% nmcli connection up mynetwork                                                                 ~
Passwords or encryption keys are required to access the wireless network 'mynetwork'.
Warning: password for '802-11-wireless-security.psk' not given in 'passwd-file' and nmcli cannot ask without '--ask' option.
Error: Connection activation failed: Secrets were required, but not provided

Reauthenticating by adding --ask and entering key doesn't work either. The same happens after

% nmcli connection modify mynetwork wifi.cloned-mac-address=random

I haven't configured my router to accept only certain MAC addresses. I'm using Arch Linux on a 2012 Macbook Air.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.