<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>ubuntudoctor</title>
  <subtitle>Ubuntu Linux Tutorials, Articles, Downloads, Clinics and Howto </subtitle>
  <link rel="alternate" type="text/html" href="http://www.ubuntudoctor.com/content/clinic/HOWTO-improving-internet-connection-using-wondershaper"/>
  <link rel="self" type="application/atom+xml" href="http://www.ubuntudoctor.com/node/317/atom/feed"/>
  <id>http://www.ubuntudoctor.com/node/317/atom/feed</id>
  <updated>2008-07-05T09:40:51+07:00</updated>
  <entry>
    <title>HOWTO Improving Internet Connection using Wondershaper</title>
    <link rel="alternate" type="text/html" href="http://www.ubuntudoctor.com/content/clinic/HOWTO-improving-internet-connection-using-wondershaper" />
    <id>http://www.ubuntudoctor.com/content/clinic/HOWTO-improving-internet-connection-using-wondershaper</id>
    <published>2008-07-05T09:40:51+07:00</published>
    <updated>2008-07-05T09:40:51+07:00</updated>
    <author>
      <name>k4tz</name>
    </author>
    <category term="Clinic" />
    <category term="Ubuntu" />
    <summary type="html"><![CDATA[<p>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 <img class="inlineimg" src="http://ubuntuforums.org/images/smilies/icon_smile.gif" title="Smile" /></p>
<p> wondershaper is an easy to use traffic shaping script that provides these improvements:</p>
<p> * Low latency for interactive traffic (and pings) at all times<br /> * Allow websurfing at reasonable speeds while uploading / downloading<br /> * Make sure uploads don't hurt downloads<br /> * Make sure downloads don't hurt uploads</p>
<p> official webpage :<br /> <a href="http://lartc.org/wondershaper" target="_blank">http://lartc.org/wondershaper</a></p>
<p> about the ubuntu package :<br /> <a href="http://packages.ubuntu.com/hoary/net/wondershaper" target="_blank">http://packages.ubuntu.com/hoary/net/wondershaper</a> </p>
    ]]></summary>
    <content type="html"><![CDATA[<p>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 <img class="inlineimg" src="http://ubuntuforums.org/images/smilies/icon_smile.gif" title="Smile" /></p>
<p> wondershaper is an easy to use traffic shaping script that provides these improvements:</p>
<p> * Low latency for interactive traffic (and pings) at all times<br /> * Allow websurfing at reasonable speeds while uploading / downloading<br /> * Make sure uploads don't hurt downloads<br /> * Make sure downloads don't hurt uploads</p>
<p> official webpage :<br /> <a href="http://lartc.org/wondershaper" target="_blank">http://lartc.org/wondershaper</a></p>
<p> about the ubuntu package :<br /> <a href="http://packages.ubuntu.com/hoary/net/wondershaper" target="_blank">http://packages.ubuntu.com/hoary/net/wondershaper</a></p>
<p> /usr/share/doc/wondershaper contains readme files. You might want to read these also.</p>
<p> I'm using firestarter together with wondershaper. Nothing has to be changed to firestarter.</p>
<p> So here we go :<br /> sudo apt-get install wondershaper</p>
<p> use ifconfig to determine which of your networkcards is the one that is connected to your modem (and thus the internet).</p>
<p> $ifconfig</p>
<p> the networkcard that has your normal ip adress is the one (not 192.168.x.x)</p>
<p> Go to a speedtesting website (for example a speedtesting website by your internet provider or <a href="http://www.speedtest.nl/" target="_blank">www.speedtest.nl</a> if you live in the netherlands) and determine your average upload and download speed. Use these speeds as a guide.</p>
<p> $sudo wondershaper eth1 downspeed upspeed</p>
<p> 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 :</p>
<p> $sudo wondershaper eth1 downspeed upspeed</p>
<p> Now do the same with uploading a big and uncompressable file.</p>
<p> You have to tweak these settings a while until you are satisfied. When you are ready you can make these connection settings permanent by :</p>
<p> $ sudo pico /etc/network/interfaces</p>
<p> add these lines under eth1 if eth1 is your internetconnection. Change eth1,upspeed and downspeed to your settings.</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Code:</div>
<pre class="alt2" dir="ltr" style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 50px; text-align: left;">up /sbin/wondershaper eth1 downspeed upspeed<br />down /sbin/wondershaper clear eth1</pre></div>
<p>And we are done!</p>
<p> </p>
<p>Source: Ubuntuforums.org</p>
    ]]></content>
  </entry>
</feed>
