Linux – Determine / Find Ethernet Connection Speed

How do I determine my Ethernet connection speed under Debian Linux 4.0/5.0/6.0/7.0/8.0 server?

You need to use the ethtool command to display or change Ethernet card settings. It is used for querying settings of an ethernet device such as
=> Link speed
=> Auto negotiation
=> Coalescing settings
=> Change the rx/tx ring parameters
=> Setup new speed and much more

Most intelligent network devices use an autonegotiation protocol to communicate what media technologies they support, and then select the fastest mutually supported media technology.

How do I determine ethernet connection speed?

Type the following command to get speed for eth0:
$ ethtool eth0 | less
$ ethtool eth0 | grep -i speed
Sample outputs:

Fig.01: Ubuntu Linux verify the speed of my NIC (network card)

You can also use the following two commands:
$ dmesg | grep eth0 | grep up
$ dmesg | grep bond0 | grep up

OR use the command line utility called mii-tool to checks or sets the status of a network interface’s Media Independent Interface (MII) unit:
$ mii-tool -v eth0

Posted by: SXI ADMIN

The author is the creator of SXI LLC and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

Leave a Reply

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

Previous Post

How to Make Website WCAG Compliant?

Next Post

Link download Kali Linux 2020.1 (ISO + Torrent)

Related Posts