How to list interfaces with Nmap. This is a very useful tip.

It is possible to list interfaces with Nmap. This is a good way to see all active network devices attached to your computer. Use the –iflist parameter as shown below to show all network interfaces on your machine. jason@jason-Lenovo-H50-55:~$ nmap –iflist Starting Nmap 7.80 ( https://nmap.org ) at 2022-03-18 10:38…

Read More

Another way to get only interface names from a Linux machine.

How to return only interface names when listing all installed network interfaces in a Linux box. jason@jason-Lenovo-H50-55:~/Documents$ ip link | grep -Po "(?<=^\d: |^\d\d:)[^:]+(?=:)" lo eth0 wlan0jason@jason-Lenovo-H50-55:~/Documents$ ip link | grep -Po "(?<=^\d: |^\d\d:)[^:]+(?=:)" lo eth0 wlan0 This is very useful to get a listing of all networking interfaces for…

Read More

Get information about your network interface with Linux.

Linux has quite a few commands for finding out information about your network adapters. Below is an example. Using the ethtool command as root. homer@deusexmachina ~ $ sudo ethtool eth2 [sudo] password for homer: Settings for eth2: Supported ports: [ TP MII ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full…

Read More