QoS speed depending on time

Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions
Goto page Previous  1, 2
Author Message
norrissee
DD-WRT Novice


Joined: 15 Apr 2022
Posts: 2

PostPosted: Fri Apr 15, 2022 1:53    Post subject: Reply with quote
I found out restarting the service doesn't apply the new QoS downlink and uplink values in the DD-WRT v3.0-r48646 std (04/12/22) build. Instead you would have to release and refresh the WAN ip to get them to apply.

I got my time based QoS downlink and uplink values working using the script below:

Code:

0 19 * * * root nvram set wshaper_downlink=100000; nvram set wshaper_uplink=100000; killall -SIGUSR2 udhcpc; killall -SIGUSR1 udhcpc;


The cron job sets new uplink and downlink values and applies them by releasing and refreshing the WAN ip.

Of course your QoS would have to be enabled for this to work, I wrote it this way so I could just turn off or on QoS whenever I want and won't need to change the cron job script.

Tested working in both R6700v3 and R7000.
Sponsor
Goto page Previous  1, 2 Display posts from previous:    Page 2 of 2
Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum