Page tree
Skip to end of metadata
Go to start of metadata

To do testing with EAP, you need the wpa_supplicant package, which comes with eapol_test.

The rad_eap_test script is a eapol_test wrapper to make using eapol_test easy.

( Reference: http://confluence.diamond.ac.uk/display/PAAUTH/Building+eapol_test+in+wpa_supplicant )

Install eapol_test

 

$ sudo su -

$ wget http://w1.fi/releases/wpa_supplicant-2.5.tar.gz

 

$ tar -xvf wpa_supplicant-2.5.tar.gz

 

$ cd wpa_supplicant-2.5/wpa_supplicant

 

$ cp defconfig .config

 

$ vi .config

Uncomment ...

 

CONFIG_EAPOL_TEST=y

Comment out (required for Ubuntu 16.04) ...

 

#CONFIG_DRIVER_NL80211=y

Save and exit.

 

[esc] and [:wq!] and [enter]

$ apt-get install build-essential openssl libnl-utils libnl-3-dev libssl-dev

 

$ make eapol_test

 

$ cp eapol_test /usr/local/bin

You should now be able to run eapol_test command from anywhere on the host.

Install rad_eap_test

 

$ sudo su -

 

$ wget http://www.eduroam.cz/rad_eap_test/rad_eap_test-0.26.tar.bz2

 

$ tar -xvf rad_eap_test-0.26.tar.bz2

 

$ cd rad_eap_test-0.26

 

$ vi rad_eap_test

 

# Update the path to eapol test

 

EAPOL_PROG=eapol_test

 

[esc] and [:wq!] and [enter]

 

$ cp rad_eap_test /usr/local/bin

 

You should now be able to run rad_eap_test command from anywhere on the host.

  • No labels