. .

Freeradius installation

Software

  • Slackware 13.37
  • Freeradius

Installation

tar jxvf freeradius-server-x.x.xx.tar.bz2
cd freeradius-server-x.x.xx
./configure --prefix=/usr/local/freeradius
make
make install

Testing the installation

  • Create a test user in /usr/local/freeradius/etc/raddb/users file, add the following user in the very beginning
    testuser Cleartext-Password := "testingpwd"
    
  • Start the radiusd
    /usr/local/freeradius/sbin/radiusd -X
    
  • Setting the secret for client, default installation, testing123 is setup as the secret for localhost in /usr/local/freeradius/etc/raddb/clients.conf
  • Test the setup
    /usr/local/freeradius/bin/radtest testuser testingpwd 127.0.0.1 0 testing123
    
    # You should get Access-Accept reply.
    
    # Testing using MSCHAP
    /usr/local/freeradius/bin/radtest -t mschap testuser testingpwd 127.0.0.1 0 testing123
    
    # You should get Access-Accept reply.
    

Please refer other posts for configuration.