 |
 |
 |
 |
| Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc. |

7th November 2010, 09:35 PM
|
|
Registered User
|
|
Join Date: Nov 2010
Posts: 2

|
|
|
How to disable IPv6 in Fedora 14?
I've just done a fresh install of Fedora 14. All networking seems really slow in KDE. I've read on some other sites that this could be caused by IPv6 - how can I disable this for Fedora 14?
Of course, it might not be IPv6, but I didn't have this problem with Fedora 11, and Vista is fine. Pretty sure it's a networking issue rather than Internet because it takes ages for me to log into my router.
Can I just use the same instructions as posted here:
http://forums.opensuse.org/english/g...-11-2-a-2.html
Thanks,
Peter
|

7th November 2010, 09:44 PM
|
 |
Registered User
|
|
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,449

|
|
|
Re: How to disable IPv6 in Fedora 14?
Quote:
Originally Posted by peterparks
I've just done a fresh install of Fedora 14. All networking seems really slow in KDE. I've read on some other sites that this could be caused by IPv6 - how can I disable this for Fedora 14?
Of course, it might not be IPv6, but I didn't have this problem with Fedora 11, and Vista is fine. Pretty sure it's a networking issue rather than Internet because it takes ages for me to log into my router.
Can I just use the same instructions as posted here:
http://forums.opensuse.org/english/g...-11-2-a-2.html
Thanks,
Peter
|
You can fire up the system-config-network util and uncheck the
"Enable ipv6 configuration for this interface" checkbox and save/exit.
see:
http://fedorasolved.org/Members/MrHa...config-network
But if by slow networking you especially mean Firefox, see the forum by searching "about :config" and "network.dns.disableIPv6". Firefox constantly tries to use ipv6 DNS because under Fedora it thinks the existence of that Ipv6 interface (which Fedora puts in by default) really means ipv6 works. But 99% of users don't have ipv6 support actually working. So there's an annoying ipv6 dns -> fail -> ipv4 address obtain loop going on each time. Tell Firefox to quit that via using the about :config page to set the network.dns.disableIPv6 to 'true'
|

7th November 2010, 09:44 PM
|
|
Registered User
|
|
Join Date: Oct 2008
Posts: 492

|
|
|
Re: How to disable IPv6 in Fedora 14?
Hi,
Try "rmmod ipv6"; you might have to stop the firewall first. If this helps, blacklist the module. There used to be an entry in /etc/sysconfig/network to toggle IPv6, but might have been moved somewhere else.
WWell,
|

7th November 2010, 10:08 PM
|
 |
Registered User
|
|
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,449

|
|
|
Re: How to disable IPv6 in Fedora 14?
Another way,
put in your /etc/sysctl.conf file:
net.ipv6.conf.all.disable_ipv6=1
That would only take affect after next boot, you can start now without reboot by also doing:
sysctl -w net.ipv6.conf.all.disable_ipv6=1
Last edited by marko; 7th November 2010 at 10:12 PM.
|

7th November 2010, 10:11 PM
|
|
Registered User
|
|
Join Date: Nov 2010
Posts: 2

|
|
|
Re: How to disable IPv6 in Fedora 14?
Quote:
Originally Posted by marko
Another way,
put in your /etc/sysctl.conf file:
net.ipv6.conf.all.disable_ipv6 = 1
|
hmm, doesn't seem to have worked. lsmod still gives me:
ipv6 229420 34 ip6t_REJECT,nf_conntrack_ipv6
i can't run rmmod because the module is in use - even if I stop iptables.
i've disable the setting in firefox, but system-config-network says that my wireless card doesn't have ipv6 anyway.
maybe my problem is just due to my own net connection or flash - youtube keeps dropping out.
i'll see how it is tomorrow unless anyone's got any other suggestions. it does seem faster now than it was a few hours ago (except youtube).
thanks for your suggestions so far
|

7th November 2010, 10:14 PM
|
 |
Registered User
|
|
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,449

|
|
|
Re: How to disable IPv6 in Fedora 14?
Quote:
Originally Posted by peterparks
hmm, doesn't seem to have worked. lsmod still gives me:
ipv6 229420 34 ip6t_REJECT,nf_conntrack_ipv6
i can't run rmmod because the module is in use - even if I stop iptables.
i've disable the setting in firefox, but system-config-network says that my wireless card doesn't have ipv6 anyway.
maybe my problem is just due to my own net connection or flash - youtube keeps dropping out.
i'll see how it is tomorrow unless anyone's got any other suggestions. it does seem faster now than it was a few hours ago (except youtube).
thanks for your suggestions so far
|
Yes, see my statement that sysctl via the file only takes affect at boot time, to do that now, use the -w option. Also I don't think kicking ipv6 out of the kernel would flush out those modules... maybe after a reboot...
Probably the best way is a combination of system-config-network (turn off ipv6 on the interface) and blacklisting the ipv6
|

