<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">Thank you for your reply Alan. </div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">I am working on a project which is based on EAP_PSK and implement this is the first part.</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; ">As you have recommend, i have used the gdb to debug and see the problem. The output that i have is below </div><div style="background-color: transparent; "><div style="background-color: transparent; "># gdb radiusd</div><div style="background-color:
 transparent; ">GNU gdb (GDB) 7.1-ubuntu</div><div style="background-color: transparent; ">Copyright (C) 2010 Free Software Foundation, Inc.</div><div style="background-color: transparent; ">License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html></div><div style="background-color: transparent; ">This is free software: you are free to change and redistribute it.</div><div style="background-color: transparent; ">There is NO WARRANTY, to the extent permitted by law.  Type "show copying"</div><div style="background-color: transparent; ">and "show warranty" for details.</div><div style="background-color: transparent; ">This GDB was configured as "i486-linux-gnu".</div><div style="background-color: transparent; ">For bug reporting instructions, please see:</div><div style="background-color: transparent; "><http://www.gnu.org/software/gdb/bugs/>...</div><div style="background-color: transparent; ">Reading symbols from
 /usr/local/sbin/radiusd...done.</div><div style="background-color: transparent; ">(gdb) set logging file gdb-radiusd.log</div><div style="background-color: transparent; ">(gdb) set logging on</div><div style="background-color: transparent; ">Copying output to gdb-radiusd.log.</div><div style="background-color: transparent; ">(gdb) set args -f</div><div style="background-color: transparent; ">(gdb) run</div><div style="background-color: transparent; ">Starting program: /usr/local/sbin/radiusd -f</div><div style="background-color: transparent; ">[Thread debugging using libthread_db enabled]</div><div style="background-color: transparent; "><br></div><div style="background-color: transparent; ">P<span style="font-weight: bold;">rogram received signal SIGSEGV, Segmentation fault.</span></div><div style="background-color: transparent; "><span style="font-weight: bold;">0x080529d3 in cf_log_err (ci=0x0, </span></div><div style="background-color:
 transparent; "><span style="font-weight: bold;">    fmt=0x8085210 "\"%s\" modules aren't allowed in '%s' sections -- they have no such method.") at conffile.c:2641</span></div><div style="background-color: transparent; "><span style="font-weight: bold;">2641<span class="Apple-tab-span" style="white-space:pre">            </span>radlog(L_ERR, "%s[%d]: %s", ci->filename, ci->lineno, buffer);</span></div><div style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 16px; font-style: normal; background-color: transparent; "><br></div><div style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 16px; font-style: normal; background-color: transparent; "><br></div><div style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 16px; font-style: normal; background-color: transparent; ">Seems that in some part of a code, the eap2 module is
 not allowed. </div><div style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 16px; font-style: normal; background-color: transparent; "><br></div><div style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 16px; font-style: normal; background-color: transparent; ">Do you have an idea about this error please.</div><div style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 16px; font-style: normal; background-color: transparent; "><br></div><div style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 16px; font-style: normal; background-color: transparent; ">Thank you for your help.</div></div>  <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "> <div
 dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">De :</span></b> Alan DeKok <aland@deployingradius.com><br> <b><span style="font-weight: bold;">À :</span></b> arnauld ndefo <ndefo2002@yahoo.fr>; FreeRadius users mailing list <freeradius-users@lists.freeradius.org> <br> <b><span style="font-weight: bold;">Envoyé le :</span></b> Mardi 18 septembre 2012 11h47<br> <b><span style="font-weight: bold;">Objet :</span></b> Re: error of segmentation during the implementation of eap2<br> </font> </div> <br>arnauld ndefo wrote:<br>> i want to implement the freeradius with eap-psk. In many forum it is<br>> recommend to read the experimental.conf for configure the module eap2.<br>> After reading the experimental.conf, i have created the file eap2.conf<br>> which is attached to my email.<br>> Also, in the radius.conf, i have put in module section $INCLUDE<br>> eap2.conf. In
 the default file, i have put in the authenticate section<br>> eap2 { ok =  return}; replace in that file, all the eap by eap2.<br><br>  OK.<br><br>> When i launch the radius with export<br>> LD_PRELOAD=/home/dibus/hostap-06/eap_example/libeap.so && radiusd -X ; i<br>> have the output which is in file sortie_freerad_ubuntu. At the end, you<br>> will see and error of segmentation when it starts to load the module files<br><br>  See doc/bugs<br><br>> Someone can help me to find the issue please??? It is very urgent for me.<br><br>  It's nice that it's urgent for you.  It's not urgent for us.<br><br>  *Why* is it urgent?  Are you a student doing an assignment?  Or<br>someone whose job requires EAP-PSK?<br><br>  Please explain.<br><br>  Alan DeKok.<br><br><br> </div> </div>  </div></body></html>