eapol_test command not found

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

Introduction

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

eapol_test: command not found

or when using sudo you get the following error message

sudo: eapol_test: command not found

Solutions to eapol_test: command not found

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

In Ubuntu eapol_test is provided by eapoltest package.

eapoltest is:

eapol_test allows testing EAP authentication methods without using a full 802.1X connection. It is frequently used to test the EAP configuration of RADIUS systems. It is an administrator tool and not required for standard 802.1X authentication.

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

sudo apt-get -y install eapoltest

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

You can also use apt command to install eapoltest.

sudo apt -y install eapoltest

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

sudo aptitude install eapoltest

Summary

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