Fixed formatting.
.. -*- coding: utf-8; -*-
==========
Network.
==========
.. contents::
:local:
Network managers.
=================
Mainstream in Debian:
``connman``
Intel Connection Manager daemon.
``network-manager``
Network management framework (daemon and userspace tools).
``wicd``
Wired and wireless network manager.
Misc:
``netctl``
Come under ``systemd`` umbrella, absent in Debian.
WiFi Radar
Python scripts that lanches another applications.
MAC address vendor list
=======================
http://www.gcstech.net/macvendor/index.php
Search to MAC address vendor list.
Ukraine internet provider.
==========================
Utel.
-----
User - none, password - none, phone - ``*99***1#`` or ``*99#``.
Peoplenet.
----------
User and password you get by sending SMS message to ``920`` number. Phone ``#777``.
DNS name resolution
===================
DNS to IP address::
$ nslookup example.com
IP to DNS address::
$ nslookup 192.168.1.1
NetBIOS name resolution
=======================
``nbtstat.exe`` command comes with Windows and allows NetBIOS name resolution
from cache.
NetBIOS to IP address::
$ nbtstat -c
$ nbtstat -a NETBIOSNAME
IP to NetBIOS address::
$ nbtstat -A xxx.xxx.xxx.xxx
List of NetBIOS name::
$ nbtstat -r
List of open ports
==================
List of open ports under Windows::
cmd> netstat # with DNS name resolution, TCP only
cmd> netstat -n # without name resolution, TCP only
cmd> netstat -a -n # TCP and UDP
cmd> netstat -s # show IP, ICMP, TCP, and UDP statistics.
List of open ports under Linux::
$ sudo netstat -tulp
where ``-t`` tcp, ``-u`` udp, ``-l`` local, ``-p`` process.
or to use port number instead of protocol name::
$ sudo netstat -tulpn
Windows predefined ports:
https://support.microsoft.com/en-us/help/832017/service-overview-and-network-port-requirements-for-windows
Service overview and network port requirements for Windows
https://msdn.microsoft.com/en-us/library/cc875824.aspx
Network Ports Used by Key Microsoft Server Products
https://msdn.microsoft.com/en-us/library/cc959833.aspx
Port Assignments for Commonly-Used Services
Which processes open port
=========================
Windows::
cmd> netstat -o # show PID
cmd> netstat -b # show also cmd name
cmd> netstat -b -v # show all modules (.exe and .dll) with full path
Linux::
$ sudo netstat -tulpn
$ sudo lsof -i
Network connection troubleshooting
==================================
On Linux::
$ ping 8.8.8.8
$ traceroute 8.8.8.8
$ mtr 8.8.8.8
On Windows::
cmd> ping /t 8.8.8.8
cmd> traceroute 8.8.8.8
cmd> pathping 8.8.8.8
Proxy auto-config.
==================
* http://en.wikipedia.org/wiki/Proxy_auto-config