<div dir="ltr">Hi,<div><br></div><div>I have done clean SLES11 install<br></div><div><br></div><div>FreeRADIUS server Version: 2.1.1-7.16.1 <br></div><div style>also installed freeradius-server-libs and utils</div><div><br>
</div><div>FreeRADIUS server and libs and utils was installed via Yast.<br></div><div style><br></div><div style><br></div><div><div>radius:/etc # radclient -v</div><div>radclient: $Id$ built on Jan 22 2013 at 23:55:37</div>
</div><div><br></div><div><br></div><div><div>#</div><div># Version: $Id$</div><div>#</div><div><br></div><div>prefix="/usr"</div><div>exec_prefix="/usr"</div><div>bindir="/usr/bin"</div>
<div><br></div><div>usage() {</div><div> echo "Usage: radtest user passwd radius-server[:port] nas-port-number secret [ppphint] [nasname]" >&2</div><div> exit 1</div><div>}</div><div><br></div>
<div>radclient=$bindir/radclient</div><div>if [ ! -x "$radclient" ] && [ -x ./radclient ]</div><div>then</div><div> radclient=./radclient</div><div>fi</div><div><br></div><div>if [ "$1" = "-d" ]</div>
<div>then</div><div> DICTIONARY="-d $2"</div><div> shift;shift</div><div>else</div><div> DICTIONARY=""</div><div>fi</div><div><br></div><div>if [ $# -lt 5 ] || [ $# -gt 7 ]</div><div>then</div>
<div> usage</div><div>fi</div><div><br></div><div>if [ "$7" ]</div><div>then</div><div> nas=$7</div><div>else</div><div> nas=`hostname`</div><div>fi</div><div><br></div><div>(</div><div> echo "User-Name = \"$1\""</div>
<div> echo "User-Password = \"$2\""</div><div> echo "NAS-IP-Address = $nas"</div><div> echo "NAS-Port = $4"</div><div> if [ "$6" ]</div><div> then</div>
<div> echo "Framed-Protocol = PPP"</div><div> fi</div><div>) | $radclient $DICTIONARY -x $3 auth $5</div><div><br></div><div><br></div></div><div><br></div><div><br></div><div><br></div><div>
<br></div><div style>Andres</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/4/26 <span dir="ltr"><<a href="mailto:A.L.M.Buxey@lboro.ac.uk" target="_blank">A.L.M.Buxey@lboro.ac.uk</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
what version of FreeRADIUS? are you sure you arent running old copies of radclient/radtest<br>
<br>
ie you THINK you can do "-t mschap" but the wrapper or binary doesnt<br>
<br>
<br>
radclient -v ?<br>
<br>
which radtest<br>
then cat the resulting file.<br>
<br>
<br>
alan<br>
<div class="HOEnZb"><div class="h5">-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br>
</div></div></blockquote></div><br></div>