HOWTO : Lightening your browsing speed on a slow internet connection under Ubuntu 8.10

I am using my IBM ThinkPad T23 with Ubuntu 8.10 in my office. However, the signal of the wireless connection in my office is very weak. In addition to the weak power of the laptop, the browsing speed is very slow and nearly halt.

We can solve this problem by doing some hacking.

Step 1 :
Type “about:config” at the Firefox address bar.
Type “pipelining” in the “Filter” text box.
Double click “network.http.pipelining” to turn its value from “false” to “true”.
Do the same to “network.http.proxy.pipelining“.
Double click “network.http.pipelining.maxrequests” to change from “4” to “30”.

Step 2 :
Still at the Firefox of “about:config”.
Type “ipv6” in the “Filter” text box.
Double click “network.dns.disableIPv6” to turn its value from “false” to “true”.

Restart the Firefox and feel the different.

Step 3 :
I use OpenDNS and the service is reliable and faster which compares with slow DNS in my office’s ISP. To cache the DNS is one of the solution to speed up the surfing speed.

sudo apt-get install pdnsd resolvconf

Select “resolvconf” when you are prompted.

Step 4 :
sudo nano /etc/pdnsd.conf

Insert the following lines below the “global { ....}“.

server {
label="OpenDNS";
ip=208.67.222.222,208.67.220.220;
proxy_only=on;
timeout=10;
}

Step 5 :
sudo /etc/init.d/pdnsd restart

Step 6 :
sudo nano /etc/dhcp3/dhclient.conf

Append the following line to the document :
prepend domain-name-servers 208.67.222.222,208.67.220.220;

Reboot your computer.

Now, your browsing speed is faster than before a lot.

Updated on 2008-DEC-30 :
If you encountered problem in VirtualBox with NAT, you just disabled the pdnsd by the following command :
sudo /etc/init.d/pdnsd stop

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: