Fwd: EAP-sim using freeradius

Siddharth Katragadda siddharthk at google.com
Tue Aug 11 23:38:36 CEST 2015


Hi,
Freeradius Version: 3.0
I had a question about EAP-SIM. We previously got EAP-SIM to work on the
Free-radius version 2.  But once we upgraded to 3.0,  we saw the
rlm_sim_files has been deprecated and now we need to use rlm_passwd.

I made the following changes the config files:

1. eap -  added  to the eap{}
sim {
}

2. Changed passwd file under mods-enabled:
passwd passwd {
filename = /usr/local/etc/raddb/simtriplets.dat
format = "*User-Name:User-Password"
hash_size = 100
ignore_nislike = no
allow_multiple_keys = no
}

/usr/local/etc/raddb/simtriplets.dat:
1001010123456789 at wlan.mnc001.mcc001.3gppnetwork.org:2
ADE1426F93045258CCD7B9CF739CD51:CA1a6a73:44163dcd3063ee06
1001010123456789 at wlan.mnc001.mcc001.3gppnetwork.org:
A7DB577E986F41e999981FE01E8E9351:9E0ec181:2B3182377B3d2e05
1001010123456789 at wlan.mnc001.mcc001.3gppnetwork.org:92
F13B6BB93641b0914DD3D6DAAFB78C:9Ca5541a:767e395d867fa4b0
1001010123456789 at wlan.mnc001.mcc001.3gppnetwork.org:3
D6978EEB53E4c9f94F116A4AFC15EEC:09381b57:68fca592D475ada8
1001010123456789 at wlan.mnc001.mcc001.3gppnetwork.org:56
F874F6F0C543c6B1D54CCE3B425E2B:3Ce1debe:4B16c28f5D165ab6

3. Added passwd  in authorize section in default file under sites-available:
passwd
eap {
ok = return
}


The radiusd starts up fine with this configuration. But when I run the SIM
test, I see the following error:
*eap_sim: ERROR: EAP-SIM-RAND1 not found*

Is there any documentation on how to setup rlm_passwd for EAP-SIM?
Any help in this regard would be appreciated.

Thanks
Siddharth (Wifi Test, Google inc)


More information about the Freeradius-Users mailing list