Fedora Linux Support Community & Resources Center
  #1  
Old 27th December 2007, 10:40 PM
Lukast Offline
Registered User
 
Join Date: Jul 2007
Location: Slovak Republic
Posts: 99
Disable IPv6 in Fedora 8

hi, im trying to disable IPv6 on my Fedora 8.

I followed some tuts for Fedora 7, but without success.

I often use wget and it takes so much time to resolve ip from DNS...i have dual boot (Windows XP) where i use wget and it goes really quick.

I used Wireshark to detect problem and it goes like this:
there is AAAA query on DNS and the response is always No such name...
after that there is A query (ipv4) to DNS that is fast.
So when i use wget -4 www.google.com it goes so fast as on Windows, but
im looking for solution where i do not need to pass and -4 argument.

Code:
# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=mmx.pc
# from tutorial for FC7
NETWORKING_IPV6=no
# system-config-network
I have disabled IPv6 for interface eth0

In Firefox
about:config
network.dns.disableIPv6 -> true (speeds up surfing through firefox)

Code:
cat /etc/modprobe.conf

alias eth0 sis900
alias scsi_hostadapter pata_sis
options snd-emu10k1 index=0
options snd-intel8x0 index=0
alias snd-card-2 snd-mpu401
options snd-mpu401 index=2
options snd-intel8x0 index=0
alias snd-card-0 snd-emu10k1
options snd-card-0 index=0
alias net-pf-10 off
alias ipv6 off
But still wget -4 www.google.com is 10 times faster than wget www.google.com
I didnt disabled AAAA DNS queries...How can i do that?
Reply With Quote
  #2  
Old 28th December 2007, 02:41 AM
sideways's Avatar
sideways Offline
Retired User
 
Join Date: Oct 2004
Location: London, UK
Posts: 4,999
This is a pita in F8, especially since the wireless networking seems to be even worse than F7, however you do it by blacklisting the ipv6 module, so add this line to /etc/modprobe.d/blacklist
Code:
blacklist ipv6
Also edit /etc/sysconfig/network to include NETWORKING_IPV6=no as you described above, remove the line referencing locolhost6 in /etc/hosts, and ensure your network adapter is configured not to use ipv6 (This is an easy edit in the system-config-network gui, or do it manually in /etc/sysconfig/network-scripts/ifcfg-eth0 (ammend for name of your adapter), 'IPV6INIT=no')

Now enjoy a slightly smoother network experience.

ipv6 is being pushed far too aggressively in fedora, how many of us really need it
Reply With Quote
  #3  
Old 29th December 2007, 03:35 PM
Lukast Offline
Registered User
 
Join Date: Jul 2007
Location: Slovak Republic
Posts: 99
I tried everything you suggested, but when i use wget, it still use AAAA query for DNS and so it has to wait for time outs and message Name not found.

Could somebody help me with little stupid solution... i think that i can set
wget -4 as alias for wget , am i right?

But i dont know how to set alias and that alias will survive reboot of pc...
Reply With Quote
  #4  
Old 29th December 2007, 05:15 PM
sideways's Avatar
sideways Offline
Retired User
 
Join Date: Oct 2004
Location: London, UK
Posts: 4,999
alias wget="wget -4"

put the line in ~/.bash_profile (in your home_directory)

(type 'help alias' to get help on the alias command)


When you type ifconfig do your adapters have an inet6 address assigned? Blacklisting the ipv6 module should have worked, you did all the other edits, including "alias ipv6 off" in modprobe.conf?

Ensure the ip6tables service is also stopped, 'chkconfig ip6tables off', then reboot
Reply With Quote
Reply

Tags
disable, fedora, ipv6

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you disable ipv6 support for kde applications ihavenoname Servers & Networking 5 31st August 2008 03:05 PM
Can i disable IPV6 in FC 9? amfpg Servers & Networking 6 21st August 2008 05:40 AM
Disable IPv6 steve941 Servers & Networking 4 19th July 2007 12:24 AM


Current GMT-time: 20:43 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat