{"id":9001,"date":"2021-08-09T17:25:39","date_gmt":"2021-08-09T17:25:39","guid":{"rendered":"https:\/\/linuxways.net\/?p=9001"},"modified":"2021-08-09T17:25:39","modified_gmt":"2021-08-09T17:25:39","slug":"how-to-check-link-speed-in-ubuntu-20-04","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/ubuntu\/how-to-check-link-speed-in-ubuntu-20-04\/","title":{"rendered":"How to Check Link Speed in Ubuntu 20.04"},"content":{"rendered":"<p>In a simple network, the connection speed speak of the fastest a unit can interact only with a wifi connection. The connection bandwidth is measured in bits per second that varies based on the machine &amp; contact point. Throughout most situations, speedy ethernets will have a bandwidth of 144.4Mbps, 300Mbps, or 100Mbps, while Gigabit ethernets will have rates of 1000Mbps. We won&#8217;t go into detail about how all the different levels of TCP\/IP handle the bandwidth. Rather, we&#8217;ll look at the different methods of commands to verify the speed of a connection on Ubuntu. Let\u2019s have an aspect at each one, one afterward another.<\/p>\n<h2><strong>Update System:<\/strong><\/h2>\n<p>Before going to look at the methods to check the connection link speed, we need to make our system up to date. For this purpose, log in and get to the terminal of the Ubuntu 20.04 system. To make your system open the Terminal use \u201cCtrl+Alt+T\u201d. Now the terminal has been opened, let\u2019s start updating our system and upgrade it via apt package as mentioned in the command. Provide the password and hit \u201cEnter\u201d for the sudo user upon request.<\/p>\n<pre><strong>$ sudo apt update &amp; sudo apt upgrade<\/strong><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"524\" height=\"72\" class=\"wp-image-9002\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/08\/word-image-56.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/08\/word-image-56.png 524w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/08\/word-image-56-300x41.png 300w\" sizes=\"auto, (max-width: 524px) 100vw, 524px\" \/><\/p>\n<p>The system will be updated and upgraded after some minutes. Make sure to hit \u201cy\u201d when it asked to continue the process as presented within the snap underneath.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"618\" height=\"36\" class=\"wp-image-9003\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/08\/word-image-57.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/08\/word-image-57.png 618w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/08\/word-image-57-300x17.png 300w\" sizes=\"auto, (max-width: 618px) 100vw, 618px\" \/><\/p>\n<h2><strong>Install Network Tools:<\/strong><\/h2>\n<p>Before checking network link speed, we need to add some network tools within our Ubuntu system. Therefore, we have to use the apt package to install network tools as stated in the image. Deliver the sudo user secret code to continue installing the tools.<\/p>\n<pre><strong>$ sudo apt-get install ethtool net-tools<\/strong><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"557\" height=\"58\" class=\"wp-image-9004\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/08\/word-image-58.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/08\/word-image-58.png 557w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/08\/word-image-58-300x31.png 300w\" sizes=\"auto, (max-width: 557px) 100vw, 557px\" \/><\/p>\n<p>After a while, the system will complete the installation of network tools as presented below.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"547\" height=\"56\" class=\"wp-image-9005\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/08\/word-image-59.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/08\/word-image-59.png 547w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/08\/word-image-59-300x31.png 300w\" sizes=\"auto, (max-width: 547px) 100vw, 547px\" \/><\/p>\n<h3><strong>Method 01:<\/strong><\/h3>\n<p>The IP instruction is the first way for determining the connection speed of the device. The IP instruction, which is a component of something like the net-tools module, is well-known in Ubuntu. This enables us to modify network crossing points in the Linux distribution, such as trying to bring them down and up, changing IP addresses, netmasks, plus ways, and much more. As a result, it is a very useful tool for network managers. Were using the <strong>ip<\/strong> query followed by the <strong>addr<\/strong> to have the connection rate of the link as beneath. You can see we have two links both having <strong>1000 Megabits per second<\/strong> speed.<\/p>\n<pre><strong>$ ip addr<\/strong><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"713\" height=\"276\" class=\"wp-image-9006\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/08\/word-image-60.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/08\/word-image-60.png 713w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/08\/word-image-60-300x116.png 300w\" sizes=\"auto, (max-width: 713px) 100vw, 713px\" \/><\/p>\n<h3><strong>Method 02:<\/strong><\/h3>\n<p>The second method is as simple as the first one to check the connection speed. As you have seen we have only 1 wired connection in Ubuntu 20.04, which is enp0s3. Hence we will use the Ethernet tool package to check its details most importantly speed. So, run out the beneath query and you can grasp the speed of it in the statistics.<\/p>\n<pre><strong>$ sudo ethtool enp0s3<\/strong><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"605\" height=\"484\" class=\"wp-image-9007\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/08\/word-image-61.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/08\/word-image-61.png 605w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/08\/word-image-61-300x240.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/08\/word-image-61-150x120.png 150w\" sizes=\"auto, (max-width: 605px) 100vw, 605px\" \/><\/p>\n<h3><strong>Method 03:<\/strong><\/h3>\n<p>As you would expect, we&#8217;ll look at the connection speed straight from the kernel throughout this technique. First of all, you need to move towards the path below within the terminal. This path must contain the interface name. The path contains network interface speed statistics.<\/p>\n<pre><strong>\/sys\/classes\/net\/[interface name]<\/strong><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"390\" height=\"19\" class=\"wp-image-9008\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/08\/word-image-62.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/08\/word-image-62.png 390w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/08\/word-image-62-300x15.png 300w\" sizes=\"auto, (max-width: 390px) 100vw, 390px\" \/><\/p>\n<p>All we would have to do now is use a cat to access the document. Hence, we have executed the below command with sudo rights containing interface <strong>enp0s3<\/strong>.<\/p>\n<pre><strong>$ sudo cat \/sys\/classes\/net\/enp0s3\/speed<\/strong><\/pre>\n<p>You have shown with the speed of interface enp0s3 as <strong>1000<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"717\" height=\"39\" class=\"wp-image-9009\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/08\/word-image-63.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/08\/word-image-63.png 717w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/08\/word-image-63-300x16.png 300w\" sizes=\"auto, (max-width: 717px) 100vw, 717px\" \/><\/p>\n<h3><strong>Method 04:<\/strong><\/h3>\n<p>Last but not least and easiest way to see the link speed is from the GUI of the Ubuntu desktop. Tap on the triangle sign at the top right corner of the desktop and expand \u201c<strong>Wired Connected<\/strong>\u201d. Click on \u201c<strong>Wired Settings<\/strong>\u201d.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"454\" height=\"343\" class=\"wp-image-9010\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/08\/word-image-64.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/08\/word-image-64.png 454w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/08\/word-image-64-300x227.png 300w\" sizes=\"auto, (max-width: 454px) 100vw, 454px\" \/><\/p>\n<p>A window named \u201cNetwork\u201d will be opened, showing the Wired Link speed as \u201c<strong>Connected \u2013 1000 Mb\/s<\/strong>\u201d.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"720\" height=\"171\" class=\"wp-image-9011\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/08\/word-image-65.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/08\/word-image-65.png 720w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/08\/word-image-65-300x71.png 300w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/p>\n<h2><strong>Conclusion:<\/strong><\/h2>\n<p>Various ways and tactics for determining the link speed of IP networks in Ubuntu were explored in this article. Thank you for taking the time to read this article.<\/p>","protected":false},"excerpt":{"rendered":"<p>In a simple network, the connection speed speak of the fastest a unit can interact only with a wifi connection. The connection bandwidth is measured in bits per&hellip;<\/p>","protected":false},"author":1,"featured_media":9162,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[410],"class_list":["post-9001","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu","tag-interface-link-speed"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/9001","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=9001"}],"version-history":[{"count":1,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/9001\/revisions"}],"predecessor-version":[{"id":9163,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/9001\/revisions\/9163"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/9162"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=9001"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=9001"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=9001"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}