<div dir="ltr"><div><div><div><div>Hi,<br><br></div>i have added simtriplets.dat and create file sim_files in /freeradius/modules<br></div>and also i configure sim_files in authorize{} in  /sites-enabled/default<br></div>but i dont use suffix module<br>
</div><div><br>so my concern is how to solve this message :<br>"rlm_sim_files: insufficient number of challenges for imsi <br>
<a href="mailto:imsi@wlan.mnc001.mcc510.3gppnetwork.org" target="_blank">imsi@wlan.mnc001.mcc510.3gppnetwork.org</a> : 0 "<br>"[sim_files] returnnot found "<br><br></div>here is my log:<br><br>

<p class=""><span style="font-size:9pt" lang="IN">Ready to process
requests.</span></p>

<p class=""><span style="font-size:9pt" lang="IN">rad_recv:
Access-Request packet from host 192.168.1.1 port 2048, id=0, length=215</span></p>

<p class=""><span style="font-size:9pt" lang="IN"><span style>                </span>User-Name =
"<a href="mailto:1510019760806391@wlan.mnc001.mcc510.3gppnetwork.org">1510019760806391@wlan.mnc001.mcc510.3gppnetwork.org</a>"</span></p>

<p class=""><span style="font-size:9pt" lang="IN"><span style>                </span>NAS-IP-Address = 192.168.1.1</span></p>

<p class=""><span style="font-size:9pt" lang="IN"><span style>                </span>Called-Station-Id = "48f8b315461a"</span></p>

<p class=""><span style="font-size:9pt" lang="IN"><span style>                </span>Calling-Station-Id = "1814563e5189"</span></p>

<p class=""><span style="font-size:9pt" lang="IN"><span style>                </span>NAS-Identifier = "48f8b315461a"</span></p>

<p class=""><span style="font-size:9pt" lang="IN"><span style>                </span>NAS-Port = 38</span></p>

<p class=""><span style="font-size:9pt" lang="IN"><span style>                </span>Framed-MTU = 1400</span></p>

<p class=""><span style="font-size:9pt" lang="IN"><span style>                </span>NAS-Port-Type = Wireless-802.11</span></p>

<p class=""><span style="font-size:9pt" lang="IN"><span style>                </span>EAP-Message =
0x02000038013135313030313937363038303633393140776c616e2e6d6e633030312e6d63633531302e336770706e6574776f726b2e6f7267</span></p>

<p class=""><span style="font-size:9pt" lang="IN"><span style>                </span>Message-Authenticator =
0x91af511bc958602ec652547f08683045</span></p>

<p class=""><span style="font-size:9pt" lang="IN">+- entering group
authorize {...}</span></p>

<p class=""><span style="font-size:9pt" lang="IN">++[preprocess] returns
ok</span></p>

<p class=""><span style="font-size:9pt" lang="IN">rlm_sim_files:
insufficient number of challenges for imsi
<a href="mailto:1510019760806391@wlan.mnc001.mcc510.3gppnetwork.org">1510019760806391@wlan.mnc001.mcc510.3gppnetwork.org</a>: 0</span></p>

<p class=""><span style="font-size:9pt" lang="IN">++[sim_files] returns
notfound</span></p>

<p class=""><span style="font-size:9pt" lang="IN">[eap] EAP packet type
response id 0 length 56</span></p>

<p class=""><span style="font-size:9pt" lang="IN">[eap] No EAP Start,
assuming it's an on-going EAP conversation</span></p>

<p class=""><span style="font-size:9pt" lang="IN">++[eap] returns updated</span></p>

<p class=""><span style="font-size:9pt" lang="IN">++[unix] returns
notfound</span></p>

<p class=""><span style="font-size:9pt" lang="IN">[files] users: Matched
entry <a href="mailto:1510019760806391@wlan.mnc001.mcc510.3gppnetwork.org">1510019760806391@wlan.mnc001.mcc510.3gppnetwork.org</a> at line 205</span></p>

<p class=""><span style="font-size:9pt" lang="IN">++[files] returns ok</span></p>

<p class=""><span style="font-size:9pt" lang="IN">++[expiration] returns
noop</span></p>

