• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

ethtool: command not found

by admin

Ethtool is a small utility for examining and tuning the settings of Ethernet-based network interfaces. With ethtool, it is possible to control various parameters, such as:

  • Speed
  • Media type
  • Duplex operation
  • Getting/setting EEPROM register content
  • Hardware check summing
  • Wake-on-LAN

Syntax

The syntax of the ethtool command is:

# ethtool [options] {device name}

ethtool Command Options

The following table describes some common ethtool command options.

Option Used To
-S {interface} Show statistics for a NIC.
-i {interface} Show driver information for a NIC.
-t {interface} Execute a self-test on the NIC.
-s {interface} {setting} {value} Change some of a NIC’s settings, such as its speed and duplex mode.
-f {interface} {image} Write (“flash”) a firmware image to the NIC.

ethtool Command Examples

1. Display the current settings for an interface:

# ethtool eth0

2. Display the driver information for an interface:

# ethtool --driver eth0

3. Display all supported features for an interface:

# ethtool --show-features eth0

4. Display the network usage statistics for an interface:

# ethtool --statistics eth0

5. Blink one or more LEDs on an interface for 10 seconds:

# ethtool --identify eth0 10

6. Set the link speed, duplex mode, and parameter auto-negotiation for a given interface:

# ethtool -s eth0 speed 10|100|1000 duplex half|full autoneg on|off

7. Display the Ethernet interface driver settings using ethtool command as shown here:

# ethtool -i enp0s3

8. Modifying the Ethernet interface settings using ethtool command as shown:

# ethtool --change enp0s3 speed 10 duplex half autoneg off

Filed Under: Linux

Some more articles you might also be interested in …

  1. manpath Command Examples in Linux
  2. gh browse: Open a GitHub repository in the browser or print the URL
  3. Difference between the Java heap and native C heap
  4. i3exit Command Examples in Linux
  5. emacsclient: Open files in an existing Emacs server
  6. gdrive: Command-line tool to interact with Google Drive
  7. mc Command Examples
  8. mkpasswd Command Examples in Linux
  9. qtchooser Command Examples in Linux
  10. dstat Command Examples in Linux

You May Also Like

Primary Sidebar

Recent Posts

  • Vanilla OS 2 Released: A New Era for Linux Enthusiasts
  • mk Command Examples
  • mixxx Command Examples
  • mix Command Examples

© 2025 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright