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

Poll

Favourite console text editor in Ubuntu:

LXer -- Linux and Open Source News

  • How to install FreeNX server and client in Ubuntu 9.10 (Karmic)
  • Microsoft Office 2007 on OpenSolaris
  • Fedora 13 Alpha Benchmarks
  • OSFA Refutes IIPA's Attack on Open Source Software
  • Will Simon Phipps Energize OSI?
more

Linux Today

  • Deferrable functions, kernel tasklets, and work queues
  • Simon Phipps elected as OSI director
  • Beginner’s Guide to Git
  • Day 3 of the Trial, Through the Eyes of Groklaw and the SL Tribune
  • AMD to Introduce Netbook Chip in 2011
more

Linux Insider

  • Android Has Enough Class for Opera
  • Ubuntu Dumps the Brown
  • Atol Delivers Flawless File Management With No Frills
more

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

  • Configure ThinkPad laptop trackpoint on Ubuntu
  • How to make WPA connection in Ubuntu on demand
  • Review: Sabily 9.10 - Linux Ubuntu for Muslims
  • How to Install 64bit flash on Ubuntu
  • How to get Wireless LAN (Broadcom) on Acer Aspire 4720Z working with Ubuntu 9.10
  • Quick loot at Ubuntu 10.04 Lucid Lynx Alpha 3
  • System testing and benchmarking under Ubuntu 9.10
  • How to PXE booting Ubuntu Installer
  • How to Install Debian onto your Nexus One using Ubuntu
  • (Re) Install a Linux Kernel
more

Linux World

  • Microsoft's Internet Driving Licence: stupid, unworkable and unenforceable
  • Making a videoloop with Kino and Audacity
  • So is ChromeOS a desktop winner? I think not
  • Firefogg: Transcoding videos to open web standards with Mozilla Firefox
  • The Morevna Project: Anime with Synfig and Blender
Archive Syndicate content

Recent comments

  • Re
    9 weeks 4 days ago
  • Re
    9 weeks 4 days ago
  • Re
    10 weeks 4 days ago
  • Re
    11 weeks 19 hours ago
  • Re
    11 weeks 5 days ago
  • Re
    11 weeks 5 days ago
  • Re
    11 weeks 6 days ago
  • iwl3945
    13 weeks 4 days ago
  • HomeBank
    25 weeks 5 days ago
  • KMyMoney and direct connect to banks
    29 weeks 6 days ago
All contents copyright © 2008, Dhuha Net. All rights reserved
Ubuntudoctor® is a member of the Dhuha Network. Privacy Policy
RoopleTheme