Differences
This shows you the differences between two versions of the page.
linux_wiki:ethtool [2016/03/18 23:21] billdozor [Ethtool] |
linux_wiki:ethtool [2019/05/25 23:50] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Ethtool ====== | ||
- | |||
- | **General Information** | ||
- | |||
- | Display and set ethernet interface settings. | ||
- | |||
- | **Checklist** | ||
- | * Distro(s): Enterprise Linux | ||
- | |||
- | ---- | ||
- | |||
- | ====== Display Settings ====== | ||
- | |||
- | To display the settings of a network interface: | ||
- | <code bash> | ||
- | ethtool eth0 | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ====== Set Speed/ | ||
- | |||
- | Set eth0 to 100 Mbps and full duplex | ||
- | <code bash> | ||
- | ethtool -s eth0 speed 100 duplex full autoneg off | ||
- | </ | ||
- | |||
- | ===== Permanent Settings ===== | ||
- | |||
- | To make speed settings permanent, edit the network script at / | ||
- | |||
- | For 100 Mbps | ||
- | <code bash> | ||
- | ETHTOOL_OPTS=" | ||
- | </ | ||
- | \\ | ||
- | |||
- | For 1000 Mbps (1 Gbps) | ||
- | <code bash> | ||
- | ETHTOOL_OPTS=" | ||
- | </ | ||
- | * **Note:** Gigabit requires autoneg to be on, even thought you are manually specifying speed and duplex. | ||
- | |||
- | ---- | ||