2.6.2. Installing on Windows using ActiveState ActivePerl Previous topic Parent topic Child topic Next topic

Procedure

To install ActiveState ActivePerl and Radiator:
  1. Download and install ActivePerl from ActivePerl website Opens in new window
    During installation, we recommend installing it in C:\Perl64. This is typically the default for the MSI package.
  2. Download the required Perl modules from ActiveState using PPM.
  3. Open a Command Prompt window. Install the required Perl modules.
    cd \
    ppm install Win32::Daemon
    ppm install Digest::HMAC
    ppm install Digest::MD4
  4. If you are going to use SQL authentication, find the database specific DBD modules:
    ppm search DBD
    For example to install DBD::ODBC, type ppm install DBD::ODBC
  5. If you are going to use LDAP for authentication and/or accounting, obtain and install Net::LDAP:
    ppm install Net::LDAP
  6. If you are going to use EAP TLS, TTLS, or PEAP for 802.1x authentication obtain and install Net::SSLeay:
    ppm install Net::SSLeay
  7. Download Radiator Zip file from Radiator downloads Opens in new window. Unpack it to the default location, C:\Radiator. When using the default location, Radiator distribution is in C:\Radiator\Radiator-x.yy where x.yy is the version number.
  8. Open a Command Prompt window with administrator access and move to the distribution directory.
  9. Check that your distribution is complete:
    perl Makefile.PL
  10. Run the regression tests:
    perl test.pl
    You see lots of lines like ok xx, and none saying not ok xx.
  11. Install Radiator:
    perl Makefile.PL install
    This installs the Radiator programs and libraries in the standard places. It also creates a basic Radiator configuration file in C:\Program Files\Radiator\radius.cfg and a sample users file in C:\Program Files\Radiator\users.
  12. Run Radiator to test the sample configuration:
    perl c:\perl64\bin\radiusd
    You see some messages, followed by NOTICE: Server started:. Radiator is now waiting for RADIUS requests.
  13. In another Command Prompt window, run the test client program:
    perl c:\perl64\bin\radpwtst -user mikem -password fred
    You see OK for all requests. This proves that Radiator has correctly authenticated the user mikem, whose login details are in the users file in C:\Program Files\Radiator\users.
  14. Rerun radpwtst, this time with the wrong password for mikem:
    perl c:\perl64\bin\radpwtst -user mikem -password wrong
    You see Rejected: for Access-Request.
  15. If you configure a test NAS to use this server, you are to log in as the user mikem with password fred.
  16. Continue with post-installation tasks and configuration. For more information, see Section 2.8. After installation and Section 3. Configuring Radiator.