Hi Alan Dekok, I have fully read the document you specified. I see I can use "update coa" section in order to send the disconnect packet, but my question is: the traffic data are stored in MySQL, Can I write a SQL statement in "originate-coa" file in order to get the user who has ran out of data and he can send the disconnect message. -----Original Message----- From: freeradius-users-bounces+knightluffy=live.com@lists.freeradius.org [mailto:freeradius-users-bounces+knightluffy=live.com@lists.freeradius.org] On Behalf Of Alan DeKok Sent: Friday, September 26, 2014 10:59 PM To: FreeRadius users mailing list Subject: Re: How to send disconnect message to the NAS? Xin wrote:
I think it may have a way to send the Disconnect Message to NAS when FreeRadius server get the Accounting-Request message. But I don't know how do I do.
Read raddb/sites-available/originate-coa. This is documented. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html