Jacques Duplessis
by Jacques Duplessis
~1 min read

Categories

Tags

Print Friendly and PDF

The ‘ethtool’ is a command line utility used to query and control network device driver and hardware settings, particularly for wired Ethernet devices. In our example, we will use it to flash the light on the back of a card, this will be useful to identify the device name that belong to what port on the back of you Linux computer.


Image by Martinelle from Pixabay


Let’s say you have two network cables plug in on the back of a server and you want to know which one is eth0. Use the following command and the interface light will start blinking (for 10 seconds) on the chosen adapter.

# ethtool -p eth0 10 

This command can be executed without disturbing the traffic on the interface.