eapol_test build with wpa_supplicant
Did anyone try to build eapol_test tool out of wpa_supplicant ?
I'm using wpa_supplicant 2.6 and when I try to actually "make" eapol_test I get the below output:
[2.4.4-DEVELOPMENT][email@example.com]/usr/local/etc/wpasupplicant/wpa_supplicant-2.6/wpa_supplicant: make eapol_test.c make: "/usr/local/etc/wpasupplicant/wpa_supplicant-2.6/wpa_supplicant/Makefile" line 1: Need an operator make: "/usr/local/etc/wpasupplicant/wpa_supplicant-2.6/wpa_supplicant/Makefile" line 3: Need an operator make: "/usr/local/etc/wpasupplicant/wpa_supplicant-2.6/wpa_supplicant/Makefile" line 5: Need an operator
The output goes like that for over 1000 lines.
pfSense does not include a full compiler environment. You can't
makeanything on the firewall.
Thanks @jimp !
Do you have maybe a suggestion or point me in the right direction ?
Compile it on an equivalent FreeBSD installation. For example, 2.4.4 is based on FreeBSD 11.2.
So compile on FreeBSD 11.2 then copy the resulting binary.
So I've built a VM running 11.2,
1 - I've downloaded wpa_supplicant-2.6 > wget
2 - Extracted the file.
3 - cp defconfig .config
4 - gmake eapol_test
and then I get this:
Don't use the source directly. Use ports.
cd /usr/ports/security/wpa_supplicant env BATCH=yes make configure cd work/wpa_supplicant-2.6/wpa_supplicant gmake eapol_test
Then the binary is in
Whether or not it works, I don't know.
Ethereal last edited by Ethereal
Thanks @jimp !! So I followed your suggestions and built it on a 11.2 BSD VM and moved it to pfSense.
eapol_test is now running on my pfsense VM.
And does it work as expected?
I did not get a success authentication test yet, but I assume this is due to my configuration file or a cert. issue.