Example layout of the Debian/Ubuntu /etc/interfaces config file with static IP configuration including additional routing, alias and VLAN details.
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
iface lo inet loopback
# The LAN network interface
#iface eth0 inet dhcp
iface eth0 inet static
How to use nmap for some basic scans.
Some useful nmap switches:
* -T change the speed of your scans. Range is from 0 (slowest) to 5 (fastest, less accurate, easier to detect)
* -0 fingerprint/guess the operating system
This is the default scan for nmap. It is faster than the TCP connect scan because it only completes the first two steps of the tree-way-handshake.
||WOL wake on lan
Turn on a host magically via the network :)
Check whether your host is WOL enabled
aptitude install ethtool
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full