# HG changeset patch # User Oleksandr Gavenko # Date 1239183400 -10800 # Node ID 56267560b7d54edb44010092a16afe671c51d633 # Parent a228e365a16bcee1ef1d8016f1a36809edf954b2 How disable IPv6? diff -r a228e365a16b -r 56267560b7d5 net.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/net.rst Wed Apr 08 12:36:40 2009 +0300 @@ -0,0 +1,39 @@ +-*- outline -*- + +* How disable IPv6? + +** Debian kernel 2.6/Ubuntu ("official" method)/Fedora Core. + +Comment in /etc/modprobe.d/aliases "alias net-pf-10 ipv6" and add alias +"net-pf-10 off", "alias ipv6 off": + + $ sudo emacs /etc/modprobe.d/aliases +... + $ cat /etc/modprobe.d/aliases +... +# alias net-pf-10 ipv6 +alias net-pf-10 off +alias ipv6 off +... + +Reboot or + + $ sudo update-modules + +You can safely wipe out any IPv6 reference in "/etc/hosts" and +"/etc/network/interfaces". + +** RHEL4/Centos4. + +As for Debian, but "/etc/modprobe.d/aliases" has name "/etc/modprobe.conf". + +** KDE. + + $ cat /etc/environment +... +KDE_NO_IPV6=true +... + +** Firefox. + +See about:config page, set "network.dns.disableIPv6" to "true".