 
 
 
|
n
Radiator
Installation
Radiator is a well behaved Perl application, and installation
is usually easy, but you will need to be prepared to spend some time
configuring Radiator
to suit your needs. You will need to be a competent system administrator
in order to install Radiator. You will need to have a basic understanding
of Radius and your system's authentication and accounting requirements
in order to configure Radiator. You will need to have a basic understanding
of SQL in order to configure AuthBy SQL (if you plan to use it).
You will need to have a basic understanding of LDAP in order to configure
AuthBy
LDAP (if you plan to use it).
Unix
- Make sure you are (or have access to) a system administrator and
someone who understands your Radius authentication and accounting requirements.
- Obtain and install Perl 5 version 5.6.0 or better.
- Obtain and install Perl Digest-MD5 version 2.12 or later from your
nearest CPAN archive.
- If you plan to use SQL for authentication and/or accounting, obtain
and install DBI (version 0.90 or better) and the DBD module for your
selected database. DBD modules are available for many commercial, free
and shareware RDBMSs. See your nearest CPAN archive.
- If you plan to use MS-CHAP or MS-CHAP2 authentication obtain and
install Digest-MD4 from your nearest CPAN archive.
- If you plan to use LDAP for authentication and/or accounting, obtain
and install perl-ldap (version 0.22 or better) See your nearest CPAN archive.
- If you plan to use EAP TLS, TTLS or PEAP for 802.1x authentication
obtain and install OpenSSL version
0.9.7 or later, and Net_SSLeay version 0.22 or later, Digest-HMAC version
1.01 or later and Digest-SHA1 version 2.01 or later from your nearest CPAN archive.
- If you plan to use the GUI interface to radpwtst obtain and install
Perl Tk (version Tk800.002 or better) See your nearest CPAN archive.
- Unpack the distribution with
gunzip -c Radiator-x.x.tgz|tar
xvf -. You will need the Gnu Unix tool gunzip(1) to do this.
- Check the latest patches and bug alerts for
patches that might be relevant to your installation.
- Change to the distribution directory:
cd Radiator-x.x
-
perl Makefile.PL
-
make test This is the regression test. You should see
lots of lines saying "ok" and none saying "not ok".
- As a final test, run Radiator with a simple configuration file:
- Run radiator with
perl radiusd -config_file goodies/simple.cfg.
This runs Radiator with logging turned on (so you can see whats
happening), and authenticates all requests from the file users.
You will see some messages, followed by INFO: Server started.
Radiator is now waiting for requests to arrive.
- In another window, change to your Radiator directory, and run
the test application with:
perl radpwtst -user fred -password fred
You should see "OK".
- Rerun radpwtst, this time with the wrong password from fred:
perl radpwtst -user fred -password wrong
You should see "Rejected".
- If you configure a test NAS to use this server, you will able
to log in as the user "fred" with password "fred".
- If all goes well,
make install. This will install the
Radius perl modules in your site-perl directory, and radiusd, radpwtst,
builddbm and buildsql in your local executable directory.
- Now go to Configuration
Linux RPM
Linux users can easily
install from an RPM binary package
- Make sure you are (or have access to) a system administrator and
someone who understands your Radius authentication and accounting requirements.
- Log in as root
- Install the package with
rpm -Uvh Radiator-x.x-x.noarch.rpm
- Start the server
/etc/init.d/radiator start
- Test authentication
radpwtst
- Edit /etc/radiator/radius.cfg to suit your site and needs. See the
reference manual in /usr/share/doc/Radiator-x.x for more details.
Mac OS X
- See the detailed installation instructions in goodies/osx.txt in
your Radiator distribution.
Windows
On Microsoft Windows, we recommend that
you use ActivePerl from ActiveState, since it installs very easily,
and many additional modules are available
precompiled directly from ActiveState.
- Make sure you are (or have access to) a system administrator and
someone who understands your Radius authentication and accounting requirements.
- Download and install ActivePerl version
5.6.1 or later. During installation, accept all the defaults. Allow setup to
reboot your computer if it needs to.
- Connect your computer to the Internet so you will be able download
any required Perl modules from ActiveState using PPM in the next section.
- Double click on c:\perl\bin\ppm (the Perl package manager). You will
get a command line screen running ppm with a
PPM> prompt.
- If you plan to use MS-CHAP or MS-CHAP2 authentication, type
install
Digest::MD4.
- If you plan to use SQL authentication, type
install DBI to
install the main DBI package. Then find the database specific module(s)
you want by typing search DBD, then install the one(s)
you need for your database. For example, if you want to use ODBC to
connect to your database, type install DBD-ODBC
- If you plan to use LDAP authentication, type
install perl-ldap.
- Close the PPM window. Perl is now installed.
- Download (username and
password required) and run the self-extracting Radiator Zip file
for Windows. Let it unpack to the default location, c:\Radiator (we
will call this location the distribution directory).
- Start an MSDOS command window, change directories to the distribution
directory.
- Type
perl Makefile.PL. This will check that your distribution
is complete.
- Run the regression tests with
perl test.pl. You should
see lots of lines like "ok xx", and none saying "not ok xx".
- Install Radiator with
perl Makefile.PL install. This
will install the Radiator programs and libraries in the standard places,
and will create a basic Radiator configuration file in C:\Program Files\Radiator\radius.cfg
and a sample users file in C:\Program Files\Radiator\users.
- Now test Radiator with the sample configuration file in c:\Program
Files\Radiator\radius.cfg which authenticates all requests from the
file
C:\Program Files\Radiator\users, and logs extensively
to C:\Program Files\Radiator\logfile
- Run radiator with
perl c:\perl\bin\radiusd
You will see some messages, followed by INFO: Server started.
Radiator is now waiting for requests to arrive.
- In another command window run the test client program with:
perl c:\perl\bin\radpwtst -user mikem -password fred
You should see "OK".
- Rerun radpwtst, this time with the wrong password for mikem:
perl radpwtst -user mikem -password wrong
You should see "Rejected".
- If you configure a test NAS to use this server, you will able
to log in as the user "mikem" with password "fred".
- To optionally arrange for Radiator to be run as a service automatically
at boot time, see the Radiator
Reference Manual
- Now go to Configuration
Configuration
Now that Radiator is installed
and you know that it is working properly, you need to configure it
to suit your own local needs.
Radiator uses a configuration file to tell it important things like
which NASs it will talk to, and how to handle authentication and accounting
requests
from those NASs. Radiator has a large number of ways to handle authorisation
and accounting. You will have to create a configuration file for your site.
Because your needs will almost certainly be different from anyone else, you
will need
to spend some time building and testing it.
- Read the configuration reference manual
- Check the example configuration files in the goodies directory. You might
find one that suits your needs very closely.
- Create and edit a configuration file. We suggest you start with a very
simple config file such as the the one in goodies/radius.cfg. Add extra features
as you go.
- Run radiusd by hand, and test it with radpwtst until you are sure it is
configured the way you need for your site. You may want to specify your config
file with
-config_file filename.
- When you are sure Radiator is configured the way you want, arrange for
radiusd to start automatically at boot time (see the reference manual for
details of different ways to do this for different platforms)
- Join the Radiator Free Mailing List. This will
allow you to exchange help and information with other Radiator owners.
Additional Resources
If you have trouble
If you have an Email support contract send
any questions to the relevant email support contract address,quoting
your Email Support User
Name. Otherwise, you may use the Radiator Free Mailing
List
Before you post to the email support address or free mailing list
asking for assistance, we suggest you go through the following check list:
- If you have trouble downloading the software, please contact info@open.com.au.
- Consult the Reference Manual.
- Consult the FAQ for extra hints.
- Check that you are using the latest version of Radiator. See http://www.open.com.au/radiator/downloads,
use the username and password we have issued to you. Upgrade if you need
to.
- Check whether there are any patches that address your problem. See the
README in the patches
directory for your revision. Apply any patches that you think you might
need.
- If you still have the problem post to the free mailing
list by mailing to radiator@open.com.au (you
will need to subscribe before first posting to that list) Be sure to include
at least the following information:
- A detailed description of the problem.
- Your Radiator configuration file (remove any secrets and passwords
first).
- An extract from your Radiator log file (with Trace level of 4) illustrating
the problem, or at least what is happening at the time of the problem.
- Details of the computer type, operating system etc.
This information helps people to understand your problem and help find
a solution more quickly.
If you have a support contract, you may email us at radiator-support@open.com.au.
Mail to this address will be ignored unless you have a support contract.
n |