wpa_supplicant seems to somehow be auto started at boot.
# ps auxwww |grep wpa root 915 0.0 0.0 28824 1232 ? S 17:36 0:00 /sbin/wpa_supplicant -u -s
How do I disable this service, prevent it from auto starting ?
wpa_supplicant seems to somehow be auto started at boot.
# ps auxwww |grep wpa root 915 0.0 0.0 28824 1232 ? S 17:36 0:00 /sbin/wpa_supplicant -u -s
How do I disable this service, prevent it from auto starting ?
Should be enough to remove the file
/usr/share/dbus-1/system-services/fi.epitest.hostap.WPASupplicant.service
Move it somewhere so you can restore it, rather than immediately delete it. ;-)
Update for 2019
htorque's solution did not work for me.
However, the following did work:
sudo systemctl disable wpa_supplicant
fi.w1.wpa_supplicant1.service
– Jaime M. Dec 07 '13 at 18:43systemctl status wpa_supplicant.service
shows it's running, but not auto-started by systemd directly. (So disabling for future boots isn't possible withsystemctl
). Also,dpkg-divert
will keep it disabled across package upgrades. – Peter Cordes Dec 12 '15 at 02:14