I used radeapclient to test authentification with EAP-MD5
radeapclient -s -x 127.0.0.1 auth testing123 < reqAmin.txt
reqAmin.txt :
User-Name = "ali"
EAP-MD5-Password = "ali"
NAS-IP-Address = 127.0.0.1
EAP-Code = Response
EAP-Id = 210
EAP-Type-Identity = "ali"
Message-Authenticator = 0x00
NAS-Port = 0
I got an error in radeapclient :
*** glibc detected *** radeapclient: munmap_chunk(): invalid pointer: 0x0842eb1c ***
======= Backtrace: =========
/lib/libc.so.6(cfree+0x1bb)[0x4961681b]
/usr/local/lib/libeap-1.1.4.so(eap_basic_compose+0x29f)[0x60ce9f]
/usr/local/lib/libeap-1.1.4.so(map_eap_types+0x113)[0x60cfe3]
... ..............
.......... etc