Disconnect-Request packet

Alan DeKok aland at ox.org
Thu Jul 28 00:52:16 CEST 2005

N White <nwtech at tele-net.net> wrote:
> Ok. I am trying to figure out how to disconnect a user, or to tell the 
> radius server to send a disconnect packet to the NAS for a specific 
> user. This is the command I am using:
> echo "User-Name = nickwhite" | radclient disconnect mysecret -x

  Is the IP address of the NAS?

> ad_recv: Disconnect-Request packet from host, id=139, 
> length=31
> Unknown packet code 40 from client - ID 139 : IGNORED

  FreeRADIUS doesn't listen for disconnect packets.  And, you're
sending the disconnect packet to the authentication port.  There's a
special port for disconnects, but I forget what it is.

> But why then is there a command as part of radclient to disconnect, and 
> what does that response exactly mean. Is there any way to accomplish 
> this?(disconnecting a user via radclient?)

  Send the disconnect packet to the NAS.

  Alan DeKok.

More information about the Freeradius-Users mailing list