On Fri, 2004-01-09 at 11:58, apellido jr., wilfredo p wrote:
> Hello, We offer Prepaid Internet in our area. Were
> thinking of giving free access time to our client in a
> certain time span example 12:00 midnight to 6:00 am.
> The accounting from 12:00 midnight - 6:00 am should
> not be included or added in there actual remaining
> time. Im thinking of 2 (original and
> backup)radius.conf  and another 2 sql.conf. where my
> original config is still as is and edit the backup
> config file.
> For radius.conf.backup i just comment counter module.
> For sql.conf.backup im changing the default value of
> accounting table. Setting cron job to restart the
> Freeradius every 11:59 pm. Any idea? what are the best
> solution for this? thanks ...
> 

Eww...I hate hacks if I can avoid them.  Seems like you should be able
to rewrite the counter sql statement so it doesn't look at accounting
items between those times?

-- 
Dennis Skinner
Systems Administrator
BlueFrog Internet
http://www.bluefrog.com


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to