2025-03-14 21:59:59 -06:00
|
|
|
# ethtool
|
|
|
|
|
|
|
|
|
|
> Display and modify Network Interface Controller (NIC) parameters.
|
|
|
|
|
> More information: <https://manned.org/ethtool>.
|
|
|
|
|
|
|
|
|
|
- Display the current settings for an interface:
|
|
|
|
|
|
|
|
|
|
`ethtool {{eth0}}`
|
|
|
|
|
|
|
|
|
|
- Display the driver information for an interface:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`ethtool {{[-i|--driver]}} {{eth0}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Display all supported features for an interface:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`ethtool {{[-k|--show-features]}} {{eth0}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Display the network usage statistics for an interface:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`ethtool {{[-S|--statistics]}} {{eth0}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Blink one or more LEDs on an interface for 10 seconds:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`ethtool {{[-p|--identify]}} {{eth0}} {{10}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Set the link speed, duplex mode, and parameter auto-negotiation for a given interface:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`ethtool {{[-s|--change]}} {{eth0}} speed {{10|100|1000}} duplex {{half|full}} autoneg {{on|off}}`
|