Sunday, 9 August 2015

Install and setting up FreeRadius on MacOS

You can install freeRADIUS server by using following command.

$brew install freeradius-server

If you don’t install brew, install HomeBrew software. Use following command to install HomeBrew


If you want to build FreeRADIUS from source code use following procedure.

Step 1: Download FreeRadius from following link.


Step 2: Unzip the tar file, go to the unzipped folder and run following command.

./configure --disable-shared

Step 2: Run ‘make’ command

Step 3: Run ‘make install’ command.

Step 4: radiusd is located at "/usr/local/sbin/radiusd".
$ ls -l /usr/local/sbin/radiusd
-rwxr-xr-x  1 harikrishna_gurram  admin  466316 Jul 16 15:48 /usr/local/sbin/radius

All radius files located at /usr/local/etc/raddb


Step 5: Run command "/usr/local/sbin/radiusd -v", to know the version details.
$ /usr/local/sbin/radiusd -v
radiusd: FreeRADIUS Version 3.0.9, for host i386-apple-darwin13.4.0, built on Jul 16 2015 at 15:48:12
Copyright (C) 1999-2015 The FreeRADIUS server project and contributors
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License
For more information about these matters, see the file named COPYRIGHT

Trouble shooting
1.   If you got error like following “configure: error: FreeRADIUS requires libtalloc”. Install libtalloc library using following command.

First install HomeBrew software, if you don't install. Use following command to install HomeBrew

Run following  command to install talloc library.
brew install talloc






Prevoius                                                 Next                                                 Home

No comments:

Post a Comment