<p class=""><span style="font-size:9pt" lang="IN">++[logintime] returns
noop</span></p>

<p class=""><span style="font-size:9pt" lang="IN">Found Auth-Type = EAP</span></p>

<p class=""><span style="font-size:9pt" lang="IN">+- entering group
authenticate {...}</span></p>

<p class=""><span style="font-size:9pt" lang="IN">[eap] EAP Identity</span></p>

<p class=""><span style="font-size:9pt" lang="IN">[eap] processing type
sim</span></p>

<p class=""><span style="font-size:9pt" lang="IN">[eap] Underlying
EAP-Type set EAP ID to 218</span></p>

<p class=""><span style="font-size:9pt" lang="IN">++[eap] returns handled</span></p>

<p class=""><span style="font-size:9pt" lang="IN">Sending
Access-Challenge of id 0 to 192.168.1.1 port 2048</span></p>

<p class=""><span style="font-size:9pt" lang="IN"><span style>                </span>EAP-Message =
0x01da0014120a00000f0200020001000011010100</span></p>

<p class=""><span style="font-size:9pt" lang="IN"><span style>                </span>Message-Authenticator =
0x00000000000000000000000000000000</span></p>

<p class=""><span style="font-size:9pt" lang="IN"><span style>                </span>State = 0x1e96d6021e4cc425cab980602ba77fc7</span></p>

<p class=""><span style="font-size:9pt" lang="IN">Finished request 0.</span></p>

<p class=""><span style="font-size:9pt" lang="IN">Going to the next
request</span></p>

<p class=""><span style="font-size:9pt" lang="IN">Waking up in 4.9
seconds.</span></p>

<p class=""><span style="font-size:9pt" lang="IN">rad_recv:
Access-Request packet from host 192.168.1.1 port 2048, id=0, length=265</span></p>

<p class=""><span style="font-size:9pt" lang="IN">Cleaning up request 0
ID 0 with timestamp +91</span></p>

<p class=""><span style="font-size:9pt" lang="IN"><span style>                </span>User-Name =
"<a href="mailto:1510019760806391@wlan.mnc001.mcc510.3gppnetwork.org">1510019760806391@wlan.mnc001.mcc510.3gppnetwork.org</a>"</span></p>

<p class=""><span style="font-size:9pt" lang="IN"><span style>                </span>NAS-IP-Address = 192.168.1.1</span></p>

<p class=""><span style="font-size:9pt" lang="IN"><span style>                </span>Called-Station-Id = "48f8b315461a"</span></p>

<p class=""><span style="font-size:9pt" lang="IN"><span style>                </span>Calling-Station-Id = "1814563e5189"</span></p>

<p class=""><span style="font-size:9pt" lang="IN"><span style>                </span>NAS-Identifier = "48f8b315461a"</span></p>

<p class=""><span style="font-size:9pt" lang="IN"><span style>                </span>NAS-Port = 38</span></p>

<p class=""><span style="font-size:9pt" lang="IN"><span style>                </span>Framed-MTU = 1400</span></p>

<p class=""><span style="font-size:9pt" lang="IN"><span style>                </span>State = 0x1e96d6021e4cc425cab980602ba77fc7</span></p>

<p class=""><span style="font-size:9pt" lang="IN"><span style>                </span>NAS-Port-Type = Wireless-802.11</span></p>

<p class=""><span style="font-size:9pt" lang="IN"><span style>                </span>EAP-Message =
0x02da0058120a00000705000066bf4d6f1cf16dae34700d33b40a2cf2100100010e0e00333135313030313937363038303633393140776c616e2e6d6e633030312e6d63633531302e336770706e6574776f726b2e6f726700</span></p>

<p class=""><span style="font-size:9pt" lang="IN"><span style>                </span>Message-Authenticator = 0x46abb1e0d252ff580dd8d31e5a56ba46</span></p>

<p class=""><span style="font-size:9pt" lang="IN">+- entering group
authorize {...}</span></p>

<p class=""><span style="font-size:9pt" lang="IN">++[preprocess] returns
ok</span></p>

<p class=""><span style="font-size:9pt" lang="IN">rlm_sim_files:
insufficient number of challenges for imsi
<a href="mailto:1510019760806391@wlan.mnc001.mcc510.3gppnetwork.org">1510019760806391@wlan.mnc001.mcc510.3gppnetwork.org</a>: 0</span></p>

