net.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sat, 03 Oct 2015 18:29:10 +0300
changeset 1765 2132765de2f4
parent 1752 2de01e42c8ac
child 1905 fba288d59662
permissions -rw-r--r--
Cellular automaton.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1242
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     1
.. -*- coding: utf-8; -*-
1334
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1242
diff changeset
     2
.. include:: HEADER.rst
1242
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     3
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     4
==========
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     5
 Network.
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     6
==========
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     7
.. contents::
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     8
1752
2de01e42c8ac Network managers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1681
diff changeset
     9
Network managers.
2de01e42c8ac Network managers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1681
diff changeset
    10
=================
2de01e42c8ac Network managers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1681
diff changeset
    11
2de01e42c8ac Network managers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1681
diff changeset
    12
Mainstream in Debian:
2de01e42c8ac Network managers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1681
diff changeset
    13
2de01e42c8ac Network managers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1681
diff changeset
    14
  ``connman``
2de01e42c8ac Network managers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1681
diff changeset
    15
    Intel Connection Manager daemon.
2de01e42c8ac Network managers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1681
diff changeset
    16
  ``network-manager``
2de01e42c8ac Network managers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1681
diff changeset
    17
    Network management framework (daemon and userspace tools).
2de01e42c8ac Network managers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1681
diff changeset
    18
  ``wicd``
2de01e42c8ac Network managers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1681
diff changeset
    19
    Wired and wireless network manager.
2de01e42c8ac Network managers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1681
diff changeset
    20
2de01e42c8ac Network managers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1681
diff changeset
    21
Misc:
2de01e42c8ac Network managers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1681
diff changeset
    22
2de01e42c8ac Network managers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1681
diff changeset
    23
  ``netctl``
2de01e42c8ac Network managers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1681
diff changeset
    24
    Come under ``systemd`` umbrella, absent in Debian.
2de01e42c8ac Network managers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1681
diff changeset
    25
  WiFi Radar
2de01e42c8ac Network managers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1681
diff changeset
    26
    Python scripts that lanches another applications.
2de01e42c8ac Network managers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1681
diff changeset
    27
1242
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    28
Ukraine internet provider.
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    29
==========================
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    30
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    31
Utel.
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    32
-----
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    33
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    34
User - none, password - none, phone - ``*99***1#`` or ``*99#``.
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    35
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    36
Peoplenet.
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    37
----------
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    38
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    39
User and password you get by sending SMS message to ``920`` number. Phone ``#777``.
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    40
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    41
DNS to IP address.
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    42
==================
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    43
::
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    44
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    45
  $ nslookup example.com
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    46
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    47
IP to DNS address.
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    48
==================
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    49
::
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    50
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    51
  $ nslookup 192.168.1.1
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    52
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    53
NetBIOS to IP address.
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    54
======================
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    55
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    56
By nbtstat.exe command from MS you can print NetBIOS name cache with
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    57
name-to-IP address mappings::
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    58
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    59
  $ nbtstat -c
1681
cbaf01817987 IP to NetBIOS address.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1544
diff changeset
    60
  $ nbtstat -a NETBIOSNAME
cbaf01817987 IP to NetBIOS address.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1544
diff changeset
    61
cbaf01817987 IP to NetBIOS address.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1544
diff changeset
    62
IP to NetBIOS address.
cbaf01817987 IP to NetBIOS address.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1544
diff changeset
    63
======================
cbaf01817987 IP to NetBIOS address.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1544
diff changeset
    64
::
cbaf01817987 IP to NetBIOS address.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1544
diff changeset
    65
cbaf01817987 IP to NetBIOS address.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1544
diff changeset
    66
  $ nbtstat -A xxx.xxx.xxx.xxx
1242
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    67
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    68
List of NetBIOS name.
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    69
=====================
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    70
::
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    71
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    72
  $ nbtstat -r
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    73
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    74
List of open ports.
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    75
===================
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    76
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    77
List of open ports under Windows.
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    78
---------------------------------
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    79
::
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    80
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    81
  cmd> netstat        # with DNS name resolution, TCP only
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    82
  cmd> netstat -n     # without name resolution, TCP only
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    83
  cmd> netstat -a -n  # TCP and UDP
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    84
  cmd> netstat -s     # show IP, ICMP, TCP, and UDP statistics.
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    85
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    86
List of open ports under Linux.
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    87
-------------------------------
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    88
1544
bed7c3cc0cc7 Fix formating.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1334
diff changeset
    89
``-t`` tcp, ``-u`` udp, ``-l`` local, ``-p`` process::
1242
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    90
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    91
  $ sudo netstat -tulp
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    92
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    93
or to use port number instead of protocol name::
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    94
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    95
  $ sudo netstat -tulpn
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    96
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    97
Which processes open port?
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    98
==========================
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    99
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   100
Windows
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   101
-------
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   102
::
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   103
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   104
  cmd> netstat -o     # show PID
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   105
  cmd> netstat -b     # show also cmd name
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   106
  cmd> netstat -b -v  # show all modules (.exe and .dll) with full path
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   107
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   108
Linux.
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   109
------
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   110
::
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   111
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   112
  $ sudo netstat -tulpn
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   113
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   114
or::
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   115
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   116
  $ sudo lsof -i
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   117
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   118
How disable IPv6?
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   119
=================
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   120
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   121
Debian kernel 2.6/Ubuntu ("official" method)/Fedora Core.
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   122
---------------------------------------------------------
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   123
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   124
Comment in /etc/modprobe.d/aliases "alias net-pf-10 ipv6" and add alias
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   125
"net-pf-10 off", "alias ipv6 off"::
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   126
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   127
  $ sudo emacs /etc/modprobe.d/aliases
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   128
  ...
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   129
  $ cat /etc/modprobe.d/aliases
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   130
  ...
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   131
  # alias net-pf-10 ipv6
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   132
  alias net-pf-10 off
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   133
  alias ipv6 off
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   134
  ...
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   135
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   136
Reboot or::
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   137
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   138
  $ sudo update-modules
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   139
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   140
Another way is adding to /etc/modprobe.d/blacklist.local lines::
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   141
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   142
  blacklist ipv6
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   143
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   144
You can safely wipe out any IPv6 reference in ``/etc/hosts`` and
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   145
``/etc/network/interfaces``.
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   146
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   147
  http://wiki.debian.org/DebianIPv6
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   148
                DebianIPv6
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   149
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   150
RHEL4/Centos4.
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   151
--------------
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   152
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   153
As for Debian, but ``/etc/modprobe.d/aliases`` has name ``/etc/modprobe.conf``.
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   154
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   155
KDE.
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   156
----
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   157
::
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   158
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   159
  $ cat /etc/environment
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   160
  ...
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   161
  KDE_NO_IPV6=true
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   162
  ...
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   163
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   164
Firefox.
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   165
--------
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   166
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   167
See ``about:config`` page, set ``network.dns.disableIPv6`` to ``true``.
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   168
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   169
Clear saved Windows networking passwords.
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   170
=========================================
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   171
::
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   172
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   173
  cmd> rundll32.exe keymgr.dll, KRShowKeyMgr
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   174
  cmd> control userpasswords2                 # another way
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   175
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   176
Proxy auto-config.
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   177
==================
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   178
b7b83fd554c0 http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   179
  http://en.wikipedia.org/wiki/Proxy_auto-config