ifplugd command not found

In this troubleshooting guide we learn how to fix ifplugd command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

ifplugd: command not found

or when using sudo you get the following error message

sudo: ifplugd: command not found

Solutions to ifplugd: command not found

How To Fix ifplugd: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu ifplugd is provided by ifplugd package.

ifplugd is:

ifplugd is a daemon which will automatically configure your ethernet device when a cable is plugged in and automatically de-configure it if the cable is pulled out. This is useful on laptops with onboard network adapters, since it will only configure the interface when a cable is really connected. Features include:

  • syslog support
  • Multiple ethernet interface support
  • Uses Debian’s native ifup/ifdown programs
  • Small executable size and memory footprint
  • Option to beep when the cable is unplugged or plugged
  • Option to beep when the interface configuration succeeds or fails
  • Can be configured to ignore short unplugged or plugged periods
  • Configure WLAN devices (on detecting a successful association to an AP)
  • Supports SIOCETHTOOL, SIOCGMIIREG and SIOCDEVPRIVATE for getting link status
  • Compatibility mode for network devices which do not support cable detection

To fix this problem, we can install more using the command below.

sudo apt-get -y install ifplugd

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install ifplugd.

sudo apt -y install ifplugd

Or if you have aptitude installed you can use the following command.

sudo aptitude install ifplugd

Summary

In this tutorial we learn how to fix ifplugd command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.