author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Wed, 20 Jul 2011 14:10:15 +0300 | |
changeset 903 | 9ead7d97be34 |
parent 899 | 7b4265c8d324 |
permissions | -rw-r--r-- |
899
7b4265c8d324
Set fill-column as directory local var.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
735
diff
changeset
|
1 |
-*- mode: outline; coding: utf-8; -*- |
75 | 2 |
|
332
80247baf4f55
Ukraine internet provider.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
124
diff
changeset
|
3 |
* Ukraine internet provider. |
80247baf4f55
Ukraine internet provider.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
124
diff
changeset
|
4 |
|
80247baf4f55
Ukraine internet provider.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
124
diff
changeset
|
5 |
** Utel. |
80247baf4f55
Ukraine internet provider.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
124
diff
changeset
|
6 |
|
370
c8401628f647
Additional info about utel.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
362
diff
changeset
|
7 |
User - none, password - none, phone - '*99***1#' or '*99#'. |
332
80247baf4f55
Ukraine internet provider.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
124
diff
changeset
|
8 |
|
362 | 9 |
** Peoplenet. |
10 |
||
11 |
User and password you get by sending SMS message to '920' number. Phone '#777'. |
|
12 |
||
353
2979fd62e9be
DNS to IP address, IP to DNS, NetBIOS to IP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
332
diff
changeset
|
13 |
* DNS to IP address. |
2979fd62e9be
DNS to IP address, IP to DNS, NetBIOS to IP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
332
diff
changeset
|
14 |
|
2979fd62e9be
DNS to IP address, IP to DNS, NetBIOS to IP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
332
diff
changeset
|
15 |
$ nslookup example.com |
2979fd62e9be
DNS to IP address, IP to DNS, NetBIOS to IP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
332
diff
changeset
|
16 |
|
2979fd62e9be
DNS to IP address, IP to DNS, NetBIOS to IP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
332
diff
changeset
|
17 |
* IP to DNS address. |
2979fd62e9be
DNS to IP address, IP to DNS, NetBIOS to IP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
332
diff
changeset
|
18 |
|
2979fd62e9be
DNS to IP address, IP to DNS, NetBIOS to IP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
332
diff
changeset
|
19 |
$ nslookup 192.168.1.1 |
2979fd62e9be
DNS to IP address, IP to DNS, NetBIOS to IP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
332
diff
changeset
|
20 |
|
2979fd62e9be
DNS to IP address, IP to DNS, NetBIOS to IP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
332
diff
changeset
|
21 |
* NetBIOS to IP address. |
2979fd62e9be
DNS to IP address, IP to DNS, NetBIOS to IP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
332
diff
changeset
|
22 |
|
2979fd62e9be
DNS to IP address, IP to DNS, NetBIOS to IP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
332
diff
changeset
|
23 |
By nbtstat.exe command from MS you can print NetBIOS name cache with |
2979fd62e9be
DNS to IP address, IP to DNS, NetBIOS to IP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
332
diff
changeset
|
24 |
name-to-IP address mappings: |
2979fd62e9be
DNS to IP address, IP to DNS, NetBIOS to IP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
332
diff
changeset
|
25 |
|
2979fd62e9be
DNS to IP address, IP to DNS, NetBIOS to IP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
332
diff
changeset
|
26 |
$ nbtstat -c |
2979fd62e9be
DNS to IP address, IP to DNS, NetBIOS to IP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
332
diff
changeset
|
27 |
|
2979fd62e9be
DNS to IP address, IP to DNS, NetBIOS to IP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
332
diff
changeset
|
28 |
* List of NetBIOS name. |
2979fd62e9be
DNS to IP address, IP to DNS, NetBIOS to IP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
332
diff
changeset
|
29 |
|
2979fd62e9be
DNS to IP address, IP to DNS, NetBIOS to IP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
332
diff
changeset
|
30 |
$ nbtstat -r |
2979fd62e9be
DNS to IP address, IP to DNS, NetBIOS to IP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
332
diff
changeset
|
31 |
|
523
034d73330ea9
Which processes open port?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
32 |
* List of open ports. |
353
2979fd62e9be
DNS to IP address, IP to DNS, NetBIOS to IP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
332
diff
changeset
|
33 |
|
2979fd62e9be
DNS to IP address, IP to DNS, NetBIOS to IP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
332
diff
changeset
|
34 |
** Windows. |
2979fd62e9be
DNS to IP address, IP to DNS, NetBIOS to IP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
332
diff
changeset
|
35 |
|
2979fd62e9be
DNS to IP address, IP to DNS, NetBIOS to IP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
332
diff
changeset
|
36 |
cmd> netstat # with DNS name resolution, TCP only |
2979fd62e9be
DNS to IP address, IP to DNS, NetBIOS to IP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
332
diff
changeset
|
37 |
cmd> netstat -n # without name resolution, TCP only |
2979fd62e9be
DNS to IP address, IP to DNS, NetBIOS to IP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
332
diff
changeset
|
38 |
cmd> netstat -a -n # TCP and UDP |
2979fd62e9be
DNS to IP address, IP to DNS, NetBIOS to IP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
332
diff
changeset
|
39 |
cmd> netstat -s # show IP, ICMP, TCP, and UDP statistics. |
2979fd62e9be
DNS to IP address, IP to DNS, NetBIOS to IP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
332
diff
changeset
|
40 |
|
524
9b596be4c77b
List of open ports for Linux.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
523
diff
changeset
|
41 |
** Linux. |
9b596be4c77b
List of open ports for Linux.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
523
diff
changeset
|
42 |
|
9b596be4c77b
List of open ports for Linux.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
523
diff
changeset
|
43 |
$ netstat |
9b596be4c77b
List of open ports for Linux.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
523
diff
changeset
|
44 |
|
523
034d73330ea9
Which processes open port?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
45 |
* Which processes open port? |
034d73330ea9
Which processes open port?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
46 |
|
034d73330ea9
Which processes open port?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
47 |
** Windows |
034d73330ea9
Which processes open port?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
48 |
|
034d73330ea9
Which processes open port?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
49 |
cmd> netstat -o # show PID |
034d73330ea9
Which processes open port?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
50 |
cmd> netstat -b # show also cmd name |
034d73330ea9
Which processes open port?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
51 |
cmd> netstat -b -v # show all modules (.exe and .dll) with full path |
034d73330ea9
Which processes open port?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
370
diff
changeset
|
52 |
|
75 | 53 |
* How disable IPv6? |
54 |
||
55 |
** Debian kernel 2.6/Ubuntu ("official" method)/Fedora Core. |
|
56 |
||
57 |
Comment in /etc/modprobe.d/aliases "alias net-pf-10 ipv6" and add alias |
|
58 |
"net-pf-10 off", "alias ipv6 off": |
|
59 |
||
60 |
$ sudo emacs /etc/modprobe.d/aliases |
|
61 |
... |
|
62 |
$ cat /etc/modprobe.d/aliases |
|
63 |
... |
|
64 |
# alias net-pf-10 ipv6 |
|
65 |
alias net-pf-10 off |
|
66 |
alias ipv6 off |
|
67 |
... |
|
68 |
||
69 |
Reboot or |
|
70 |
||
71 |
$ sudo update-modules |
|
72 |
||
124
c3083cf1f03b
Another way disable IPV6.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
75
diff
changeset
|
73 |
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
|
74 |
|
c3083cf1f03b
Another way disable IPV6.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
75
diff
changeset
|
75 |
blacklist ipv6 |
c3083cf1f03b
Another way disable IPV6.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
75
diff
changeset
|
76 |
|
75 | 77 |
You can safely wipe out any IPv6 reference in "/etc/hosts" and |
78 |
"/etc/network/interfaces". |
|
79 |
||
80 |
** RHEL4/Centos4. |
|
81 |
||
82 |
As for Debian, but "/etc/modprobe.d/aliases" has name "/etc/modprobe.conf". |
|
83 |
||
84 |
** KDE. |
|
85 |
||
86 |
$ cat /etc/environment |
|
87 |
... |
|
88 |
KDE_NO_IPV6=true |
|
89 |
... |
|
90 |
||
91 |
** Firefox. |
|
92 |
||
93 |
See about:config page, set "network.dns.disableIPv6" to "true". |
|
354
481845507d3d
Clear saved Windows networking passwords.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
353
diff
changeset
|
94 |
|
481845507d3d
Clear saved Windows networking passwords.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
353
diff
changeset
|
95 |
* Windows. |
481845507d3d
Clear saved Windows networking passwords.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
353
diff
changeset
|
96 |
|
481845507d3d
Clear saved Windows networking passwords.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
353
diff
changeset
|
97 |
** Clear saved Windows networking passwords. |
481845507d3d
Clear saved Windows networking passwords.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
353
diff
changeset
|
98 |
|
481845507d3d
Clear saved Windows networking passwords.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
353
diff
changeset
|
99 |
cmd> rundll32.exe keymgr.dll, KRShowKeyMgr |
481845507d3d
Clear saved Windows networking passwords.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
353
diff
changeset
|
100 |
cmd> control userpasswords2 # another way |
713 | 101 |
|
102 |
* Proxy auto-config. |
|
103 |
||
104 |
http://en.wikipedia.org/wiki/Proxy_auto-config |
|
105 |