Coa server warning

Alan DeKok aland at deployingradius.com
Thu Feb 11 12:48:13 CET 2010


Andrew Rikhlivsky wrote:
> I tried to configure COA service on my test server.
> When i send coa packet:
...
> server localhost-coa {
>   WARNING: Empty section.  Using default return values.
>   WARNING: Empty section.  Using default return values.
> } # server localhost-coa
> Sending CoA-ACK of id 231 to 127.0.0.1 port 20722
> 
> What am I missing?

  Oops.  It would be good if that had *some* documentation.

  See:

http://github.com/alandekok/freeradius-server/blob/4545d8ecd41cd798efc2fd75d86826c4f0e3fd40/raddb/sites-available/coa

  Put the file into raddb/sites-available/coa, and link it into
raddb/sites-enabled/coa

  Then, edit it to suit your local config.

> 
> My configuration on FreeBSD 8.0, FreeRADIUS 2.1.8, MPD (as a NAS)
> 
> in radius.conf
> 
> listen {

  There's a sample "listen" section in the file.  Use that.

> in clients.conf
> 
> client localhost {
>     ipaddr = 127.0.0.1
>     secret = test1
>     nastype = other
>     coa_server = coaon

  Don't define a "coa_server" here.  It's not needed.

> in sites-enabled/originate-coa

  That is for SENDING a CoA packet, not for receiving one.

  Alan DeKok.



More information about the Freeradius-Users mailing list