28 Mar
2016
28 Mar
'16
10:34 a.m.
On Mar 27, 2016, at 1:21 PM, Syed Jahanzaib <aacable79@gmail.com> wrote:
Is it good idea to control users disconnection / coa via freeradius (via accounting section ) ?
Yes. That's why we have the example of sites-available/originate-coa.
Or its better to do via bash script which pulls data from the mysql and take action accordingly like disconnect expired / over quota users or change package accordingly or aimilar actions?
You can always run radclient from a shell script. The difference is that the originate-coa server is run ONLY when the server receives packets. You can run radclient at any time, including from a cron job. Alan DeKok.