As I read in forums, quota is written to flash several times a day, right?
Is the number of writes per day somehow configurable?
Also, it is not written automatically after the limit is reached.
In my case, I have a router which is physically accessible by end users. After the limit is reached, the users will experience their internet connection not working. What will they do? Reset the router! And since the quota usage has not been written, they can start all over again!
Is this avoidable?
Quota write to flash
Moderator: Moderators
Re: Quota write to flash
its a Cron job, so yes it's controllable.
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: Quota write to flash
Great, thanks.
Now, is it somehow possible to trigger a write once the limit is reached so that I do not have to make too many flash writes?
Now, is it somehow possible to trigger a write once the limit is reached so that I do not have to make too many flash writes?
Re: Quota write to flash
in theory yes, but i don't know how. you'd be modifying the code.
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: Quota write to flash
Thanks. I've edited the crontab directly so I ended with two entries. This should fix it.
About the triggered write - isn't it the logical thing to do? Maybe it can be added in future versions.
About the triggered write - isn't it the logical thing to do? Maybe it can be added in future versions.
Re: Quota write to flash
The trigger could also be configurable, such as:
"Write quota data
a. periodically
b. after a limit is reached
c. after xx MB/GB/TB of traffic"
"Write quota data
a. periodically
b. after a limit is reached
c. after xx MB/GB/TB of traffic"