mqnoy

[LINUX] HOW TO INSTALL FREERADIUS3

Mar 10th, 2017
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.76 KB | None | 0 0
  1. RADIUS VERSION : freeradius-server-3.0.13
  2. SERVER : Ubuntu 14.04.5 LTS 2.6.32-042stab120.18 x86_64 x86_64 GNU/Linux
  3. DATABASE VERSION : mysql  Ver 14.14 Distrib 5.5.54, for debian-linux-gnu (x86_64) using readline 6.3
  4.  
  5.  
  6. [THANKS FOR]
  7. http://freeradius.org/list/users.html
  8. https://wiki.freeradius.org/guide/SQL-HOWTO-for-freeradius-3.x-on-Debian-Ubuntu
  9. https://lalitvc.wordpress.com/2014/07/03/freeradius-3-0-x-installation-and-configuration-with-mysql/
  10. https://www.howtoforge.com/setting-up-a-freeradius-based-aaa-server-with-mysql-and-management-with-daloradius
  11. https://wiki.freeradius.org/guide/SQL-HOWTO#Configuring_FreeRadius_to_use_SQL
  12. https://networkradius.com/doc/FreeRADIUS-Implementation-Ch5.pdf
  13. http://deployingradius.com/documents/protocols/oracles.html
  14. http://stackoverflow.com/questions/15238632/ask-configure-mysql-and-freeradius
  15. http://stackoverflow.com/questions/17542452/installationhow-to-set-freeradius-service-on-startup
  16. http://freeradius-users.freeradius.narkive.com/BEHhZGUM/freeradius-start-on-boot-rc-radiusd
  17. https://ubuntuforums.org/showthread.php?t=2060807
  18.  
  19. [HOW TO FIX IT]
  20. make sure you doing :D
  21.  
  22. install **depency required of radius3 :
  23. libmysqlclient-dev libtalloc-dev
  24.  
  25. ./configure --with-openssl=no --with-rlm_eap_tls  --with-rlm_eap_ttls  --with-rlm_eap_peap
  26. make && make install
  27.  
  28. uncomment like "-sql" in /sites-avalible/default
  29. uncomment like "-sql" in /sites-avalible/inner-tunnel
  30.  
  31. in file mods-availible/sql
  32. change driver to rlm_sql_mysql ,or you can add and unlag default config driver  :
  33. driver = "rlm_sql_mysql"
  34.  
  35. change dialect to mysql ,or you can add and unlag default config dialect :
  36. dialect = "mysql"
  37.  
  38. change no to yes :
  39. read_clients=yes
  40.  
  41. find and check :
  42. client_table = "nas"
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50. signature :
  51. qnoy.rifky@gmail.com
Add Comment
Please, Sign In to add comment