<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 9, 2014 at 3:18 PM, Muhammad Hasan <span dir="ltr"><<a href="mailto:muhhasan.1311@gmail.com" target="_blank">muhhasan.1311@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-family:georgia,serif;font-size:small">Hi Fajar,</div><div style="font-family:georgia,serif;font-size:small">
<br></div><div style="font-family:georgia,serif;font-size:small">
thanks for your repply,</div><div style="font-family:georgia,serif;font-size:small">actually I am not familiar with freeradius,</div><div style="font-family:georgia,serif;font-size:small">
I just following step that given from my friend.</div><div style="font-family:georgia,serif;font-size:small"><br></div><div style="font-family:georgia,serif;font-size:small">My friend was tried eap-sim on freeradius server 2.2.0 before, and he was successed.<br>
the original step that he was gave to me is like this:<div class=""><br><div>1. apt-get install dpkg-dev</div><div>2. apt-get build-dep freeradius</div></div><div>3. tar xvzf freeradius-server-2.2.0.tar.gz</div>
<div>4. edit eapsimlib.c (I was edit eapsimlib.c same as the step that I was read in website)</div><div style="font-family:arial,sans-serif;font-size:13px"><font face="georgia, serif"><a href="https://github.com/FreeRADIUS/freeradius-server/commit/cfd61d24b99022eb613054bbf7e0da4fa3af1bde#" target="_blank">https://github.com/FreeRADIUS/freeradius-server/commit/cfd61d24b99022eb613054bbf7e0da4fa3af1bde#</a></font><br>
</div><div style="font-family:arial,sans-serif;font-size:13px"><font face="georgia, serif">5. etract debian file in freeradius-server-2.2.0 folder</font></div><div style="font-family:arial,sans-serif;font-size:13px">
<font face="georgia, serif">type: debian/rules binary</font></div><div style="font-family:arial,sans-serif;font-size:13px"><font face="georgia, serif">6. install the packets:</font></div><div style="font-family:arial,sans-serif;font-size:13px">
<font face="georgia, serif">a. dpkg -i libfreeradius2_2.2.0+git_i386.deb</font></div><div style="font-family:arial,sans-serif;font-size:13px"><font face="georgia, serif">b. dpkg -i freeradius_2.2.0+</font><span style="font-family:georgia,serif">git_i386.deb</span></div>
<div style="font-family:arial,sans-serif;font-size:13px"><font face="georgia, serif">c. dpkg -i freeradius-common_2.2.0+</font><span style="font-family:georgia,serif">git_i386.deb</span></div><div style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:georgia,serif">d. dpkg -i freeradius-utils_2.2.0</span><font face="georgia, serif">+</font><span style="font-family:georgia,serif">git_i386.deb</span></div><div style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:georgia,serif"><br></span></div></div></div></blockquote><div><br></div><div><br></div><div>Your original mail doesn't mention the "debian/rules" part.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div style="font-family:georgia,serif;font-size:small"><div style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:georgia,serif"></span></div><div style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:georgia,serif">but the step was succesfull until step 6 (b).</span></div>
<div style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:georgia,serif">i got fail:</span></div><div style="font-family:arial,sans-serif;font-size:13px">
<div style="font-family:georgia,serif">* checking FreeRADIUS daemon configuration ... [fail]</div><div style="font-family:georgia,serif">invoke-rc.d: initscript freeradius, action "restart" failed.</div>
<div style="font-family:georgia,serif">Processing triggers for ureadahead.</div><div style="font-family:georgia,serif"><br></div><div style="font-family:georgia,serif">
this is result when I type Freeradius -X</div><div style="font-family:georgia,serif">Unable to open file "/etc/freeradius/sql/mysql/ippool-dhc.conf": No such file or directory</div><div style="font-family:georgia,serif">
Errors reading or parsing /etc/feeradius/radius.confbut</div></div></div></div></blockquote><div><br></div><div>are those typos? "dhc.conf" and "radius.confbut". Or are those what is actually displayed?</div>
<div>In any case those usually means you've edited the config and broke it. The default config should work fine.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div style="font-family:georgia,serif;font-size:small"><div style="font-family:arial,sans-serif;font-size:13px"><div style="font-family:georgia,serif"><br></div><div style="font-family:georgia,serif">-------------------------------------------------</div>
<div style="font-family:georgia,serif"><br></div><div style="font-family:georgia,serif">and then I've tried on freeradius server 2.2.5</div><div style="font-family:georgia,serif">
the different file on eapsimlib.c has been updated so I don't have to edit again.</div><div style="font-family:georgia,serif">I just next the following step.</div><div style="font-family:georgia,serif">
but the result is still the same as before.</div><div style="font-family:georgia,serif"><br></div><div style="font-family:georgia,serif">should I try the another method?</div><div style="font-family:georgia,serif">
but I have no idea what's the another method :(</div></div>
</div></div><div class="gmail_extra"><br></div></blockquote><div><br></div><div>Did you intentionally skip reading this part of my reply?</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_extra"><div class="gmail_quote"><div><div class="h5">On Mon, Jun 9, 2014 at 3:00 PM, Fajar A. Nugraha <span dir="ltr"><<a href="mailto:list@fajar.net" target="_blank">list@fajar.net</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div></div></div></div>
</div></div></div></blockquote></div></div></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div class="h5"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>You probably download a prebuilt package (deb) belonging to another distro/version, not the one you actually compile. If you just want to use FR-2.2.5 on ubuntu, try <a href="https://launchpad.net/~freeradius/+archive/stable" target="_blank">https://launchpad.net/~freeradius/+archive/stable</a><font color="#888888">
<div><br></div></font></div></div></div></div></div></div></blockquote></div></div></blockquote><div><br></div><div><br></div><div>That should qualify as "another method".</div><div><br></div><div>-- </div><div>
FAN</div></div></div></div>