<p class=""><span style="font-size:9pt" lang="IN">++[sim_files] returns
notfound</span></p>

<p class=""><span style="font-size:9pt" lang="IN">[eap] EAP packet type
response id 218 length 88</span></p>

<p class=""><span style="font-size:9pt" lang="IN">[eap] No EAP Start,
assuming it's an on-going EAP conversation</span></p>

<p class=""><span style="font-size:9pt" lang="IN">++[eap] returns updated</span></p>

<p class=""><span style="font-size:9pt" lang="IN">++[unix] returns
notfound</span></p>

<p class=""><span style="font-size:9pt" lang="IN">[files] users: Matched
entry <a href="mailto:1510019760806391@wlan.mnc001.mcc510.3gppnetwork.org">1510019760806391@wlan.mnc001.mcc510.3gppnetwork.org</a> at line 205</span></p>

<p class=""><span style="font-size:9pt" lang="IN">++[files] returns ok</span></p>

<p class=""><span style="font-size:9pt" lang="IN">++[expiration] returns
noop</span></p>

<p class=""><span style="font-size:9pt" lang="IN">++[logintime] returns
noop</span></p>

<p class=""><span style="font-size:9pt" lang="IN">Found Auth-Type = EAP</span></p>

<p class=""><span style="font-size:9pt" lang="IN">+- entering group
authenticate {...}</span></p>

<p class=""><span style="font-size:9pt" lang="IN">[eap] Request found,
released from the list</span></p>

<p class=""><span style="font-size:9pt" lang="IN">[eap] EAP/sim</span></p>

<p class=""><span style="font-size:9pt" lang="IN">[eap] processing type
sim</span></p>

<p class=""><span style="font-size:9pt" lang="IN">+++> EAP-sim decoded
packet:</span></p>

<p class=""><span style="font-size:9pt" lang="IN"><span style>                </span>User-Name =
"<a href="mailto:1510019760806391@wlan.mnc001.mcc510.3gppnetwork.org">1510019760806391@wlan.mnc001.mcc510.3gppnetwork.org</a>"</span></p>

<p class=""><span style="font-size:9pt" lang="IN"><span style>                </span>NAS-IP-Address = 192.168.1.1</span></p>

<p class=""><span style="font-size:9pt" lang="IN"><span style>                </span>Called-Station-Id = "48f8b315461a"</span></p>

<p class=""><span style="font-size:9pt" lang="IN"><span style>                </span>Calling-Station-Id = "1814563e5189"</span></p>

<p class=""><span style="font-size:9pt" lang="IN"><span style>                </span>NAS-Identifier = "48f8b315461a"</span></p>

<p class=""><span style="font-size:9pt" lang="IN"><span style>                </span>NAS-Port = 38</span></p>

<p class=""><span style="font-size:9pt" lang="IN"><span style>                </span>Framed-MTU = 1400</span></p>

<p class=""><span style="font-size:9pt" lang="IN"><span style>                </span>State = 0x1e96d6021e4cc425cab980602ba77fc7</span></p>

<p class=""><span style="font-size:9pt" lang="IN"><span style>                </span>NAS-Port-Type = Wireless-802.11</span></p>

<p class=""><span style="font-size:9pt" lang="IN"><span style>                </span>EAP-Message =
0x02da0058120a00000705000066bf4d6f1cf16dae34700d33b40a2cf2100100010e0e00333135313030313937363038303633393140776c616e2e6d6e633030312e6d63633531302e336770706e6574776f726b2e6f726700</span></p>

<p class=""><span style="font-size:9pt" lang="IN"><span style>                </span>Message-Authenticator =
0x46abb1e0d252ff580dd8d31e5a56ba46</span></p>

<p class=""><span style="font-size:9pt" lang="IN"><span style>                </span>EAP-Type = SIM</span></p>

<p class=""><span style="font-size:9pt" lang="IN"><span style>                </span>EAP-Sim-Subtype = Start</span></p>

<p class=""><span style="font-size:9pt" lang="IN"><span style>                </span>EAP-Sim-NONCE_MT =
0x000066bf4d6f1cf16dae34700d33b40a2cf2</span></p>

