1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/ethtool.md

29 lines
781 B
Markdown
Raw Normal View History

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 {{[-i|--driver]}} {{eth0}}`
2021-02-24 11:30:45 -05:00
- Display all supported features for an interface:
`ethtool {{[-k|--show-features]}} {{eth0}}`
2021-02-24 11:30:45 -05:00
- Display the network usage statistics for an interface:
`ethtool {{[-S|--statistics]}} {{eth0}}`
2021-02-24 11:30:45 -05:00
- Blink one or more LEDs on an interface for 10 seconds:
`ethtool {{[-p|--identify]}} {{eth0}} {{10}}`
2021-02-24 11:30:45 -05: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|--change]}} {{eth0}} speed {{10|100|1000}} duplex {{half|full}} autoneg {{on|off}}`