2019-10-31 19:33:56 -04:00
|
|
|
# ethtool
|
|
|
|
|
|
|
|
> Display and modify Network Interface Controller (NIC) parameters.
|
2024-10-12 10:02:00 +02:00
|
|
|
> More information: <https://manned.org/ethtool>.
|
2019-10-31 19:33:56 -04:00
|
|
|
|
2021-02-24 11:30:45 -05:00
|
|
|
- Display the current settings for an interface:
|
|
|
|
|
|
|
|
`ethtool {{eth0}}`
|
|
|
|
|
|
|
|
- Display the driver information for an interface:
|
|
|
|
|
|
|
|
`ethtool --driver {{eth0}}`
|
|
|
|
|
2022-01-01 05:59:32 +05:30
|
|
|
- Display all supported features for an interface:
|
|
|
|
|
|
|
|
`ethtool --show-features {{eth0}}`
|
|
|
|
|
2021-02-24 11:30:45 -05:00
|
|
|
- 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}}`
|
|
|
|
|
2021-05-20 16:13:41 -04:00
|
|
|
- Set the link speed, duplex mode, and parameter auto-negotiation for a given interface:
|
2019-10-31 19:33:56 -04:00
|
|
|
|
|
|
|
`ethtool -s {{eth0}} speed {{10|100|1000}} duplex {{half|full}} autoneg {{on|off}}`
|