<p class=""><span style="font-size:9pt" lang="IN"><span style>                </span>EAP-Sim-SELECTED_VERSION = 0x0001</span></p>

<p class=""><span style="font-size:9pt" lang="IN"><span style>                </span>EAP-Sim-IDENTITY =
0x00333135313030313937363038303633393140776c616e2e6d6e633030312e6d63633531302e336770706e6574776f726b2e6f726700</span></p>

<p class=""><span style="font-size:9pt" lang="IN">[eap] Underlying
EAP-Type set EAP ID to 219</span></p>

<p class=""><span style="font-size:9pt" lang="IN">++[eap] returns handled</span></p>

<p class=""><span style="font-size:9pt" lang="IN">Sending
Access-Challenge of id 0 to 192.168.1.1 port 2048</span></p>

<p class=""><span style="font-size:9pt" lang="IN"><span style>                </span>EAP-Message =
0x01db0050120b0000010d0000101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f0b050000d0b87a34927435f51b0b4892462ced47</span></p>

<p class=""><span style="font-size:9pt" lang="IN"><span style>                </span>Message-Authenticator =
0x00000000000000000000000000000000</span></p>

<p class=""><span style="font-size:9pt" lang="IN"><span style>                </span>State = 0x1e96d6021f4dc425cab980602ba77fc7</span></p>

<p class=""><span style="font-size:9pt" lang="IN">Finished request 1.</span></p>

<p class=""><span style="font-size:9pt" lang="IN">Going to the next
request</span></p>

<p class=""><span style="font-size:9pt" lang="IN">Waking up in 4.9
seconds.</span></p>

<p class=""><span style="font-size:9pt" lang="IN">Cleaning up request 1
ID 0 with timestamp +91</span></p>

<p class=""><span style="font-size:9pt" lang="IN">Ready to process
requests.</span></p>

<br>thanx for your answer <br><div><br><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 30, 2013 at 2:16 PM, Iliya Peregoudov <span dir="ltr"><<a href="mailto:iperegudov@cboss.ru" target="_blank">iperegudov@cboss.ru</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You should designate realm <a href="http://wlan.mnc001.mcc510.3gppnetwork.org" target="_blank">wlan.mnc001.mcc510.<u></u>3gppnetwork.org</a> as locally served in raddb/proxy.conf:<br>

<br>
# raddb/proxy.conf<br>
realm <a href="http://wlan.mnc001.mcc510.3gppnetwork.org" target="_blank">wlan.mnc001.mcc510.<u></u>3gppnetwork.org</a> {<br>
}<br>
<br>
Then you should add authentication vectors to raddb/simtriplets.dat:<br>
<br>
# raddb/simtriplets.dat<br>
# 1<IMSI>,<RAND>,<SRES>,<KC><br>
1250991417456196,<u></u>cf92007bd3814afaa71a58bbe406b8<u></u>a0,6b7ace84,b54e3cad99ab2000<br>
...<br>
<br>
At least 3 authentication vectors should be present for each IMSI.<br>
<br>
You can generate authentication vectors for your SIM card using smart card reader and agsm program (<a href="http://agsm.sourceforge.net/" target="_blank">http://agsm.sourceforge.net/</a>)<u></u>.<div class="im"><br>
<br>
<br>
On 30.05.2013 10:44, raptor raptor wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Hi all,<br>
i have read anything about my problem, but i dont get any idea to solve<br>
<br>
in FR i get message like this :<br>
<br>
"rlm_sim_files: insufficient number of challenges for imsi<br>
<a href="mailto:imsi@wlan.mnc001.mcc510.3gppnetwork.org" target="_blank">imsi@wlan.mnc001.mcc510.<u></u>3gppnetwork.org</a><br></div>
<mailto:<a href="mailto:imsi@wlan.mnc001.mcc510.3gppnetwork.org" target="_blank">imsi@wlan.mnc001.<u></u>mcc510.3gppnetwork.org</a>> : 0 "<br>
"[sim_files] returnnot found "<br>
</blockquote>
-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/<u></u>list/users.html</a><br>
</blockquote></div><br></div>