Auto reset fair link limit when status IDLE or scheduled time

Suggest improvements and new features for Gargoyle.

Moderator: Moderators

mastermindsos
Posts: 6
Joined: Sun Sep 30, 2018 5:53 am

Auto reset fair link limit when status IDLE or scheduled time

Postby mastermindsos » Tue Oct 16, 2018 9:25 am

Hello, may I request for this feature.

After a few weeks of using and monitoring gargoyle, I find that it is not possible in my case for the link limit to climb up back to the original link limit.

It is probably due to my setting, the link limit is throttled down from 36mbps to lower than 10mbps.
It will stay at 10mbps until I reset the link limit.

So I have to reset link limit daily or whenever I remember to do this.

Thank you.

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

Re: Auto reset fair link limit when status IDLE or scheduled time

Postby Lantis » Tue Oct 16, 2018 4:04 pm

As discussed in the previous thread, this is more likely due to your individual connection and settings not being optimised.

In the most recent versions we already have a button to reset the value manually. For automated reset on a timer I think this is best left to the user to create a cron job for now.

If you need assistance with this, please let us know.
Routers: Various ar71xx/mvebu/x86-64
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases

mastermindsos
Posts: 6
Joined: Sun Sep 30, 2018 5:53 am

Re: Auto reset fair link limit when status IDLE or scheduled time

Postby mastermindsos » Tue Oct 16, 2018 8:20 pm

Lantis wrote:As discussed in the previous thread, this is more likely due to your individual connection and settings not being optimised.

In the most recent versions we already have a button to reset the value manually. For automated reset on a timer I think this is best left to the user to create a cron job for now.

If you need assistance with this, please let us know.


I appreciate this.
I do not know how to do it.
Could you show me the way please.

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

Re: Auto reset fair link limit when status IDLE or scheduled time

Postby Lantis » Wed Oct 17, 2018 5:12 am

Edit the file at
/etc/crontabs/root
and add a line something like the following
0 5 * * * kill -SIGUSR1 $(pidof qosmon)

This would trigger the bandwidth to be reset every 5am of every day.
The crontab syntax is described here: http://www.adminschoice.com/crontab-quick-reference

Please keep in mind that this will only work on the latest 1.10.x versions where this command is supported.
Routers: Various ar71xx/mvebu/x86-64
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases

mastermindsos
Posts: 6
Joined: Sun Sep 30, 2018 5:53 am

Re: Auto reset fair link limit when status IDLE or scheduled time

Postby mastermindsos » Wed Oct 17, 2018 6:31 am

Lantis wrote:Edit the file at
/etc/crontabs/root
and add a line something like the following
0 5 * * * kill -SIGUSR1 $(pidof qosmon)

This would trigger the bandwidth to be reset every 5am of every day.
The crontab syntax is described here: http://www.adminschoice.com/crontab-quick-reference

Please keep in mind that this will only work on the latest 1.10.x versions where this command is supported.

Thank you, it works wonderfully.


Return to “Feature Requests”

Who is online

Users browsing this forum: No registered users and 9 guests