How to Disable the Ubuntu ‘wpa_supplicant’ Daemon on Wired Servers

The Unnecessary Wireless Daemon

In Ubuntu (and most Linux distributions), the wpa_supplicant service is the core daemon responsible for handling wireless network authentication. If you are using a laptop with Wi-Fi, this service is essential for negotiating WPA/WPA2 handshakes and connecting to your router.

However, if you are running an Ubuntu Server in a data center, or if you have a desktop PC that relies exclusively on a hardwired Ethernet connection (and doesn’t even have a Wi-Fi card installed), the wpa_supplicant daemon is entirely useless. It sits in the background, consuming a small amount of memory, waiting for wireless interfaces that do not exist. You can safely disable it on wired-only machines.

How to Disable the WPA Supplicant Service

You can stop and disable the wireless daemon using systemctl.

  1. Open your Ubuntu Terminal (or connect via SSH).
  2. First, stop the service if it is currently running:
sudo systemctl stop wpa_supplicant.service
  1. Next, disable the service so it does not attempt to start automatically on the next boot:
sudo systemctl disable wpa_supplicant.service
  1. Because network managers (like NetworkManager) often try to automatically wake up wireless services if they detect *any* networking activity, you must mask the service to ensure it remains permanently dead:
sudo systemctl mask wpa_supplicant.service

Your wired Ethernet connections will continue to function perfectly via systemd-networkd or NetworkManager, but your system will no longer waste resources running wireless authentication daemons.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.