To install Strawberry Perl and Radiator:
- Download and install Strawberry Perl from StrawberryPerl
website
During installation, we recommend installing it in
C:\Strawberry
. This is the default for the MSI
package.
- 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.
- Open a Command Prompt window. Install the prerequisite Perl modules.
cd \
cpan Win32::Daemon
cpan Digest::MD4
- 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
- If you are going to use LDAP for authentication and accounting,
obtain and install Net::LDAP:
cpan Net::LDAP
- If you are going to use EAP TLS, TTLS or PEAP for 802.1x
authentication obtain and install Net::SSLeay:
cpan Net::SSLeay
- Download Radiator Zip file from Radiator
downloads . 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.
- Open a Command Prompt window with administrator access and move to
the distribution directory.
- Check that your distribution is complete:
perl Makefile.PL
- Run the regression tests
perl test.pl
You see
lots of lines like ok xx, and none saying
not ok xx.
- 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
.
- 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.
- 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
.
- 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.
- 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