eapol_test build with wpa_supplicant
-
Hi all,
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][admin@friday.localdomain]/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.
Thanks,
-
pfSense does not include a full compiler environment. You can't
make
anything 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.
-
Thanks @jimp,
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_testand then I get this:
any thoughts?Cheers,
N -
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
./eapol_test
Whether or not it works, I don't know.
-
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.Cheers,
N -
And does it work as expected?
Steve
-
I did not get a success authentication test yet, but I assume this is due to my configuration file or a cert. issue.
Cheers,
N