My wifi card worked fine earlier today. Now it does not work anymore. I also tried using an external USB wifi card and I got the same error:
kernel: wlan0: deauthenticating from x by local choice (reason=3)
I have tried restarting network (/etc/init.d/networking restart), unloading/reloading the wifi kernel modules, disabled and reenabled wifi in NetworkManager. None of these worked.
sudo iwconfig wlan0 power off
, no idea if that kills wpa_supplicant as well – Nemo Sep 28 '17 at 10:10