forked from CESNET/rad_eap_test
-
Notifications
You must be signed in to change notification settings - Fork 2
/
README
47 lines (34 loc) · 1.39 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
rad_eap_test is Nagios compatible shell script used for testing RADIUS
servers by EAP.
Usage is simple (for more info run rad_eap_test withou any argument):
rad_eap_test -H <radius.server.name> \
-P 1812 -S <secret> -u <user@realm> \
-p <password> -m WPA-EAP -e PEAP
as output you might get:
return code output
0 access-accept; <latency>
1 access-reject; <latency>
2 timeout; <timeout>
3 sort of config problem
**UPDATE** Patching is no longer needed. All you need is in upstream
version. Following paragraph will be removed in near future.
To run this script you need eapol_test binary from wpa_supplicant
package. It's sugested to use at least 0.5.4. You will need CVS
version 10040 to apply patches/*2006-04-11* which are necesary for
this script. As alternative you can remove:
-t$TIMEOUT -M$MAC -C"$CONN_INFO"
from calling eapol_test but in this case you will have to wait
30seconds for timeout.
eapol_test is needed compile with LEAP support. In .config should be :
CONFIG_IEEE8021X_EAPOL=y
CONFIG_EAP_MSCHAPV2=y
CONFIG_EAP_TLS=y
CONFIG_EAP_PEAP=y
CONFIG_EAP_TTLS=y
CONFIG_EAP_LEAP=y
CONFIG_IEEE8021X=y
you don't have to compile whole wpa_supplicant you need just
eapol_test. So compile by typing `make eapol_test`. It is not build by
default `make`. ;)
wpa_supplicant home is http://hostap.epitest.fi/wpa_supplicant/
Latest version is available at http://www.eduroam.cz/rad_eap_test/