1 -*- mode: outline; coding: utf-8; -*- |
|
2 |
|
3 * Ukraine internet provider. |
|
4 |
|
5 ** Utel. |
|
6 |
|
7 User - none, password - none, phone - '*99***1#' or '*99#'. |
|
8 |
|
9 ** Peoplenet. |
|
10 |
|
11 User and password you get by sending SMS message to '920' number. Phone '#777'. |
|
12 |
|
13 * DNS to IP address. |
|
14 |
|
15 $ nslookup example.com |
|
16 |
|
17 * IP to DNS address. |
|
18 |
|
19 $ nslookup 192.168.1.1 |
|
20 |
|
21 * NetBIOS to IP address. |
|
22 |
|
23 By nbtstat.exe command from MS you can print NetBIOS name cache with |
|
24 name-to-IP address mappings: |
|
25 |
|
26 $ nbtstat -c |
|
27 |
|
28 * List of NetBIOS name. |
|
29 |
|
30 $ nbtstat -r |
|
31 |
|
32 * List of open ports. |
|
33 |
|
34 ** Windows. |
|
35 |
|
36 cmd> netstat # with DNS name resolution, TCP only |
|
37 cmd> netstat -n # without name resolution, TCP only |
|
38 cmd> netstat -a -n # TCP and UDP |
|
39 cmd> netstat -s # show IP, ICMP, TCP, and UDP statistics. |
|
40 |
|
41 ** Linux. |
|
42 |
|
43 $ netstat |
|
44 |
|
45 * Which processes open port? |
|
46 |
|
47 ** Windows |
|
48 |
|
49 cmd> netstat -o # show PID |
|
50 cmd> netstat -b # show also cmd name |
|
51 cmd> netstat -b -v # show all modules (.exe and .dll) with full path |
|
52 |
|
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 |
|
73 Another way is adding to /etc/modprobe.d/blacklist.local lines |
|
74 |
|
75 blacklist ipv6 |
|
76 |
|
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". |
|
94 |
|
95 * Windows. |
|
96 |
|
97 ** Clear saved Windows networking passwords. |
|
98 |
|
99 cmd> rundll32.exe keymgr.dll, KRShowKeyMgr |
|
100 cmd> control userpasswords2 # another way |
|
101 |
|
102 * Proxy auto-config. |
|
103 |
|
104 http://en.wikipedia.org/wiki/Proxy_auto-config |
|
105 |
|