Home
Home Blogs k4tz's blog
    • Blog
    • Clinic
    • Contact
    • Download
    • Login
    • Sitemap

Poll

Best of Ubuntu:

Archives

September 2008
SunMonTueWedThuFriSat
123456
78910111213
14151617181920
21222324252627
282930

HOWTO Improving Internet Connection using Wondershaper

Submitted by k4tz on Sat, 07/05/2008 - 09:40
  • Clinic
  • Ubuntu

I just downgraded my internet connection. I just hate it when a p2p application prevents me from browsing the web fast. So let's do something about it

wondershaper is an easy to use traffic shaping script that provides these improvements:

* Low latency for interactive traffic (and pings) at all times
* Allow websurfing at reasonable speeds while uploading / downloading
* Make sure uploads don't hurt downloads
* Make sure downloads don't hurt uploads

official webpage :
http://lartc.org/wondershaper

about the ubuntu package :
http://packages.ubuntu.com/hoary/net/wondershaper

/usr/share/doc/wondershaper contains readme files. You might want to read these also.

I'm using firestarter together with wondershaper. Nothing has to be changed to firestarter.

So here we go :
sudo apt-get install wondershaper

use ifconfig to determine which of your networkcards is the one that is connected to your modem (and thus the internet).

$ifconfig

the networkcard that has your normal ip adress is the one (not 192.168.x.x)

Go to a speedtesting website (for example a speedtesting website by your internet provider or www.speedtest.nl if you live in the netherlands) and determine your average upload and download speed. Use these speeds as a guide.

$sudo wondershaper eth1 downspeed upspeed

download a big and uncompressable file while pinging to a fast and stable server on the internet or to your modem and adjust your downspeed until you are satisfied :

$sudo wondershaper eth1 downspeed upspeed

Now do the same with uploading a big and uncompressable file.

You have to tweak these settings a while until you are satisfied. When you are ready you can make these connection settings permanent by :

$ sudo pico /etc/network/interfaces

add these lines under eth1 if eth1 is your internetconnection. Change eth1,upspeed and downspeed to your settings.

Code:
up /sbin/wondershaper eth1 downspeed upspeed
down /sbin/wondershaper clear eth1

And we are done!

 

Source: Ubuntuforums.org

  • k4tz's blog
  • Add new comment

Recent blog posts

  • Restore Superuser (sudo)
  • Fruitphone -- Find Files Fast
  • Make Custom Usplash Art
  • Download BOSS GNU/Linux 3.0
  • Animation Softwares in Ubuntu
  • Iraf, x11iraf and ds9 in Ubuntu 32 bits
  • RLBackup (Rsync Local Backup). An easy way to backup your system
  • Install Ubuntu Studio Package on Xubuntu, Possible?
  • Screencast LIVE your desktop thru a virtual webcam in Ubuntu
  • Using VLC to rip DVDs and compression
more

Linux World

  • The way that will bring more users to GNU/Linux
  • 21 of the Best Free to Download Closed-Source Applications
  • More Ways That Open Source Could Benefit Schools
  • Red Hat Makes $107M Virtualization Bet
  • Hacker-friendly karaoke PMP runs Linux
  • Canonical Bolsters Partner Strategy for Ubuntu Linux
  • Red Hat buys virtualizer Qumranet
  • Google's Chrome, Mozilla, Explorer, rendering engines: let the war begin
  • First $100 laptop runs Linux
  • Novell: Desktop Linux Paves Way to Lenovo Server Deal
Archive XML feed
All contents copyright © 2008, Dhuha Net. All rights reserved
Ubuntudoctor® is a member of the Dhuha Network. Privacy Policy
RoopleTheme