LinuxCommandLibrary

ethtool

network interface configuration and diagnostics

TLDR

Show settings

$ ethtool eth0
copy
Show driver info
$ ethtool -i eth0
copy
Show features
$ ethtool -k eth0
copy
Show statistics
$ ethtool -S eth0
copy
Blink LEDs
$ ethtool -p eth0 10
copy
Set speed and duplex
$ ethtool -s eth0 speed 1000 duplex full autoneg off
copy

SYNOPSIS

ethtool [OPTIONS] device

DESCRIPTION

ethtool displays and modifies Network Interface Controller (NIC) parameters. It provides comprehensive control over Ethernet device settings, allowing administrators to query driver information, link status, hardware capabilities, and configure parameters like speed, duplex mode, and various offload features.
The tool is essential for network troubleshooting, performance tuning, and hardware diagnostics. It can enable or disable features like checksumming offload, scatter-gather I/O, and segmentation offloading that affect network throughput and CPU utilization.
ethtool works directly with network device drivers, exposing hardware-specific capabilities and statistics not available through standard networking tools.

PARAMETERS

-i, --driver

Display driver information
-k, --show-features
Show offload and other features
-K, --features
Change offload and other features
-S, --statistics
Show NIC and driver statistics
-p, --identify seconds
Blink device LEDs for identification
-s, --change
Change device settings
speed 10|100|1000|10000
Set link speed in Mbps
duplex half|full
Set duplex mode
autoneg on|off
Enable/disable auto-negotiation

CAVEATS

Not all options are supported by all drivers. Changing settings may temporarily disrupt connectivity. Some settings require the interface to be down.

HISTORY

ethtool is the standard Linux utility for examining and tuning Ethernet-based network interfaces.

SEE ALSO

ip(8), mii-tool(8), tc(8)

> TERMINAL_GEAR

Curated for the Linux community

BOSGAME Mini PC N95, Intel 12th Mini Computers| 16GB DDR4 RAM| 512GB M.2 2280 SSD| 4K 60HZ Triple Displays by Dual HDMI+Type-C, 6W TDP Quiet Mini PC, WIFI5, BT 5.0 Office

BOSGAME Mini PC N95, Intel 12th Mini Computers| 16GB DDR4 RAM| 512GB M.2 2280 SSD| 4K 60HZ Triple Displays by Dual HDMI+Type-C, 6W TDP Quiet Mini PC, WIFI5, BT 5.0 Office

$239.99
Raspberry Pi 5 8GB

Raspberry Pi 5 8GB

$134.50
KIWITATA 2X Classic SNES USB Controller for PC Gamings, Retro SNES Wired USB Game Emulator Controller for Windows XP 7 8 11 Mac Raspberry Pi

KIWITATA 2X Classic SNES USB Controller for PC Gamings, Retro SNES Wired USB Game Emulator Controller for Windows XP 7 8 11 Mac Raspberry Pi

$16.99
Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community

nuphy Air75 V2 Portable 75% Mechanical Keyboard,Wireless Keyboard

nuphy Air75 V2 Portable 75% Mechanical Keyboard,Wireless Keyboard

$129.95
New Raspberry Pi 3 Model B+ Board Raspberry PI 3B+

New Raspberry Pi 3 Model B+ Board Raspberry PI 3B+

$54.00
Raspberry Pi 5 8GB

Raspberry Pi 5 8GB

$134.50