28th May 2011, 09:14 PM
|
|
Registered User
|
|
Join Date: May 2011
Posts: 2

|
|
|
Re: How to disable IPv6 in Fedora 14?
Hi there,
Was just wondering if you ever did manage to get this working i.e disable IPv6 on FC 14 - I seem to be having the same problems with doing this as you had, I have:
"NETWORKING_IPV6=no" in /etc/sysconfig/network
"net.ipv6.conf.all.disable_ipv6 = 1" in /etc/sysctl.conf
"blacklist ipv6" in /etc/modprobe.d/blacklist.conf
I've also removed the ip6tables rpms and i am still seeing:
[root@box1 ~]# lsmod | grep ipv6
ipv6 286354 62
Running out of ideas here...
Thanks
|

28th May 2011, 09:41 PM
|
 |
Registered User
|
|
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,449

|
|
|
Re: How to disable IPv6 in Fedora 14?
Quote:
Originally Posted by tazmad78
Hi there,
Was just wondering if you ever did manage to get this working i.e disable IPv6 on FC 14 - I seem to be having the same problems with doing this as you had, I have:
"NETWORKING_IPV6=no" in /etc/sysconfig/network
"net.ipv6.conf.all.disable_ipv6 = 1" in /etc/sysctl.conf
"blacklist ipv6" in /etc/modprobe.d/blacklist.conf
I've also removed the ip6tables rpms and i am still seeing:
[root@box1 ~]# lsmod | grep ipv6
ipv6 286354 62
Running out of ideas here...
Thanks
|
Try having your change in /etc/modprobe.d/blacklist.conf look like this:
Quote:
blacklist ipv6
install ipv6 /bin/true
|
Just having a module blacklisted can be circumvented, the "install" line prevents the ipv6 being installed no matter what. Basically /bin/true is a command line function which does nothing but return a success code (there's also a partner function called /bin/false which does the opposite). The above code lies to the install function that ipv6 was installed when it really isn't.
REF:
http://www.g-loaded.eu/2008/05/12/ho...ra-and-centos/
Note that REF is a bit old but it should be generally correct for Fedora
Last edited by marko; 28th May 2011 at 09:45 PM.
|

28th May 2011, 10:01 PM
|
|
Registered User
|
|
Join Date: May 2011
Posts: 2

|
|
|
Re: How to disable IPv6 in Fedora 14?
Quote:
Originally Posted by marko
Try having your change in /etc/modprobe.d/blacklist.conf look like this:
Just having a module blacklisted can be circumvented, the "install" line prevents the ipv6 being installed no matter what. Basically /bin/true is a command line function which does nothing but return a success code (there's also a partner function called /bin/false which does the opposite). The above code lies to the install function that ipv6 was installed when it really isn't.
REF:
http://www.g-loaded.eu/2008/05/12/ho...ra-and-centos/
Note that REF is a bit old but it should be generally correct for Fedora
|
Hi Marko,
Many thanks for that - it seems to have done the trick!
|

18th June 2011, 03:30 AM
|
|
Registered User
|
|
Join Date: Jan 2011
Posts: 274

|
|
|
Re: How to disable IPv6 in Fedora 14?
Quote:
Originally Posted by marko
You can fire up the system-config-network util and uncheck the
"Enable ipv6 configuration for this interface" checkbox and save/exit.
see:
http://fedorasolved.org/Members/MrHa...config-network
But if by slow networking you especially mean Firefox, see the forum by searching "about :config" and "network.dns.disableIPv6". Firefox constantly tries to use ipv6 DNS because under Fedora it thinks the existence of that Ipv6 interface (which Fedora puts in by default) really means ipv6 works. But 99% of users don't have ipv6 support actually working. So there's an annoying ipv6 dns -> fail -> ipv4 address obtain loop going on each time. Tell Firefox to quit that via using the about :config page to set the network.dns.disableIPv6 to 'true'
|
Thx for the firefox tip. That helped me.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 14:44 (Tuesday, 21-05-2013)
|
|
 |
 |
 |
 |
|
|