Wireless Networking

Utilizing RADIUS authentication with Apple Airport Base Stations

 

 

 

 

 

Site Index

Photography

Technical Topics

 

 

 

Member

ACTC / APP

 

 

This site was created with

on

Radiator Install

(2) Installation

In the following instrucions, change username and the version numbers to match your username and the versions of software which you are using.

  1. Install the Mac OS X Development tools on your machine.
    This should be as easy as opening the CD Rom or Disk Image and double-clicking on the Installer.
    This requires System Administrator privledges.

  2. Open a terminal window, and

        sudo tcsh
    

    This requires System Administrator privledges. From this point on you will be working at the command line with superuser privledges.

  3. Unpack the Radiator Package
    Choose a directory to unpack the software in, if it does not exist, make one. I chose /usr/local/src

        mkdir /usr/local/src
        cd /usr/local/src
        gzip -c -d /Users/username/Radiator-2.19.tgz | tar xfBv -
    

    At this point you may access the Radiator Documentation at /usr/local/src/Radiator-2.19/doc/install.html This will specify what, if any, additional Perl Modules ( Digest-MD5 and other optional modules)

    
        # from  /usr/local/src
        gzip -c -d /Users/username/Digest-MD5-2.16.tar.gz | tar xfBv -
        cd Digest-MD5-2.16
        perl Makefile.PL
        make
        make install
    

    If the make command is not found, then it is not in shell's path of where to look for programs.

        set path= ( $path /usr/ccs/bin )
        make
        make install
    

  4. For any other Perl Modules (e.g. LDAP or SQL)

    Unpack them and then create the Makefile with perl Makefile.PL, then make the package and install it make install, as you just did with the Digest-MD5 module package.

  5. Change the AuthPort from 1645 to 1812

    Radiator is currently shipping configured to listen to UDP port 1645, for backward compatibility with previous Radiator installs, however, the offical port assigned to RADIUS has changed from 1645 to 1812. If you are installing Radiator for the first time, or in a new environment, you will want to change the AuthPort to be 1812.

        #  from /usr/local/src/Digest-MD5-2.16/
        cd ../Radiator-2.19
        mv radius.cfg    radius.cfg.orig
        sed '/^AuthPort/ s/1645/1812/' radius.cfg.orig > radius.cfg    
        mv radconfig.cgi radconfig.cgi.orig
        sed "/'AuthPort'/ s/1645/1812/" radconfig.cgi.orig>radconfig.cgi
        mv radpwtst      radpwtst.orig
        sed '/auth_port/ s/1645/1812/' radpwtst.orig > radpwtst
    

  6. Now make Radiator

    Review the Installation Instructions at /usr/local/src/Radiator-2.19/doc/install.html, installing any other modules (LDAP, SQL) as required. Repeat the steps as for the Digest-MD5 module above for each other module.

    Now create the Makefile, then with make the Radiator package

        perl Makefile.PL
        make
    

  7. Run Radiator's regression tests

        make test
    

    This should produce lots of ok xxs and no not ok xxs. Refer to the Radiator Installation Instructions for additional information. /usr/local/src/Radiator-2.19/doc/install.html

        perl radiusd -config_file goodies/simple.cfg
    

    Open a second terminal window, and sudo tcsh
    This requires System Administrator privledges.
    In the second window:

        cd /usr/local/src/Radiator-2.19
        perl radpwtst -user fred -password fred
    

    You should see the OK response.
    In the second window:

        perl radpwtst -user fred -password bogus
    

    You should see the Rejected response.
    Type Control-C in the first window to terminate the radius server.
    Close the second window.

    If that works ok, then

  8. Install Radiator Software

        make install
    

    Next: (3) Configure to allow clients