Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Tutorials & Tips
The place to find Ubuntu related Tips & Tricks.

 
Thread Tools Display Modes
Old October 11th, 2004   #1
ubuntu-geek
Forum Kingpin
 
ubuntu-geek's Avatar
 
Join Date: Oct 2004
Location: USA
Beans: 3,709
Ubuntu 8.10 Intrepid Ibex
FAQ: Some web sites load slowly in Firefox

Quote:
The latest version of Mozilla includes support for "IPv6" a new form of addressing things on the internet.

The problem is: Mozilla tries to use IPv6 before it uses IPv4 (IPv4 is the old version). When your Internet connection doesn't support IPv6, Mozilla fails to connect on the first try. In the current version of Mozilla, you can't change this, because of a bug.

To fix this issue follow these steps:
sudo nano /etc/modutils/aliases

Look for this line:
# alias net-pf-10 off # IPv6

Change the line to: (remove the #)
alias net-pf-10 off # IPv6

Then run: sudo update-modules
ubuntu-geek is offline   Reply With Quote
Old October 16th, 2004   #2
triad169
Just Give Me the Beans!
 
Join Date: Oct 2004
Beans: 48
Re: Some web sites load slowly in Firefox

FYI there is a BUG that even when you do this step IPv6 still loads up. A temporary fix was given to me by Fabio on the mailing list:

Quote:
modutils is used only by 2.4 kernels. mostlikely you have a 2.6 kernel
and you using module-init-tools that uses /etc/modprobe.d/ as
configuration directory.

You need to edit _also_ /etc/modprobe.d/aliases too and run update-modules.

Check that /etc/modules.conf is update properly.

This is the standard procedure. but that's not enough.

Apparently there is another bug somewhere between the kernel and
module-init-tools that even if you ban ipv6 will still allow some
applications to trigger the load of the module.
Personally i don't remember if this is the normal behavior or not.

ntpdate is the first one in the boot process that shows this behavior,
but there are others.

so a simple workaround is to rename or remove the ipv6 module from
/lib/modules/`uname -r`/kernel/net/ipv6/ipv6.ko.
FYI: This will spawn an extra error message during the boot process.

For reference https://bugzilla.ubuntu.com/show_bug.cgi?id=2443

Fabio
Triad
triad169 is offline   Reply With Quote
Old October 24th, 2004   #3
elwis
Just Give Me the Beans!
 
Join Date: Oct 2004
Location: Sweden
Beans: 75
Re: Some web sites load slowly in Firefox

Quote:
Originally Posted by triad169
FYI there is a BUG that even when you do this step IPv6 still loads up. A temporary fix was given to me by Fabio on the mailing list:



Triad
Is this fix the one to do? Cause my web are terrible slow... Terrible indeed
__________________
Let's go GNUing
elwis is offline   Reply With Quote
Old October 24th, 2004   #4
jdong
Ultimate Coffee Grinder
 
jdong's Avatar
 
Join Date: Oct 2004
Location: Cambridge. MA
Beans: 5,063
Ubuntu 8.10 Intrepid Ibex
Re: Some web sites load slowly in Firefox

Quote:
Originally Posted by triad169
FYI there is a BUG that even when you do this step IPv6 still loads up. A temporary fix was given to me by Fabio on the mailing list:



Triad
I can confirm that you must also change the alias entry in /etc/modprobe.d. However, changing those two files removed ipv6 for me. (To check, do an ifconfig and see if ipv6 addresses have been assigned. If no, then your slowness is due to something else!)
jdong is offline   Reply With Quote
Old October 26th, 2004   #5
elwis
Just Give Me the Beans!
 
Join Date: Oct 2004
Location: Sweden
Beans: 75
Re: Some web sites load slowly in Firefox

Quote:
Originally Posted by jdong
I can confirm that you must also change the alias entry in /etc/modprobe.d. However, changing those two files removed ipv6 for me. (To check, do an ifconfig and see if ipv6 addresses have been assigned. If no, then your slowness is due to something else!)
What am I supposed to change in /etc/modprobe.d/aliases?
Should I comment out the ipv6 line or what?
__________________
Let's go GNUing
elwis is offline   Reply With Quote
Old October 26th, 2004   #6
sala
First Cup of Ubuntu
 
Join Date: Oct 2004
Beans: 5
Re: Some web sites load slowly in Firefox

sama here. i do not understand witch changes i should made and witch not???
this site refreshing make me sick... i allmost tryed to find my windows xp cd the other day
sala is offline   Reply With Quote
Old October 26th, 2004   #7
elwis
Just Give Me the Beans!
 
Join Date: Oct 2004
Location: Sweden
Beans: 75
Re: Some web sites load slowly in Firefox

Quote:
Originally Posted by sala
sama here. i do not understand witch changes i should made and witch not???
this site refreshing make me sick... i allmost tryed to find my windows xp cd the other day
Oh NO, don't do that to yourself! Remember, you could always find another distro.. but don't throw yourself in the hands of those hooligans from Redmond, they will consume your soul you know
__________________
Let's go GNUing
elwis is offline   Reply With Quote
Old October 26th, 2004   #8
flygmaskin
Just Give Me the Beans!
 
flygmaskin's Avatar
 
Join Date: Oct 2004
Location: Sweden
Beans: 55
Send a message via ICQ to flygmaskin Send a message via MSN to flygmaskin
Re: Some web sites load slowly in Firefox

Quote:
Originally Posted by elwis
Oh NO, don't do that to yourself! Remember, you could always find another distro.. but don't throw yourself in the hands of those hooligans from Redmond, they will consume your soul you know
Is there some way to do this without rebooting. It hate rebooting
__________________
16:20, AM
flygmaskin is offline   Reply With Quote
Old October 26th, 2004   #9
jdong
Ultimate Coffee Grinder
 
jdong's Avatar
 
Join Date: Oct 2004
Location: Cambridge. MA
Beans: 5,063
Ubuntu 8.10 Intrepid Ibex
Re: Some web sites load slowly in Firefox

Quote:
Originally Posted by flygmaskin
Is there some way to do this without rebooting. It hate rebooting
To answer 2 questions:

1. in modprobe.d, alias net-pf-10 to off. dont' comment the line, that doesn't help!

2. Yes. use ifconfig to bring all interfaces down, rmmod ipv6, then bring all your interfaces up again. To me, that's more trouble than hitting CTRL ALT DEL.
jdong is offline   Reply With Quote
Old November 8th, 2004   #10
ffderrick
Spilled the Beans
 
Join Date: Nov 2004
Location: LIberty
Beans: 14
Ubuntu 7.04 Feisty Fawn
slow internet, Thanks for the work around

Thanks for all the great help in this thread.
I followed your advice and it fixed my slow internet problem.
In summary:

Code:
sudo nano /etc/modutils/aliases
Change the line to: (remove the #)
alias net-pf-10 off # IPv6

Code:
sudo nano /etc/modprobe.d/aliases
Comment out
#alias net-pf-10 ipv6

Code:
sudo update-modules
Code:
cd /lib/modules/2*/kernel/net/ipv6
sudo mv ipv6.ko hide-ipv6.ko
Last I had to reboot.

Thanks again for all the help.
I'm not sure all these steps are necessary, but it fixed my problem.
I suppose when the bug is fixed in mozilla, we can safely return these settings to normal.
ffderrick is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:48 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry