Using ethtool to modify your NIC

Using ethtool to modify your NIC

List properties:

# ethtool eth0

Turn off auto negotiation:

# ifdown eth0
# ethtool -s eth0 autoneg off
# ifup eth0

Change the speed:

# ethtool -s eth0 speed 100 autoneg off
# ifup eth0

Display driver settings:

# ethtool -i eth0

Display auto-negotiation, RX and TX:

# ethtool -a eth0

Display statistics:

# ethtool -S eth0

Blink LED Port of NIC Card:

# ethtool -p eth0

Make changes permanent after reboot:

# echo "post-up ethtool -s eth2 speed 1000 duplex full autoneg off" >> /etc/network/interfaces

Leave a Reply

Your email address will not be published. Required fields are marked *