*I configured the user information in the users file, and the info is valid in freeradius2. but somehow, I think the freeradius3 cannot recognize the information,I can see some yellow colour information printed on the **screen as below:* WARNING: [/usr/local/etc/raddb/mods-config/files/authorize]:1 Check item "EAP-Sim-Rand1" found in reply item list for user "1525016114550600@ wlan.mnc001.mcc525.3gppnetwork.org". This attribute MUST go on the first line with the other check items WARNING: [/usr/local/etc/raddb/mods-config/files/authorize]:1 Check item "EAP-Sim-SRES1" found in reply item list for user "1525016114550600@ wlan.mnc001.mcc525.3gppnetwork.org". This attribute MUST go on the first line with the other check items WARNING: [/usr/local/etc/raddb/mods-config/files/authorize]:1 Check item "EAP-Sim-KC1" found in reply item list for user "1525016114550600@ wlan.mnc001.mcc525.3gppnetwork.org". This attribute MUST go on the first line with the other check items WARNING: [/usr/local/etc/raddb/mods-config/files/authorize]:1 Check item "EAP-Sim-Rand2" found in reply item list for user "1525016114550600@ wlan.mnc001.mcc525.3gppnetwork.org". This attribute MUST go on the first line with the other check items WARNING: [/usr/local/etc/raddb/mods-config/files/authorize]:1 Check item "EAP-Sim-SRES2" found in reply item list for user "1525016114550600@ wlan.mnc001.mcc525.3gppnetwork.org". This attribute MUST go on the first line with the other check items WARNING: [/usr/local/etc/raddb/mods-config/files/authorize]:1 Check item "EAP-Sim-KC2" found in reply item list for user "1525016114550600@ wlan.mnc001.mcc525.3gppnetwork.org". This attribute MUST go on the first line with the other check items WARNING: [/usr/local/etc/raddb/mods-config/files/authorize]:1 Check item "EAP-Sim-Rand3" found in reply item list for user "1525016114550600@ wlan.mnc001.mcc525.3gppnetwork.org". This attribute MUST go on the first line with the other check items WARNING: [/usr/local/etc/raddb/mods-config/files/authorize]:1 Check item "EAP-Sim-SRES3" found in reply item list for user "1525016114550600@ wlan.mnc001.mcc525.3gppnetwork.org". This attribute MUST go on the first line with the other check items WARNING: [/usr/local/etc/raddb/mods-config/files/authorize]:1 Check item "EAP-Sim-KC3" found in reply item list for user "1525016114550600@ wlan.mnc001.mcc525.3gppnetwork.org". This attribute MUST go on the first line with the other check items *And when the request comes, I met this error:* *(1) eap_sim : Can't initiate EAP-SIM, no RAND1 attribute* *In my opinion, the freeradius3 has some changes in rlm_files module, and somehow it cannot recognize my user file, so can someone help to give an example user file for EAP-SIM?* On Wed, Mar 26, 2014 at 9:43 PM, Alan DeKok <aland@deployingradius.com>wrote:
Bill Yuan wrote:
(1) eap : EAP packet type response id 0 length 56 (1) eap : EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize (1) [eap] = ok (1) } # authorize = ok (1) Found Auth-Type = EAP (1) # Executing group from file /usr/local/etc/raddb/sites-enabled/default (1) authenticate { (1) eap : Peer sent Identity (1) (1) eap : Calling eap_sim to process EAP data *(1) eap_sim : Can't initiate EAP-SIM, no RAND1 attribute* ... I met this issue when I was trying to use eap-sim module in freeradius 3.0.1
Yes. Read doc/modules/rlm_eap/. Look for SIM.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html