Attention: All pages of this wiki depend on the pages that come before it, in order as they are listed on the Main Page. Please check for Dependencies.
Please also look at What You Need to Know Before Using This Wiki

Install FreeRadius

From COCNM
Jump to navigation Jump to search

Obtain and Install FreeRadius

Configure FreeRadius

Start FreeRadius

  • mkdir -p -m 1755 /var/service/radius
  • mkdir -p -m 0755 /var/service/radius/log
  • vi /var/service/radius/run
  • ln -s /var/service/multilog.run /var/service/radius/log/run
  • chmod 0755 /var/service/radius/run
  • chmod 0755 /var/service/radius/log/run
  • ln -s /var/service/radius/ /service/radius

Test Authentication Is Working

  • radtest bob.miller XXXXXXXX 127.0.0.1 1812 DeputyCherubJr <= This command should make something like this for the last line of output:
    rad_recv: Access-Accept packet from host 127.0.0.1 port 1812, id=237, length=20
  • ssh root@192.168.26.1
  • apt-get install freeradius-utils
  • radtest bob.miller XXXXXXXX 192.168.26.10 1812 DeputyCherubJr <= This command should make something like this for the last line of output:
    rad_recv: Access-Accept packet from host 192.168.26.10 port 1812, id=19, length=20
  • exit