On 02/11/2010 01:48 PM, Alan DeKok wrote:
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/4545d8ecd41cd798efc2fd75d...
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. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Thanks for help.