2.8.3. Installing and upgrading on Windows using Strawberry Perl Previous topic Parent topic Child topic Next topic

To install Strawberry Perl and Radiator:
  1. Download and install Strawberry Perl from StrawberryPerl website Opens in new window
    During installation, we recommend installing it in C:\Strawberry. This is the default for the MSI package.
  2. Connect your computer to the Internet so you are able download any required Perl modules from CPAN. For more information, see Section 2.1.2. CPAN.
  3. Open a Command Prompt window. Install the prerequisite Perl modules.
    cd \
    cpan Win32::Daemon
    cpan Digest::MD4
  4. If you are going to use SQL authentication, find the database specific DBD module(s) from CPAN. For example, to install DBD::ODBC:
    cpan DBD::ODBC
  5. If you are going to use LDAP for authentication and accounting, obtain and install Net::LDAP:
    cpan Net::LDAP
  6. If you are going to use EAP TLS, TTLS or PEAP for 802.1x authentication obtain and install Net::SSLeay:
    cpan 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:\strawberry\perl\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:\strawberry\perl\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:\strawberry\perl\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.

Upgrading Radiator

To upgrade Radiator, repeat the installation using the a Radiator distribution package file. The files in the new distribution will overwrite any files in the old distribution