freeradius radclient MSCHAPv2 command string

Stephen Nichols Stephen.Nichols at
Mon Jun 23 17:46:48 CEST 2014


I want to use radclient to access radius server using MSCHAPv2.  Using freeradius version 2.1.12 on CentOS and 2.2.3 on our own Linux server.  I have used the following string to successfully authenticate using MSCHAPv1.

Echo 'User-Name = User1,MS-CHAP-Password =mypassword,NAS-IP-Address =,NAS-Port-Type=15,NAS-Port=1' | radclient -X auth testing123

Searched around and checked radclient -h, but found no information regarding format for an MSCHAPv2 command string.


This e-mail from Ultra Electronics and any attachments to it are confidential to the intended recipient and may also be privileged.  If you have received it in error please notify the sender and delete it from your system. If you are not the intended recipient you must not copy it or use it for any purpose nor disclose or distribute its contents to any other person.  All communications may be subject to interception or monitoring for operational and/or security purposes.  Please rely on your own virus checking as the sender cannot accept any liability for any damage arising from any bug or virus infection.

Recipient shall control the disclosure & access of technical data, information, and other items received under this e-mail in accordance with U.S. export control laws & regulations, including but not limited to the ITAR. No technical data, information or other items provided by Ultra Electronics - DNE Technologies, Inc. in connection with this email shall be provided to any foreign persons or to a foreign entity, including without limitation, a foreign subsidiary of recipient without the express written authorization of Ultra Electronics - DNE Technologies, Inc.; dissemination to non-U.S. persons whether in the United States or abroad requires an export license or other authorization

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Freeradius-Users mailing list