Trisha Shetty (Editor)

Ethtool

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Original author(s)
  
David S. Miller

Written in
  
C

Type
  
Utility program

Developer(s)
  
Ben Hutchings

Operating system
  
Linux

Initial release
  
1998; 19 years ago (1998)

ethtool is a utility for Linux kernel-based operating system for displaying and modifying some parameters of network interface controllers (NICs) and their device drivers. ethtool is developed parallel to the Linux kernel.

Contents

Usage

The command is useful for

  • Identification and diagnosis of Ethernet devices
  • Extended Ethernet devices statistics
  • Control speed, duplex, auto-negotiation and flow control for Ethernet devices
  • Control checksum offload and other hardware offload features
  • Control DMA ring sizes and interrupt moderation
  • Control receive queue selection for multiqueue devices
  • Upgrade firmware in flash memory
  • Examples

    To display the current parameters of the first network port (eth0):

    To force its speed and duplex, in 1000BASE-T:

    References

    Ethtool Wikipedia