How to install Freeradius Server 3.x

RADIUS VERSION : freeradius-server-3.0.13
SERVER : Ubuntu 14.04.5 LTS 2.6.32-042stab120.18 x86_64 x86_64 GNU/Linux
DATABASE VERSION : mysql  Ver 14.14 Distrib 5.5.54, for debian-linux-gnu (x86_64) using readline 6.3


[THANKS FOR]
http://freeradius.org/list/users.html
https://wiki.freeradius.org/guide/SQL-HOWTO-for-freeradius-3.x-on-Debian-Ubuntu
https://lalitvc.wordpress.com/2014/07/03/freeradius-3-0-x-installation-and-configuration-with-mysql/
https://www.howtoforge.com/setting-up-a-freeradius-based-aaa-server-with-mysql-and-management-with-daloradius
https://wiki.freeradius.org/guide/SQL-HOWTO#Configuring_FreeRadius_to_use_SQL
https://networkradius.com/doc/FreeRADIUS-Implementation-Ch5.pdf
http://deployingradius.com/documents/protocols/oracles.html
http://stackoverflow.com/questions/15238632/ask-configure-mysql-and-freeradius
http://stackoverflow.com/questions/17542452/installationhow-to-set-freeradius-service-on-startup
http://freeradius-users.freeradius.narkive.com/BEHhZGUM/freeradius-start-on-boot-rc-radiusd
https://ubuntuforums.org/showthread.php?t=2060807

[HOW TO FIX IT]
make sure you doing :D

install **depency required of radius3 :
libmysqlclient-dev libtalloc-dev

./configure --with-openssl=no --with-rlm_eap_tls  --with-rlm_eap_ttls  --with-rlm_eap_peap
make && make install

uncomment like "-sql" in /sites-avalible/default
uncomment like "-sql" in /sites-avalible/inner-tunnel

in file mods-availible/sql
change driver to rlm_sql_mysql ,or you can add and unlag default config driver  :
driver = "rlm_sql_mysql"

change dialect to mysql ,or you can add and unlag default config dialect :
dialect = "mysql"

change no to yes :
read_clients=yes

find and check :
client_table = "nas"

Comments