Installation
Installing FreeRADIUS on FreeBSD
If not using ports.
One way:
cd /usr/local/src
wget ftp://ftp.freeradius.org/pub/radius/freeradius-1.0.0.tar.gz
tar zxfv freeradius-1.0.0.tar.gz
cd freeradius-1.0.0
The other way:
cd /usr/local/src
fetch ftp://ftp.freeradius.org/pub/radius/freeradius-[see official website for latest release].tar.gz
tar zxfv freeradius-[see official website for latest release].tar.gz
cd freeradius-[see official website for latest release]
Use the following commands to install it:
./configure
make
make install clean
If it doesn’t work and you see the following error see instructions below:
configure: error: GNU Make is not installed. Please download and install it from ftp://prep.ai.mit.edu/pub/gnu/make/ before continuing.
Install GNU make instead of just make:
fetch http://prep.ai.mit.edu/pub/gnu/make/make-3.81.90.tar.gz
./configure
make
make install clean
csh
NOTE
% csh / % rehash causes the shell to recompute a table of where commands are
located. This is necessary if you add a command to a directory
in the current shell’s search path and wish the shell to find it,
since otherwise the hashing algorithm may tell the shell that the
command wasn’t in that directory when the hash table was computed.
Now proceed to FreeRADIUS directory and enter the following commands:
./configure
gmake
gmake install clean
csh
It’s going to work out now. To start the server use radiusd command. To stop the server use pkill radiusd.