Grab this script from http://lartc.org/wondershaper/. Extract it, then with your favorite text editor open the script called wshaper. Intuitively, these lines:
DOWNLINK=256are indicating the upload, download speed (in kilobits!), and the network interface. After modifying these parameters you need to comment out the following two lines:
UPLINK=64
DEV=eth0
echo Please read the documentation in 'README' first :-\)by adding the # sign to the beginning of these lines. Save your script. Open the console window and navigate to the directory which contains the script wshaper, get root powers with
exit
suand execute the script:
sh wshaper.
A little speedup.
Use command line for every action. Command line is x10 faster then any GUI application. It's easy to learn and use. Use the edit command for editing the wshaper script (assuming the you can navigate in console with cd
edit wshaper. When the editor loads the script with arrow-keys navigate to the lines what you want to modify. Press A - now you can write into the text - and modify the values. To save, press the : key (SHIFT + ;) and type:
save wshaper. Use the same commands to execute the script:
su.
sh wshaper
0 comments:
Post a Comment