Fedora Linux Support Community & Resources Center
  #1  
Old 29th May 2008, 03:26 AM
amfpg Offline
Registered User
 
Join Date: May 2008
Posts: 84
Can i disable IPV6 in FC 9?

i have do this

Code:
# vi /etc/modprobe.d/blacklist
and add this line:
		blacklist ipv6

# vi /etc/sysconfig/network
and add this line:
		NETWORKING_IPV6=no

# vi /etc/sysconfig/network-scripts/ifcfg-eth0
and add this line:
		IPV6INIT=no
after i reboot, why i can found ipv6 in my eth0 ?

Code:
eth0      Link encap:Ethernet  HWaddr 00:0C:29:AA:E0:8B  
          inet addr:192.168.100.1  Bcast:192.168.100.255  Mask:255.255.255.0
          inet6 addr: fe80::20c:29ff:feaa:e08b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1307 errors:0 dropped:0 overruns:0 frame:0
          TX packets:46 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:125512 (122.5 KiB)  TX bytes:5540 (5.4 KiB)
          Interrupt:18 Base address:0x2000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:352 (352.0 b)  TX bytes:352 (352.0 b)
what should i do for disable ipv6 in FC 9?

thx
Reply With Quote
  #2  
Old 29th May 2008, 04:50 AM
marko's Avatar
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,488
This guy is saying that even if you blacklist ipv6 and do that other stuff, it
might still load the ipv6 module if something is requesting the service.

http://www.g-loaded.eu/2008/05/12/ho...ra-and-centos/

and he suggests putting in a file in /etc/modprobe.d this line
Quote:
install ipv6 /bin/true
and leave in the other settings you already had but they would
likely be redundant (module doesn't load). It would also be a good
idea to turn off the ip6 firewall either with system-config-services or
chkconfig and then kill the ip6tables:

chkconfig ip6tables off
service ip6tables stop

On an unrelated blacklisting note, this answered a question I had a long
time with a webcam I have. It would always grab the sound module
(which I didn't want) because the webcam had a usb microphone in it.,
So I blacklisted the usb sound module but it would still load. Because
the usb snd module loaded first and beat my sound card,
my sound card wouldn't work. My only recourse was to make sure the web cam was always unplugged at boot time so what I should do is put in a file in /etc/modprobe.d

install snd-usb-audio /bin/true

Last edited by marko; 29th May 2008 at 04:59 AM.
Reply With Quote
  #3  
Old 29th May 2008, 05:50 AM
amfpg Offline
Registered User
 
Join Date: May 2008
Posts: 84
thanks marko, for your link
Reply With Quote
  #4  
Old 16th August 2008, 03:36 AM
lintek's Avatar
lintek Offline
Registered User
 
Join Date: Jul 2007
Posts: 22
I can confirm that using the suggested solution "install ipv6 /bin/true" works perfectly. Also, this solution stopped the boot error message I was receiving -> FATAL: Module OFF not found <-

The file I created in /etc/modprobed.d is: aliases and the content is:

install net-pf-10 /bin/true
install ipv6 /bin/true

I then reboot to make sure no FATAL error messages were reported and executed ifocnfig and lsmod to make sure the module wasn't loaded.
Reply With Quote
  #5  
Old 16th August 2008, 03:47 AM
Evil_Bert's Avatar
Evil_Bert Offline
Retired Again - Administrator
 
Join Date: Nov 2007
Location: Reality
Posts: 3,041
Quote:
Originally Posted by lintek
...this solution stopped the boot error message I was receiving -> FATAL: Module OFF not found ...
Yes, I was getting that error, too, since I still had old 'alias' settings.

Thanks for the solution - I've been looking for something like that (although the Anaconda option at install time to not enable IPV6 support for the detected interface had worked also, as well as the System>Network settings .... possible this is because nothing was calling for IPV6).
__________________
Marching to the beat of his own conundrum.
Reply With Quote
  #6  
Old 16th August 2008, 01:48 PM
nucleo's Avatar
nucleo Offline
Registered User
 
Join Date: Jan 2008
Posts: 101
I also unset execute bit on file init.ipv6-global
Code:
chmod -x /etc/sysconfig/network-scripts/init.ipv6-global
Reply With Quote
  #7  
Old 21st August 2008, 05:40 AM
marko's Avatar
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,488
Quote:
Originally Posted by amfpg
......
# vi /etc/sysconfig/network
and add this line:
NETWORKING_IPV6=no
.......
Actually I think this setting is obsolete, you can delete it
Reply With Quote
Reply

Tags
disable, 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
Disable IPv4, Enable IPv6 FragKing Servers & Networking 1 30th November 2008 05:50 PM
Disable IPv6 in Fedora 8 Lukast Servers & Networking 3 29th December 2007 05:15 PM
Disable IPv6 steve941 Servers & Networking 4 19th July 2007 12:24 AM
disable IPv6 ethernet device rune Servers & Networking 6 16th August 2005 12:11 AM


Current GMT-time: 18:52 (Wednesday, 19-06-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