author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Sat, 10 Feb 2018 01:28:53 +0200 | |
changeset 2227 | 1e9323e7ec88 |
parent 2210 | d62eb2a97d30 |
child 2228 | 837f1337c59b |
permissions | -rw-r--r-- |
1242
b7b83fd554c0
http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
1 |
.. -*- coding: utf-8; -*- |
b7b83fd554c0
http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
2 |
|
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 |
Network. |
b7b83fd554c0
http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
5 |
========== |
b7b83fd554c0
http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
6 |
.. contents:: |
1905
fba288d59662
Include only local subsections into TOC. This prevent duplication of
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1752
diff
changeset
|
7 |
:local: |
1242
b7b83fd554c0
http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
8 |
|
1752 | 9 |
Network managers. |
10 |
================= |
|
11 |
||
12 |
Mainstream in Debian: |
|
13 |
||
14 |
``connman`` |
|
15 |
Intel Connection Manager daemon. |
|
16 |
``network-manager`` |
|
17 |
Network management framework (daemon and userspace tools). |
|
18 |
``wicd`` |
|
19 |
Wired and wireless network manager. |
|
20 |
||
21 |
Misc: |
|
22 |
||
23 |
``netctl`` |
|
24 |
Come under ``systemd`` umbrella, absent in Debian. |
|
25 |
WiFi Radar |
|
26 |
Python scripts that lanches another applications. |
|
27 |
||
2168
87000c8f76ca
MAC address vendor list.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2163
diff
changeset
|
28 |
MAC address vendor list |
87000c8f76ca
MAC address vendor list.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2163
diff
changeset
|
29 |
======================= |
87000c8f76ca
MAC address vendor list.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2163
diff
changeset
|
30 |
|
87000c8f76ca
MAC address vendor list.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2163
diff
changeset
|
31 |
http://www.gcstech.net/macvendor/index.php |
87000c8f76ca
MAC address vendor list.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2163
diff
changeset
|
32 |
Search to MAC address vendor list. |
87000c8f76ca
MAC address vendor list.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2163
diff
changeset
|
33 |
|
1242
b7b83fd554c0
http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
34 |
Ukraine internet provider. |
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 |
|
b7b83fd554c0
http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
37 |
Utel. |
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 |
|
b7b83fd554c0
http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
40 |
User - none, password - none, phone - ``*99***1#`` or ``*99#``. |
b7b83fd554c0
http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
41 |
|
b7b83fd554c0
http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
42 |
Peoplenet. |
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 |
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
|
46 |
|
2161
44ad8ff65756
DNS name resolution
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2160
diff
changeset
|
47 |
DNS name resolution |
44ad8ff65756
DNS name resolution
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2160
diff
changeset
|
48 |
=================== |
44ad8ff65756
DNS name resolution
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2160
diff
changeset
|
49 |
|
44ad8ff65756
DNS name resolution
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2160
diff
changeset
|
50 |
DNS to IP address:: |
1242
b7b83fd554c0
http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
51 |
|
b7b83fd554c0
http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
52 |
$ nslookup example.com |
b7b83fd554c0
http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
53 |
|
2161
44ad8ff65756
DNS name resolution
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2160
diff
changeset
|
54 |
IP to DNS address:: |
1242
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 |
$ nslookup 192.168.1.1 |
b7b83fd554c0
http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
57 |
|
2159
e34db1f233fe
NetBIOS name resolution.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
58 |
NetBIOS name resolution |
e34db1f233fe
NetBIOS name resolution.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
59 |
======================= |
1242
b7b83fd554c0
http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
60 |
|
2159
e34db1f233fe
NetBIOS name resolution.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
61 |
``nbtstat.exe`` command comes with Windows and allows NetBIOS name resolution |
e34db1f233fe
NetBIOS name resolution.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
62 |
from cache. |
e34db1f233fe
NetBIOS name resolution.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
63 |
|
e34db1f233fe
NetBIOS name resolution.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
64 |
NetBIOS to IP address:: |
1242
b7b83fd554c0
http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
65 |
|
b7b83fd554c0
http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
66 |
$ nbtstat -c |
1681
cbaf01817987
IP to NetBIOS address.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1544
diff
changeset
|
67 |
$ nbtstat -a NETBIOSNAME |
cbaf01817987
IP to NetBIOS address.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1544
diff
changeset
|
68 |
|
2159
e34db1f233fe
NetBIOS name resolution.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
69 |
IP to NetBIOS address:: |
1681
cbaf01817987
IP to NetBIOS address.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1544
diff
changeset
|
70 |
|
cbaf01817987
IP to NetBIOS address.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1544
diff
changeset
|
71 |
$ nbtstat -A xxx.xxx.xxx.xxx |
1242
b7b83fd554c0
http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
72 |
|
2159
e34db1f233fe
NetBIOS name resolution.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
73 |
List of NetBIOS name:: |
1242
b7b83fd554c0
http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
74 |
|
b7b83fd554c0
http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
75 |
$ nbtstat -r |
b7b83fd554c0
http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
76 |
|
2160
d531941f084d
List of open ports.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2159
diff
changeset
|
77 |
List of open ports |
d531941f084d
List of open ports.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2159
diff
changeset
|
78 |
================== |
1242
b7b83fd554c0
http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
79 |
|
2160
d531941f084d
List of open ports.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2159
diff
changeset
|
80 |
List of open ports under Windows:: |
1242
b7b83fd554c0
http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
81 |
|
b7b83fd554c0
http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
82 |
cmd> netstat # with DNS name resolution, TCP only |
b7b83fd554c0
http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
83 |
cmd> netstat -n # without name resolution, TCP only |
b7b83fd554c0
http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
84 |
cmd> netstat -a -n # TCP and UDP |
b7b83fd554c0
http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
85 |
cmd> netstat -s # show IP, ICMP, TCP, and UDP statistics. |
b7b83fd554c0
http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
86 |
|
2160
d531941f084d
List of open ports.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2159
diff
changeset
|
87 |
List of open ports under Linux:: |
1242
b7b83fd554c0
http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
88 |
|
b7b83fd554c0
http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
89 |
$ sudo netstat -tulp |
b7b83fd554c0
http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
90 |
|
2160
d531941f084d
List of open ports.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2159
diff
changeset
|
91 |
where ``-t`` tcp, ``-u`` udp, ``-l`` local, ``-p`` process. |
d531941f084d
List of open ports.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2159
diff
changeset
|
92 |
|
1242
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 |
|
2210
d62eb2a97d30
Windows predefined ports.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2168
diff
changeset
|
97 |
Windows predefined ports: |
d62eb2a97d30
Windows predefined ports.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2168
diff
changeset
|
98 |
|
d62eb2a97d30
Windows predefined ports.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2168
diff
changeset
|
99 |
https://support.microsoft.com/en-us/help/832017/service-overview-and-network-port-requirements-for-windows |
d62eb2a97d30
Windows predefined ports.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2168
diff
changeset
|
100 |
Service overview and network port requirements for Windows |
d62eb2a97d30
Windows predefined ports.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2168
diff
changeset
|
101 |
https://msdn.microsoft.com/en-us/library/cc875824.aspx |
d62eb2a97d30
Windows predefined ports.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2168
diff
changeset
|
102 |
Network Ports Used by Key Microsoft Server Products |
d62eb2a97d30
Windows predefined ports.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2168
diff
changeset
|
103 |
https://msdn.microsoft.com/en-us/library/cc959833.aspx |
d62eb2a97d30
Windows predefined ports.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2168
diff
changeset
|
104 |
Port Assignments for Commonly-Used Services |
d62eb2a97d30
Windows predefined ports.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2168
diff
changeset
|
105 |
|
2160
d531941f084d
List of open ports.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2159
diff
changeset
|
106 |
Which processes open port |
d531941f084d
List of open ports.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2159
diff
changeset
|
107 |
========================= |
1242
b7b83fd554c0
http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
108 |
|
2160
d531941f084d
List of open ports.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2159
diff
changeset
|
109 |
Windows:: |
1242
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 |
cmd> netstat -o # show PID |
b7b83fd554c0
http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
112 |
cmd> netstat -b # show also cmd name |
b7b83fd554c0
http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
113 |
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
|
114 |
|
2160
d531941f084d
List of open ports.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2159
diff
changeset
|
115 |
Linux:: |
1242
b7b83fd554c0
http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
116 |
|
b7b83fd554c0
http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
117 |
$ sudo netstat -tulpn |
b7b83fd554c0
http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
118 |
$ sudo lsof -i |
b7b83fd554c0
http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
119 |
|
2163
8573b77d7dbf
Network connection troubleshooting
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2162
diff
changeset
|
120 |
Network connection troubleshooting |
8573b77d7dbf
Network connection troubleshooting
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2162
diff
changeset
|
121 |
================================== |
8573b77d7dbf
Network connection troubleshooting
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2162
diff
changeset
|
122 |
|
8573b77d7dbf
Network connection troubleshooting
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2162
diff
changeset
|
123 |
On Linux:: |
8573b77d7dbf
Network connection troubleshooting
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2162
diff
changeset
|
124 |
|
8573b77d7dbf
Network connection troubleshooting
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2162
diff
changeset
|
125 |
$ ping 8.8.8.8 |
8573b77d7dbf
Network connection troubleshooting
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2162
diff
changeset
|
126 |
$ traceroute 8.8.8.8 |
8573b77d7dbf
Network connection troubleshooting
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2162
diff
changeset
|
127 |
$ mtr 8.8.8.8 |
8573b77d7dbf
Network connection troubleshooting
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2162
diff
changeset
|
128 |
|
8573b77d7dbf
Network connection troubleshooting
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2162
diff
changeset
|
129 |
On Windows:: |
8573b77d7dbf
Network connection troubleshooting
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2162
diff
changeset
|
130 |
|
8573b77d7dbf
Network connection troubleshooting
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2162
diff
changeset
|
131 |
cmd> ping /t 8.8.8.8 |
8573b77d7dbf
Network connection troubleshooting
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2162
diff
changeset
|
132 |
cmd> traceroute 8.8.8.8 |
8573b77d7dbf
Network connection troubleshooting
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2162
diff
changeset
|
133 |
cmd> pathping 8.8.8.8 |
8573b77d7dbf
Network connection troubleshooting
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2162
diff
changeset
|
134 |
|
1242
b7b83fd554c0
http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
135 |
Proxy auto-config. |
b7b83fd554c0
http://wiki.debian.org/DebianIPv6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
136 |
================== |
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 |
http://en.wikipedia.org/wiki/Proxy_auto-config |