Sample Header Ad - 728x90

Make systemd stop starting unwanted wpa_supplicant service?

19 votes
7 answers
32260 views
I wanted to disable systemd unwanted attempts to automatically start wpa_supplicant. I thougth I could simply run a sudo systemctl disable wpa_supplicant.service --global and I would not be seeing a wpa_supplicant in ps -ef output anymore. Anyway this did not work. How can I make it work? My problem at hand might be best described by the output of $>systemctl status wpa_supplicant* ● wpa_supplicant.service - WPA supplicant Loaded: loaded (/usr/lib/systemd/system/wpa_supplicant.service; disabled; vendor preset: disabled) Active: active (running) since Sun 2016-08-28 20:57:37 CEST; 14min ago where as you can see the disabled service is anyway loaded and active, thanks to systemd completely helping me do the simpletest thing ;) **Update** I seem to have had some luck by brutely removing these files: wpa_supplicant-nl80211@.service wpa_supplicant.service wpa_supplicant@.service wpa_supplicant-wired@.service from /usr/lib/systemd/system folder. Guess what? After restart wpa is finally not started by systemd anymore. It strikes me though there must have been a more *peaceful* / *conciliatory* way to get systemd to have the service not being started.
Asked by humanityANDpeace (15072 rep)
Aug 28, 2016, 07:22 PM
Last activity: Nov 5, 2024, 07:55 AM