author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Wed, 22 Jul 2009 21:36:08 +0300 | |
changeset 152 | 403e81f601f2 |
parent 124 | c3083cf1f03b |
child 332 | 80247baf4f55 |
permissions | -rw-r--r-- |
75 | 1 |
-*- outline -*- |
2 |
||
3 |
* How disable IPv6? |
|
4 |
||
5 |
** Debian kernel 2.6/Ubuntu ("official" method)/Fedora Core. |
|
6 |
||
7 |
Comment in /etc/modprobe.d/aliases "alias net-pf-10 ipv6" and add alias |
|
8 |
"net-pf-10 off", "alias ipv6 off": |
|
9 |
||
10 |
$ sudo emacs /etc/modprobe.d/aliases |
|
11 |
... |
|
12 |
$ cat /etc/modprobe.d/aliases |
|
13 |
... |
|
14 |
# alias net-pf-10 ipv6 |
|
15 |
alias net-pf-10 off |
|
16 |
alias ipv6 off |
|
17 |
... |
|
18 |
||
19 |
Reboot or |
|
20 |
||
21 |
$ sudo update-modules |
|
22 |
||
124
c3083cf1f03b
Another way disable IPV6.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
75
diff
changeset
|
23 |
Another way is adding to /etc/modprobe.d/blacklist.local lines |
c3083cf1f03b
Another way disable IPV6.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
75
diff
changeset
|
24 |
|
c3083cf1f03b
Another way disable IPV6.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
75
diff
changeset
|
25 |
blacklist ipv6 |
c3083cf1f03b
Another way disable IPV6.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
75
diff
changeset
|
26 |
|
75 | 27 |
You can safely wipe out any IPv6 reference in "/etc/hosts" and |
28 |
"/etc/network/interfaces". |
|
29 |
||
30 |
** RHEL4/Centos4. |
|
31 |
||
32 |
As for Debian, but "/etc/modprobe.d/aliases" has name "/etc/modprobe.conf". |
|
33 |
||
34 |
** KDE. |
|
35 |
||
36 |
$ cat /etc/environment |
|
37 |
... |
|
38 |
KDE_NO_IPV6=true |
|
39 |
... |
|
40 |
||
41 |
** Firefox. |
|
42 |
||
43 |
See about:config page, set "network.dns.disableIPv6" to "true". |