ethtool

Display and modify Network Interface Controller (NIC) parameters. More information: <http://man7.org/linux/man-pages/man8/ethtool.8.html>.

Install

All systems
curl cmd.cat/ethtool.sh
Debian Debian
apt-get install ethtool
Ubuntu
apt-get install ethtool
Alpine
apk add ethtool
Arch Arch Linux
pacman -S ethtool
image/svg+xml Kali Linux
apt-get install ethtool
CentOS
yum install ethtool
Fedora
dnf install ethtool
Windows (WSL2)
sudo apt-get update sudo apt-get install ethtool
Raspbian
apt-get install ethtool
Docker
docker run cmd.cat/ethtool ethtool powered by Commando

Display and modify Network Interface Controller (NIC) parameters. More information: <http://man7.org/linux/man-pages/man8/ethtool.8.html>.

  • Display the current settings for an interface:
    ethtool eth0
  • Display the driver information for an interface:
    ethtool --driver eth0
  • Display all supported features for an interface:
    ethtool --show-features eth0
  • Display the network usage statistics for an interface:
    ethtool --statistics eth0
  • Blink one or more LEDs on an interface for 10 seconds:
    ethtool --identify eth0 10
  • Set the link speed, duplex mode, and parameter auto-negotiation for a given interface:
    ethtool -s eth0 speed 10|100|1000 duplex half|full autoneg on|off

© tl;dr; authors and contributors