How to use eapol_test

martin.p.bradley at martin.p.bradley at
Tue May 3 11:14:14 EDT 2005


I have got eapol_test compiled thanks to Jouni but I don't know how to
use it.  Could someone tell me where the documentation is or how to use

I have searched for eapol_test and my last message came
as the first hit.  This was a first for me :-)

Thanks for any help.

On Wed, Apr 06, 2005 at 09:44:10AM +0100, martin.p.bradley at

> Yes it looks like I'm using the wrong openssl library.  How can I
> the on that's installed in the directory /usr/local/openssl-0.9.7b/.
> Does the line below do what I need?  Probably not but that was what I
> tried...
> export LDFLAGS=-L/usr/local/openssl-0.9.7b/

I use following lines in .config to select another openssl version:

CFLAGS += -I/home/jm/openssl/include
LIBS += -L/home/jm/openssl/lib

> eapol_test includes a file called radius.h.   I guessed that this was
> the radius.h but it looks like its not the correct one.

Unfortunately, radius.h was not being included in wpa_supplicant
tarballs. You can get it from my CVS repository, though. The easiest way
of compiling eapol_test would thus be to either use CVS pserver (see or download a CVS snapshot from
development branch
In the CVS tree, files are in bit different directories, but you can go
to wpa_supplicant directory, copy your .config file there (with the
openssl paths added as shown above) and just run 'make eapol_test'.

Jouni Malinen

More information about the HostAP mailing list