Provided by: freeradius-common_2.1.12+dfsg-1.2ubuntu8_all bug


       radtest - send packets to a RADIUS server, show reply


       radtest  [-d raddb_directory] [-t pap/chap/mschap] [-x ] [-4 ] [-6 ] user password radius-
       server nas-port-number secret [ppphint] [nasname]


       radtest is a frontend to radclient(1). It generates a list of attribute/value pairs  based
       on  the command line arguments, and feeds these into radclient. It's a fast and convenient
       way to test a radius server.


       -d raddb_directory
              The directory that contains the RADIUS dictionary files. Defaults to /etc/raddb.

       -t pap/chap/mschap/eap-md5
              Choose the authentiction method to use.  e.g. "-t pap", "-t chap", "-t mschap",  or
              "-t  eap-md5",.  Defaults to "pap".  Using EAP-MD5 requires that the "radeapclient"
              program is installed.

       -x     Enables debugging output for the RADIUS client.

       -4     Use NAS-IP-Address for the NAS address (default)

       -6     Use NAS-IPv6-Address for the NAS address (default)

       user   Username to send.

              Password of the user.

              Hostname or IP address of the radius server. Optionally, you may specify a port  by
              appending :port

              The  value  of  the  NAS-Port  attribute.  Is an integer between 0 and 2^31, and it
              really doesn't matter what you put here. 10 will do fine.

       secret The shared secret for this client.

              If you put an integer > 0 here,  radtest  (or  actually  radclient)  will  add  the
              attribute Framed-Protocol = PPP to the request packet.

              If  present, this will be resolved to an IP address and added to the request packet
              as the NAS-IP-Address attribute. If you don't specify it, the local hostname of the
              system will be used.


       radiusd(8), radclient(1).


       Miquel van Smoorenburg,

                                           5 April 2010                                RADTEST(1)