mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-03 18:15:23 +02:00

* batch1 * batch2 * batch3 * batch4 * Update matchpathcon.md * Update pages/linux/arecord.md Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> * Update pages/linux/arecord.md Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> * Update pages/linux/arecord.md Co-authored-by: Wiktor Perskawiec <git@spageektti.cc> --------- Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
28 lines
781 B
Markdown
28 lines
781 B
Markdown
# 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:
|
|
|
|
`ethtool {{[-i|--driver]}} {{eth0}}`
|
|
|
|
- Display all supported features for an interface:
|
|
|
|
`ethtool {{[-k|--show-features]}} {{eth0}}`
|
|
|
|
- Display the network usage statistics for an interface:
|
|
|
|
`ethtool {{[-S|--statistics]}} {{eth0}}`
|
|
|
|
- Blink one or more LEDs on an interface for 10 seconds:
|
|
|
|
`ethtool {{[-p|--identify]}} {{eth0}} {{10}}`
|
|
|
|
- Set the link speed, duplex mode, and parameter auto-negotiation for a given interface:
|
|
|
|
`ethtool {{[-s|--change]}} {{eth0}} speed {{10|100|1000}} duplex {{half|full}} autoneg {{on|off}}`
|