In order to verify that our eduroam SP (RADIUS) server correctly handles user authentication requests, we will install the `` eapol_test `` tool that can generate EAP requests similar to the users' and directly test the eduroam inner tunnel from the the command line interface (CLI). The tool should run on the same eduroam SP (RADIUS) server we want to test.
In this tutorial we will install and run eapol_test on Rocky Linux 9.
1. Download the source code#
wget https://w1.fi/releases/wpa_supplicant-2.11.tar.gz
- Install dependencies:
dnf -y group install "Development Tools"
dnf -y install openssl-devel
dnf -y install libnl-3.0
- Extract and build
tar -xvf wpa_supplicant-2.11.tar.gz
cd wpa_supplicant-2.11/wpa_supplicant
make eapol_test
- Build a configuration file and run a test
Create the conf file poltest.conf.
vi poltest.conf
Paste the following content and modify according to your server's configuration.
network={
ssid="eduroam"
key_mgmt=WPA-EAP
eap=TTLS
phase2="auth=PAP"
identity="edutest@uni.ma"
password="edutest-secret-password"
}
Finally, run a test
./eapol_test -c poltest.conf -s testing123