ifenslave-2.6 command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
ifenslave-2.6: command not found
or when using sudo you get the following error message
sudo: ifenslave-2.6: command not found
Solutions to ifenslave-2.6: command not found
How To Fix ifenslave-2.6: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu ifenslave-2.6 is provided by ifenslave package.
ifenslave is:
This is a tool to attach and detach slave network interfaces to a bonding device. A bonding device will act like a normal Ethernet network device to the kernel, but will send out the packets via the slave devices using a simple round-robin scheduler. This allows for simple load-balancing, identical to “channel bonding” or “trunking” techniques used in switches.
The kernel must have support for bonding devices for ifenslave to be useful. This package supports 2.6.x kernels and the recent 3.x.x kernels.
To fix this problem, we can install more using the command below.
sudo apt-get -y install ifenslave
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ifenslave.
sudo apt -y install ifenslave
Or if you have aptitude installed you can use the following command.
sudo aptitude install ifenslave
Summary
In this tutorial we learn how to fix ifenslave-2.6 command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.