By what mechanism does quotas "shut down all internet access" ?

General discussion about Gargoyle, OpenWrt or anything else even remotely related to the project

Moderator: Moderators

Post Reply
woodwood
Posts: 2
Joined: Sun May 31, 2020 2:58 pm

By what mechanism does quotas "shut down all internet access" ?

Post by woodwood »

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.

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: By what mechanism does quotas "shut down all internet access" ?

Post by Lantis »

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.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

woodwood
Posts: 2
Joined: Sun May 31, 2020 2:58 pm

Re: By what mechanism does quotas "shut down all internet access" ?

Post by woodwood »

Thanks Lantis, appreciate the info

...will look into print_quotas

Post Reply