8

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.

Ole Tange
  • 1,742

2 Answers2

9

None of those kills wpa_supplicant (oddly enough: If I unload all wifi modules and disable wifi you would think wpa_supplicant would take the hint). So:

sudo killall wpa_supplicant

and then everything works.

Ole Tange
  • 1,742
0

this happens because multiple (wifi management) services are trying to control the device. In my case it was network manager and wpa_supplicant. Issue is resolved after doing below

systemctl disable --now wpa_supplicant.service