It looks like the secret you specified in the radtest command, does not exist in your clients.conf file.
client 127.0.0.1 { secret = radius shortname = localhost nastype = other } Do you have an entry like the above in your clients.conf file? ... Miles Mawyer -=- Webmaster . Centralva.net ... ________________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Gao Sent: Friday, April 01, 2005 11:31 AM To: 'freeradius-users@lists.freeradius.org' Subject: Auth problem (freeradius+mysql) Hi, I have freeradius and mysql installed on my debian box, both of them are working fine. But when I run command: radtest testing password localhost 17 radius I got the messages like: Sending Access-Request of id 129 to 127.0.0.1:1812 User-Name = "testing" User-Password = "password" NAS-IP-Address = pkany217 NAS-Port = 17 Re-sending Access-Request of id 129 to 127.0.0.1:1812 User-Name = "testing" User-Password = "\24485\302\347\241-\325\361\300\342\241\300>\336\366" NAS-IP-Address = pkany217 NAS-Port = 17 rad_recv: Access-Reject packet from host 127.0.0.1:1812, id=129, length=20 rad_decode: Received Access-Reject packet from 127.0.0.1:1812 with invalid signature (err=2)! (Shar ed secret is incorrect.) radclient: radclient.c:440: send_one_packet: Assertion `radclient->reply == ((void *)0)' failed. /usr/bin/radtest: line 53: 27008 Done ( echo "User-Name = \"$1\""; echo "User-Pas sword = \"$2\""; echo "NAS-IP-Address = $nas"; echo "NAS-Port = $4"; if [ "$6" ]; then echo "Framed-Protocol = PPP"; fi ) 27009 Aborted | $radclient $DICTIONARY -x $3 auth $5 Does anybody know why and how to solve this issue? Thanks Brian - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html