<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:14px">Hello</span><br style="font-family:arial,sans-serif;font-size:14px"><span style="font-family:arial,sans-serif;font-size:14px">I have a problem about "rlm_eap: No such sub-type for default EAP type peap"</span><div>
<br style="font-family:arial,sans-serif;font-size:14px"><span style="font-family:arial,sans-serif;font-size:14px">after I install the openssl,but the problem is still not resolved.</span></div><div><br style="font-family:arial,sans-serif;font-size:14px">
<span style="font-family:arial,sans-serif;font-size:14px">Now I am testing EAP authentication process by using eapol_test tool,Iwant to write a my module for our own project to provide some AAA  functions.</span><br style="font-family:arial,sans-serif;font-size:14px">
<span style="font-family:arial,sans-serif;font-size:14px">Below are some steps that I did in the EAP authentication test.</span><br style="font-family:arial,sans-serif;font-size:14px"><br style="font-family:arial,sans-serif;font-size:14px">
<span style="font-family:arial,sans-serif;font-size:14px">I mostly followed the two sites <</span><a href="http://www.freesoftwaremagazine.com/articles/howto_incremental_setup_freeradius_server_eap_authentications" target="_blank" style="font-family:arial,sans-serif;font-size:14px">http://www.freesoftwaremagazine.com/articles/howto_incremental_setup_freeradius_server_eap_authentications</a><span style="font-family:arial,sans-serif;font-size:14px">> and<</span><a href="http://deployingradius.com/scripts/eapol_test/" target="_blank" style="font-family:arial,sans-serif;font-size:14px">http://deployingradius.com/scripts/eapol_test/</a><span style="font-family:arial,sans-serif;font-size:14px">> and a book named <FreeRADIUS Beginner's Guide>.</span><br style="font-family:arial,sans-serif;font-size:14px">
<br style="font-family:arial,sans-serif;font-size:14px"><span style="font-family:arial,sans-serif;font-size:14px">all the test about <Local authentication without EAP>กข<authenticate via a remote authenticator>กข<Getting the simplest EAP method into the picture: EAP-MD5>were successed.</span><br style="font-family:arial,sans-serif;font-size:14px">
<span style="font-family:arial,sans-serif;font-size:14px">But when I do the <Full swing with EAP-TLS, EAP-TTLS and PEAP> test ,it failed.</span><br style="font-family:arial,sans-serif;font-size:14px"><br style="font-family:arial,sans-serif;font-size:14px">
<span style="font-family:arial,sans-serif;font-size:14px">Below are  something i do about the users file and the configuration files:</span><br style="font-family:arial,sans-serif;font-size:14px"><span style="font-family:arial,sans-serif;font-size:14px">1.I added a user in the users file</span><br style="font-family:arial,sans-serif;font-size:14px">
2.As<span style="font-family:arial,sans-serif;font-size:14px"> my environment is Ubuntu10.04,my freeradius is installed using source(./configure->make->make install),it locates at /usr/local/etc/raddb/ ,I edit the eap.conf as below:</span><br style="font-family:arial,sans-serif;font-size:14px">
<span style="font-family:arial,sans-serif;font-size:14px">I just changed the default_eap_type = md5 to default_eap_type = peap</span><br style="font-family:arial,sans-serif;font-size:14px"><br style="font-family:arial,sans-serif;font-size:14px">
<span style="font-family:arial,sans-serif;font-size:14px">but then when I run radiusd -X,it turns out the below errors:</span><br style="font-family:arial,sans-serif;font-size:14px"><span style="font-family:arial,sans-serif;font-size:14px">rlm_eap: No such sub-type for default EAP type peap</span><br style="font-family:arial,sans-serif;font-size:14px">
<span style="font-family:arial,sans-serif;font-size:14px">/usr/local/etc/raddb/eap.conf[</span><span style="font-family:arial,sans-serif;font-size:14px">17]: Instantiation failed for module "eap"</span><br style="font-family:arial,sans-serif;font-size:14px">
<span style="font-family:arial,sans-serif;font-size:14px">/usr/local/etc/raddb/sites-</span><span style="font-family:arial,sans-serif;font-size:14px">enabled/default[310]: Failed to load module "eap".</span><br style="font-family:arial,sans-serif;font-size:14px">
<span style="font-family:arial,sans-serif;font-size:14px">/usr/local/etc/raddb/sites-</span><span style="font-family:arial,sans-serif;font-size:14px">enabled/default[252]: Errors parsing authenticate section.</span><br style="font-family:arial,sans-serif;font-size:14px">
<br style="font-family:arial,sans-serif;font-size:14px"><span style="font-family:arial,sans-serif;font-size:14px">Can anybody help me and give me some suggestions?</span><br style="font-family:arial,sans-serif;font-size:14px">
<br style="font-family:arial,sans-serif;font-size:14px"><span style="font-family:arial,sans-serif;font-size:14px">Thank you very much!!!</span> <br></div></div>