ethtool(mii-tool)

  1. List Ethernet Device Properties:
    ethtool eth0
  2. Change NIC Parameter
    ifdown eth0
    ethtool -s eth0 autoneg off
    ethtool -s eth0 speed 100 autoneg off
    ethtool eth0
    ifup eth0
  3. Display Ethernet Driver Settings
    ethtool -i eth0
  4. Display Auto-negotiation RX and TX(pause options)
    ethtool -a eth0
  5. Display Network Statistics
    ethtool -S eth0
  6. Identify Specific Device From Multiple Devices (Blink LED Port of NIC Card)
    ethtool -p eth0
  7. Make Changes Permanent After Reboot
    vim /etc/network/interfaces
    post-up ethtool -s eth2 speed 1000 duplex full autoneg off


Posted in: net