Hopefully this is a quick one...
How do you set non-resetting quotas?
At the moment, i have quotas for xxGb for a few residents who pay extra on their rent depending on how many Gb's they need, reset each month.
But i want them, once theyve used the xxGb, to not automatically get more when the month is up, so that they can pay for the next months access before the quota is reset
Whats the way to enable this on gargoyle?
Non-resetting Quotas?
Moderator: Moderators
Re: Non-resetting Quotas?
Can you clarify a bit more please?
Do I understand that you want:
Quota, download limit xxGB/month, resetting on a certain day each month, where the user has no way around this limit?
OR
Quota. Download limit xxGB/month, doesn't reset until they pay?
Option 2 is not possible without serious manual intervention.
i.e. They give you money, you log into router, remove quota, remake quota (therefore resetting it)
Do I understand that you want:
Quota, download limit xxGB/month, resetting on a certain day each month, where the user has no way around this limit?
OR
Quota. Download limit xxGB/month, doesn't reset until they pay?
Option 2 is not possible without serious manual intervention.
i.e. They give you money, you log into router, remove quota, remake quota (therefore resetting it)
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.
-
- Posts: 10
- Joined: Fri Apr 24, 2015 4:46 am
Re: Non-resetting Quotas?
Sorry if i wasnt clear enoughLantis wrote:Can you clarify a bit more please?
Do I understand that you want:
Quota, download limit xxGB/month, resetting on a certain day each month, where the user has no way around this limit?
OR
Quota. Download limit xxGB/month, doesn't reset until they pay?
Option 2 is not possible without serious manual intervention.
i.e. They give you money, you log into router, remove quota, remake quota (therefore resetting it)
Option 2
Im actually surprised theres not something already like a Never option in the drop down list for the Reset options, and a way to easily (via checkbox and/or buttons) enable/disable and manually reset quota for users
Im sure i cant be the only one who thinks this would be a good idea?
Guess im going to have to start poking into the exisiting code
Re: Non-resetting Quotas?
Your idea that you've just said is quite possible from memory of the code.
I believe the quota data is stored in a separate file so you just need to awk or Sed the data.
A never option I'm not sure about. Maybe it would be more appropriate to have it as "a very long time".
I believe the quota data is stored in a separate file so you just need to awk or Sed the data.
A never option I'm not sure about. Maybe it would be more appropriate to have it as "a very long time".
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.
-
- Posts: 10
- Joined: Fri Apr 24, 2015 4:46 am
Re: Non-resetting Quotas?
Hehe i like your sneaky theory of just setting the quota reset to a "very long time". Who knows, only a peek at the source will enlighten me.Lantis wrote:Your idea that you've just said is quite possible from memory of the code.
I believe the quota data is stored in a separate file so you just need to awk or Sed the data.
A never option I'm not sure about. Maybe it would be more appropriate to have it as "a very long time".
Downloading src code now....