I just following step that given from my friend.
My friend was tried eap-sim on freeradius server 2.2.0 before, and he was successed.
the original step that he was gave to me is like this:
1. apt-get install dpkg-dev
2. apt-get build-dep freeradius
3. tar xvzf freeradius-server-2.2.0.tar.gz
4. edit eapsimlib.c (I was edit eapsimlib.c same as the step that I was read in website)
5. etract debian file in freeradius-server-2.2.0 folder
type: debian/rules binary
6. install the packets:
a. dpkg -i libfreeradius2_2.2.0+git_i386.deb
b. dpkg -i freeradius_2.2.0+git_i386.deb
c. dpkg -i freeradius-common_2.2.0+git_i386.deb
d. dpkg -i freeradius-utils_2.2.0+git_i386.deb
but the step was succesfull until step 6 (b).
i got fail:
* checking FreeRADIUS daemon configuration ... [fail]
invoke-rc.d: initscript freeradius, action "restart" failed.
Processing triggers for ureadahead.
this is result when I type Freeradius -X
Unable to open file "/etc/freeradius/sql/mysql/ippool-dhc.conf": No such file or directory
Errors reading or parsing /etc/feeradius/radius.confbut
-------------------------------------------------
and then I've tried on freeradius server 2.2.5
the different file on eapsimlib.c has been updated so I don't have to edit again.
I just next the following step.
but the result is still the same as before.
should I try the another method?
but I have no idea what's the another method :(