wan bandwidth cap during certain times?

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> General Questions
Author Message
ktross
DD-WRT Novice


Joined: 07 May 2010
Posts: 2

PostPosted: Fri May 07, 2010 21:31    Post subject: wan bandwidth cap during certain times? Reply with quote
Is there a way to cap bandwidth during certain times? For example, if I wanted to limit WAN traffic to 5Mbps from 5PM-1AM.
Sponsor
phuzi0n
DD-WRT Guru


Joined: 10 Oct 2006
Posts: 10143

PostPosted: Sat May 08, 2010 0:56    Post subject: Reply with quote
There's probably better ways but these cron jobs will do it. Configure whatever QoS settings you want to be active using the GUI.

1 17 * * * root /usr/sbin/svqos `nvram get wshaper_uplink` `nvram get wshaper_downlink` `nvram get wan_iface` `nvram get wan_mtu` 0
*/6 1-17 * * * root /usr/sbin/svqos stop

_________________
Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
ktross
DD-WRT Novice


Joined: 07 May 2010
Posts: 2

PostPosted: Sat May 08, 2010 1:00    Post subject: Reply with quote
phuzi0n wrote:
There's probably better ways but these cron jobs will do it. Configure whatever QoS settings you want to be active using the GUI.

1 17 * * * root /usr/sbin/svqos `nvram get wshaper_uplink` `nvram get wshaper_downlink` `nvram get wan_iface` `nvram get wan_mtu` 0
*/6 1-17 * * * root /usr/sbin/svqos stop


Awesome. Thank you very much! Very Happy
westvandude
DD-WRT Novice


Joined: 26 Apr 2010
Posts: 26

PostPosted: Fri May 21, 2010 21:55    Post subject: Reply with quote
Can you please elaborate in newbie terms?

I got one person hogging 95% of bandwidth and it's killing our 64kbps music stream all the time. Pissing me off. When I unplug that LAN connection from the switch WAN use goes from 1.8mbps to 180kbps!
Sash
DD-WRT Guru


Joined: 20 Sep 2006
Posts: 17638
Location: Hesse/Germany

PostPosted: Sat May 22, 2010 0:21    Post subject: Reply with quote
buy the special edition and limit his speed
_________________
Forum Guidelines...How to get help
&
Forum Rules
&
RTFM/STFW
&
Throw some buzzwords into the WIKI search Exclamation
_________________
I'm NOT rude, just offer pure facts!
_________________
Atheros (TP-Link & Clones, etc ) debrick service in EU
_________________
Guide on HowTo be Safe, Secure and Protect Your Online Anonymity!
westvandude
DD-WRT Novice


Joined: 26 Apr 2010
Posts: 26

PostPosted: Tue May 25, 2010 22:53    Post subject: Reply with quote
Cr*p... was hoping to not have to redo the firmware. I've got a ton of security settings in place, among other settings. So if I replace the firmware I gotta write down a lotta stuff. Doh.

How new (build #)are those special builds anyway?
westvandude
DD-WRT Novice


Joined: 26 Apr 2010
Posts: 26

PostPosted: Wed May 26, 2010 22:44    Post subject: Reply with quote
Apparently the tomato firmware now has bandwidth logs and apparently straight forward Qos and/or free bandwidth restriction/cap add-on. I'm going to try it out on my spare router.

So what's with all the talk that dd-wrt should be open source when its not anymore due to the commercial venture of the dd-wrt shop selling the "special" version?

Should wrt-dd be sold or able to be sold when 98% was done from open source? Can't sell something that doesn't belong to you right? Don't flame me... just curious. If an add-on was sold that'd be different.

Tomato with bandwidth by IP/Mac control: http://victek.is-a-geek.com/tomato.html look for http://cdn.adslzone.net/pub/repos/victek/Tomato/Tomato_RAF_1.25.8515.2-ND.7z for WRT54GL v1.1
You'll need http://www.7-zip.org/ to unzip the file. So far looks real good.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum 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