WebBrowsingSlowIPv6IPv4

Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2005-05-28 21:02:37
Size: 3214
Editor: adsl-213-190-44-43
Comment: imported from the old wiki
Revision 3 as of 2005-09-24 18:56:49
Size: 897
Editor: 82-37-128-102
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= WebBrowsingSlow(IVP6/IVP4) = The Ubuntu development team have enabled the newer Internet protocol, IPv6, by default. However, a lot of older hardware — such as NICs and modems — only supports IPv4. This leaves you wondering why Internet applications take so long to work.
Line 3: Line 3:
In their wisdom the Ubuntu team (or maybe its Debian team) have enabled the newer IVP6 protocol by default - but a lot of older hardware only supports IVP4 - (like older network cards or DSL or Cable modems, etc.) - It is true that if the software can not use IVP6 it will fall back to using IVP4 (eventually) that is the problem, you are left wondering why it is taking so long to Web-Browse, or what ever. The following instructions disable IPv6 support, allowing users with incompatible hardware to get normal connection speeds and DNS resolving.
Line 5: Line 5:
I have seached the WIKI pages and found no mention about the problem, so here is what I have found works for me. You might like to note that base of this solution was taken out of a Mandrakelinux newsgroup when at v.10.0 (and above) they also enabled IVP6 by default over a year ago. So this problem is not something new. NB: I am writing this step by step for Newbies to be able to follow. It is not intended for experianced Linux Geeks to follow (never the less the answer is here if the Geek skips through the obvious) = Disabling IPv6 =
Line 7: Line 7:
MY SOLUTION  1. {{{ sudo gedit /etc/modprobe.d/aliases }}}
 2. Find the line {{{ alias net-pf-10 ipv6 }}}
 3. Replace it with: {{{ alias net-pf-10 off }}}
 4. Save the file and restart your computer
Line 9: Line 12:
From the pull down menu APPLICATIONS -> System Tools -> Root Terminal
Give your user password - (this sudo you to be root) - next type in: gedit
You '''must''' reboot for changes to take effect.
Line 12: Line 14:
From Gedit's pull down menu FILE -> Open - then
first Double Click FILESYSTEM then go here -> etc -> modprobe.d -> aliases
= Mozilla web browsers =
Line 15: Line 16:
Change the line

alias net-pf-10 ipv6

to be

alias net-pf-10 off

From Gedit pull down menu FILE -> SAVE

You can now Close Gedit (and the Terminal if still open)


LASTLY

After doing the above it DID NOT take effect untill I had Shutdown and re-booted my machine (Your experiance may differ) Anyhow after a re-boot there was a very noticable increase in speed for my Web Browsing, in fact every thing seems to happen allmost instantly now - instead of the several seconds delay I had before I did the above (Where Several = between 1 to 10 seconds)

FINALLY

I believe my problem is my = Dlink 504 - 4 port adsl-modem/switch/router/gateway/NATfirewall/etc. that seems not to support IVP6 - BUT from when we found out about this problem with Mdk 10.0 last year, many people found it could also be a Network card - or - Cable modem - or other older hardware. NOTE: 1 year or less old can = old hardware that is non IVP6 compliant. If you are having problems try out doing the above and if it has no effect, you can always change it back again.

FOOTNOTE

In case any Mdk users read this, it is done slightly differently, you (as root) just add the above line (eg: with the off bit) to:- /etc/modprobe.conf

Well this might not have been the correct way to do this in Ubuntu ? (speed up Web Browsing) so if others know a better way feel free to change this any way you feel fit - All I can say is that it seems to have worked for me :-)

Happy days

From FlorisKruisselbrink Wed Apr 20 15:20:27 +0100 2005
From: Floris Kruisselbrink
Date: Wed, 20 Apr 2005 15:20:27 +0100
Subject: Reboot not necessary
Message-ID: <20050420152027+0100@https://www.ubuntulinux.org>

Instead of the reboot you can also execute 'update-modules'. This will merge all settings in /etc/modprobe.d in /etc/modprobe.conf, the file that is eventually used by the system.
The command is run on boot, so that's why a reboot will work also.
With Mozilla web browsers, enter '''about:config''' in the address bar and then type '''ipv6''' in the Filter field. Double-click the only listed item, network.dns.disableIPv6, and then close the browser.

The Ubuntu development team have enabled the newer Internet protocol, IPv6, by default. However, a lot of older hardware — such as NICs and modems — only supports IPv4. This leaves you wondering why Internet applications take so long to work.

The following instructions disable IPv6 support, allowing users with incompatible hardware to get normal connection speeds and DNS resolving.

Disabling IPv6

  1.  sudo gedit /etc/modprobe.d/aliases 

  2. Find the line  alias net-pf-10 ipv6 

  3. Replace it with:  alias net-pf-10 off 

  4. Save the file and restart your computer

You must reboot for changes to take effect.

Mozilla web browsers

With Mozilla web browsers, enter about:config in the address bar and then type ipv6 in the Filter field. Double-click the only listed item, network.dns.disableIPv6, and then close the browser.

WebBrowsingSlowIPv6IPv4 (last edited 2008-08-06 16:15:22 by localhost)