Download Speed Restrictions

Download Speed Restrictions

Postby snadge » 25.11.2013, 22:04

I think it would be a great Idea if you could put a download speed restrictor on this, just so it can run at set amount of your available bandwidth nice and quietly in background as not too affect other users on the network - currently it uses 100% of my 17Mbps connection, I would like to be able to set it to 50% or so..
snadge
 
Posts: 23
Joined: 10.11.2013, 22:46

Re: Download Speed Restrictions

Postby harry » 25.11.2013, 23:47

How about using a .wgetrc file?

At {yourWOUdir}\bin create a file .wgetrc (notepad .wgetrc from command line) with
Code: Select all
#Set download limit rate in Bytes/sec
limit-rate=8500000
#

If you want to turn off the limit rate simply rename the file .wgetrc.
harry
 
Posts: 737
Joined: 29.10.2009, 17:02

Re: Download Speed Restrictions

Postby snadge » 25.11.2013, 23:55

excellent man... :)

I have created the file and will try it out at next update...

just too be sure this is correct?:

Image

thanks again

oh you dont know if there is anyway to create shortcuts to files in the root directory of a USB key when the drive letter changes from PC to PC..? just I would like the updater in the root of the drive to save browsing to it, same with the speed restriction

thanks again :)
snadge
 
Posts: 23
Joined: 10.11.2013, 22:46

Re: Download Speed Restrictions

Postby harry » 26.11.2013, 00:09

snadge wrote:just too be sure this is correct?:

In order to work the file has to have the name .wgetrc (wget comes from the unix world).
From a command line run:
Code: Select all
cd /D "d:\Downloads\Windows Server Updates Service OFFLINE\bin"
ren "SPEED LIMIT.wgetrc" .wgetrc
harry
 
Posts: 737
Joined: 29.10.2009, 17:02

Re: Download Speed Restrictions

Postby snadge » 26.11.2013, 00:22

thanks again matey :)

Image

which inside has the code:

Code: Select all
#Set download limit rate in Bytes/sec
limit-rate=8500000
#
snadge
 
Posts: 23
Joined: 10.11.2013, 22:46

Re: Download Speed Restrictions

Postby aker » 26.11.2013, 09:01

That should be correct.
Wer Rechtschreibfehler findet, darf sie behalten oder an den Meistbietenden versteigern. / Everybody finding a misspelling is allowed to keep or sell it.
aker

WSUS Offline Update „Community Edition“
https://gitlab.com/wsusoffline/wsusoffline/-/releases
aker
 
Posts: 3999
Joined: 02.03.2011, 15:32

Re: Download Speed Restrictions

Postby Gerby » 26.11.2013, 09:01

Hi!

I think you have to omit one 0, so the value should be 850,000 bytes/s (850 kBytes/s), or you won't have any effect on a 17 Mbit/s line. ;)

Gerby
Mach mit - der Übersichtlichkeit wegen! Füge Log-Auszüge als [Code] ein.
Make it clear! Insert log excerpts as [Code].
Gerby
 
Posts: 504
Joined: 11.09.2009, 15:57
Location: DE > SH > SE

Re: Download Speed Restrictions

Postby Matjes » 26.11.2013, 09:27

17 Megabits/sec = 2125000 Bytes/sec

50 percent: (2125000 Bytes/sec) / 2 = 1062500 Bytes/sec
Matjes
 
Posts: 76
Joined: 16.06.2010, 17:56

Re: Download Speed Restrictions

Postby harry » 26.11.2013, 10:23

:oops:
harry
 
Posts: 737
Joined: 29.10.2009, 17:02

Re: Download Speed Restrictions

Postby snadge » 26.11.2013, 11:04

thanks for that....and no worries.. having my own broadband support forum I should of spotted that one myself hehe

cheers all - beers on me :)

edit: i see there are two suggestions - the 1062500 is correct :) this is around 8.5 M/Bits, just over 1MB/s (incase anyone else wants to use this)
snadge
 
Posts: 23
Joined: 10.11.2013, 22:46


Return to Anregungen / Suggestions

Who is online

Users browsing this forum: No registered users and 197 guests