freeradius accounting off based on time

Sianoosh sianoosh at gmail.com
Sat Sep 22 09:33:37 CEST 2012


Hi Mohsen ,
I think there are several ways to do that but the quickest solution is to
do log users traffic in another table(clone of your original table) or DB
during that period of time.this solution might not be the exact quick
solution but the idea may help you.
there are ofcourse permanent and temporary solutions for that issue too.

Sianoosh (friend of Nima)
On Sep 20, 2012 1:50 PM, "Mohsen Saeedi" <mohsen.saeedi at gmail.com> wrote:

>  Hi
> I'm using chillispot with freeradius. i wrote a perl module for user
> traffic accounting with freeradius sql module to limit users total traffic
> at the month or at the week. i defined a few attribute fot this purpose.
> and the question is :
> I need to enable a free traffic for all user at the specific time. for
> example from 22:00 to 06:00. how can i enable it for our users? we don't
> want to calculate this free traffic in the user total traffic and it should
> free at the specific time.
> thanks.
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20120922/a5ce0ebb/attachment.html>


More information about the Freeradius-Users mailing list