[Help] radtest mschap problem

A.L.M.Buxey at lboro.ac.uk A.L.M.Buxey at lboro.ac.uk
Fri Apr 26 23:29:31 CEST 2013


>    FreeRADIUS  server Version: 2.1.1-7.16.1 
>    also installed freeradius-server-libs and utils
>    FreeRADIUS server and libs and utils was installed via Yast.
>    radius:/etc # radclient -v
>    radclient: $Id$ built on Jan 22 2013 at 23:55:37
>    #
>    # Version:      $Id$
>    #
>    prefix="/usr"
>    exec_prefix="/usr"
>    bindir="/usr/bin"
>    usage() {
>            echo "Usage: radtest user passwd radius-server[:port]
>    nas-port-number secret [ppphint] [nasname]" >&2

yes. thats your problem. OLD

the current one says this:

usage() {
	echo "Usage: radtest [OPTIONS] user passwd radius-server[:port] nas-port
-number secret [ppphint] [nasname]" >&2
	echo "        -d RADIUS_DIR       Set radius directory" >&2
	echo "        -t <type>           Set authentication method" >&2
	echo "                            type can be pap, chap, mschap, or eap-
md5" >&2
	echo "        -x                  Enable debug output" >&2

etc etc etc

note, the tool has OPTIONS. yours doesnt. and because yours doesnt, it thinks
"-t" is the username and "mschap" is the password.... and therefore "testing" is the hostname
and you have no such host!


More information about the Freeradius-Users mailing list