How to use eapol_test

martin.p.bradley at bt.com martin.p.bradley
Tue May 3 08:14:14 PDT 2005


Folks,

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
it.

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

Thanks for any help.
Martin.




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

> Yes it looks like I'm using the wrong openssl library.  How can I
select
> 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
http://hostap.epitest.fi/cvs.html) or download a CVS snapshot from
development branch
(http://hostap.epitest.fi/cgi-bin/viewcvs.cgi/hostap/hostap.tar.gz?tarba
ll=1).
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