FreeRadiusClient Installation Steps

I tried configuring freeradius with Kamailio but Kamailio gives the error that it didn't find radiusclient-ng files. So I found a workaround for that
$ wget https://github.com/FreeRADIUS/freeradius-client/archive/release_1_1_7.tar.gz
$ tar -zxvf release_1_1_7.tar.gz
$ cd freeradius-client-release_1_1_7
$ ./configure
$ make
$ make install 
$ cd /usr/local/include/
$ ln -s freeradius-client.h radiusclient-ng.h
$ cd /usr/local/lib/
$ ln -s libfreeradius-client.la libradiusclient-ng.la
$ ln -s libfreeradius-client.so.2.0.0 libradiusclient-ng.so.2.0.0
$ ln -s libfreeradius-client.so.2.0.0 libradiusclient-ng.so.2
$ ln -s libfreeradius-client.so.2.0.0 libradiusclient-ng.so
cp /home/kamailio/radiusclient-ng/etc/radiusclient-ng/dictionary dictionary
Enjoy ;)

No comments:

Post a Comment

SIPp UAC Scenario to send RTP

Please install the latest sipp ( >=3.7.3 ) wget https://github.com/SIPp/sipp/releases/download/v3.7.3/sipp chmor +x sipp mv sipp /usr/bin...