Bandwidth per day.
Oguzhan Kayhan
oguzhank at bilkent.edu.tr
Tue Sep 8 13:16:40 UTC 2009
You can run a script that checks octets from mysql and.. if it is over
quota you can send disconnect msg to that user with radclient command as
echo "User-Name=test" | /usr/bin/radclient 192.168.1.1:1820 disconnect dichsk
> Thanks for taking the time to read this.
>
> I need to limit users so they can only use a certain amount of bandwidth
> per
> day. Seemed logical to me to use ChilliSpot-Max-Total-Octets for this,
> but
> I need to do so per day and am not having much luck. I have a freeradius
> sqlcounter which denies login for those over quota, but since it only
> checks
> upon login its not very useful. Im trying to avoid having to use MySQL
> procedures for this.
>
> Does anyone have any advice on how to accomplish this?
>
> Thanks!
>
More information about the Chilli
mailing list