Ubuntu / Debian Linux Install ethtool To Display / Set Ethernet Device Settings

Ubuntu / Debian Linux Install ethtool To Display / Set Ethernet Device Settings

To install the ethtool utility on an Ubuntu or Debian Linux system, use the apt-get package manager. First, update the package manager's list of available packages:

ref‮‬er to:lautturi.com
sudo apt-get update

Then, install the ethtool package:

sudo apt-get install ethtool

The ethtool utility allows you to view and modify various settings for Ethernet devices on your system. To view the settings for a specific Ethernet device, use the ethtool command followed by the name of the device:

ethtool eth0

This will display a list of settings for the eth0 device, including the device's speed, duplex mode, and supported features.

To set a specific setting for an Ethernet device, use the ethtool command followed by the -s option and the name of the setting you want to change. For example, to set the speed of the eth0 device to 100 Mbps:

ethtool -s eth0 speed 100

You can use the ethtool command with various options to view and modify different settings for Ethernet devices on your system. For a full list of options, use the ethtool command followed by the --help option.

Created Time:2017-10-30 14:27:28  Author:lautturi