Hello,
By what mechanism does quotas "shut down all internet access" ?
Can this be modified/scripted?
for example: (instead of doing what it does)
toggle wifi to off when daily bandwidth limit reached
background:
2 internet connections(on 2 separate routers)
(1 fast and metered, the other slow and unlimited)
Would like to like to toggle wifi off (until quota reset,)
thus forcing clients to
use the secondary wifi/SSID on an unconnected/separate
AP/router... then toggle wifi back on upon quota reset.
Thanks.
By what mechanism does quotas "shut down all internet access" ?
Moderator: Moderators
Re: By what mechanism does quotas "shut down all internet access" ?
It is all done within iptables, so nothing you can really hook to trigger any events.
You could do an external check using print_quotas and your own script to carry out everything on a cronjob.
You could do an external check using print_quotas and your own script to carry out everything on a cronjob.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: By what mechanism does quotas "shut down all internet access" ?
Thanks Lantis, appreciate the info
...will look into print_quotas
...will look into print_quotas