Testing the Merit AAA Server
The Merit AAA installation from the SRC packages provides a script called tstrad for testing the RADIUS setup. This script uses the Merit test tool radpwtst. The test script is located in the directory /opt/UMC/radius. To test the Merit AAA configuration, change to the directory /opt/UMC/radius, and start the program by typing:
./tstrad <username> <userPassword><username>—Specifies the string identifying the user during the PPP login; for example, jane@isp1.com
<userPassword>—Specifies the user password submitted during the PPP login; for example, ./tstrad jane@isp1.com secret
If the customer did not install the Merit software from the SRC package, use the radpwst tool for testing the Merit AAA configuration by typing:
radpwtst -d <conf directory> -p <auth port> -s <server name> -u <auth type> -x -w < userPassword > <username>
- -d—Directory of users, clients, authfile, dictionary, etc.
- -p—Port number on which to listen for authentication requests
- -s—IP address or fully qualified DNS name of the server hosting Merit AAA
- -u—Authentication type; always use ppp
- -x—Allows the user to turn on debugging output
- -w—Allows the user to provide a password on the command line and not be prompted
The following example accomplishes the same as the tstrad script:
radpwst -d /opt/UMC/radius/etc -p 1812 -s 'hostname' -u ppp -x -w secret jane@virneo.com