{"id":726,"date":"2008-02-28T08:51:19","date_gmt":"2008-02-28T13:51:19","guid":{"rendered":"http:\/\/www.bytebot.net\/blog\/archives\/2008\/02\/28\/how-do-you-check-the-speed-of-your-ethernet-card"},"modified":"2008-02-28T08:52:06","modified_gmt":"2008-02-28T13:52:06","slug":"how-do-you-check-the-speed-of-your-ethernet-card","status":"publish","type":"post","link":"http:\/\/www.bytebot.net\/blog\/archives\/2008\/02\/28\/how-do-you-check-the-speed-of-your-ethernet-card","title":{"rendered":"How do you check the speed of your Ethernet card?"},"content":{"rendered":"<p>It has been a very long time since I looked at the <a href=\"http:\/\/lpi.org\/en\/lpi\/english\">LPI<\/a> (training, courseware, materials, exams), and I don&#8217;t remember if this is even covered in LPI 101\/102 (and I have no idea about Level 2 or 3, I&#8217;m only Level 1 compliant, and even then, back in the Red Hat 7.2 study days :P). Either way, I hope this note is useful. So, <strong>how do you check (or change) the speed of your Ethernet card?<\/strong><\/p>\n<p>Quite simply, with the help of <tt>ethtool<\/tt>. Some might be saying, why not <tt>mii-tool<\/tt> &#8211; well, its because mii-tool is now obsolete, though you pretty much have it on all your Linux distributions. Why? Because it comes as part of <a href=\"http:\/\/www.tazenda.demon.co.uk\/phil\/net-tools\/\">net-tools<\/a>, which also provides other useful tools like <tt>netstat<\/tt>, <tt>route<\/tt>, <tt>ifconfig<\/tt>, <tt>arp<\/tt> and many more. If you don&#8217;t have <tt>ethtool<\/tt> installed, its available in a package, aptly titled, <tt>ethtool<\/tt>.<\/p>\n<p>Usage is simple: <tt>ethtool eth0<\/tt>. Replacing <tt>eth0<\/tt> with whatever your interface is, is fine. You should now be able to see the speed of your link, and if you were for instance changing it, you might do <tt>ethtool -s eth0 speed 10 duplex half<\/tt> or something similar (read the man page, its really helpful).<\/p>\n<p>Me? I just wanted to see if I connected myself to a 100mbps switch or a 10mbps switch and was too lazy to look at the wiring closet ;)<\/p>\n<p>Technorati Tags: <a href=\"http:\/\/technorati.com\/tag\/lpi\" class=\"performancingtags\" rel=\"tag\">lpi<\/a>, <a href=\"http:\/\/technorati.com\/tag\/net-tools\" class=\"performancingtags\" rel=\"tag\">net-tools<\/a>, <a href=\"http:\/\/technorati.com\/tag\/mii-tool\" class=\"performancingtags\" rel=\"tag\">mii-tool<\/a>, <a href=\"http:\/\/technorati.com\/tag\/ethtool\" class=\"performancingtags\" rel=\"tag\">ethtool<\/a>, <a href=\"http:\/\/technorati.com\/tag\/ethernet\" class=\"performancingtags\" rel=\"tag\">ethernet<\/a>, <a href=\"http:\/\/technorati.com\/tag\/speed\" class=\"performancingtags\" rel=\"tag\">speed<\/a><\/p>\n<div class=\"sharedaddy sd-sharing-enabled\"><div class=\"robots-nocontent sd-block sd-social sd-social-icon-text sd-sharing\"><h3 class=\"sd-title\">Share this:<\/h3><div class=\"sd-content\"><ul><li class=\"share-email\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-email sd-button share-icon\" href=\"mailto:?subject=%5BShared%20Post%5D%20How%20do%20you%20check%20the%20speed%20of%20your%20Ethernet%20card%3F&body=http%3A%2F%2Fwww.bytebot.net%2Fblog%2Farchives%2F2008%2F02%2F28%2Fhow-do-you-check-the-speed-of-your-ethernet-card&share=email\" target=\"_blank\" title=\"Click to email a link to a friend\" data-email-share-error-title=\"Do you have email set up?\" data-email-share-error-text=\"If you&#039;re having problems sharing via email, you might not have email set up for your browser. You may need to create a new email yourself.\" data-email-share-nonce=\"44031bab4c\" data-email-share-track-url=\"http:\/\/www.bytebot.net\/blog\/archives\/2008\/02\/28\/how-do-you-check-the-speed-of-your-ethernet-card?share=email\"><span>Email<\/span><\/a><\/li><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-726\" class=\"share-facebook sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2008\/02\/28\/how-do-you-check-the-speed-of-your-ethernet-card?share=facebook\" target=\"_blank\" title=\"Click to share on Facebook\" ><span>Facebook<\/span><\/a><\/li><li class=\"share-linkedin\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-linkedin-726\" class=\"share-linkedin sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2008\/02\/28\/how-do-you-check-the-speed-of-your-ethernet-card?share=linkedin\" target=\"_blank\" title=\"Click to share on LinkedIn\" ><span>LinkedIn<\/span><\/a><\/li><li class=\"share-twitter\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-twitter-726\" class=\"share-twitter sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2008\/02\/28\/how-do-you-check-the-speed-of-your-ethernet-card?share=twitter\" target=\"_blank\" title=\"Click to share on Twitter\" ><span>Twitter<\/span><\/a><\/li><li class=\"share-end\"><\/li><\/ul><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>It has been a very long time since I looked at the LPI (training, courseware, materials, exams), and I don&#8217;t remember if this is even covered in LPI 101\/102 (and I have no idea about Level 2 or 3, I&#8217;m only Level 1 compliant, and even then, back in the Red Hat 7.2 study days [&hellip;]<\/p>\n<div class=\"sharedaddy sd-sharing-enabled\"><div class=\"robots-nocontent sd-block sd-social sd-social-icon-text sd-sharing\"><h3 class=\"sd-title\">Share this:<\/h3><div class=\"sd-content\"><ul><li class=\"share-email\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-email sd-button share-icon\" href=\"mailto:?subject=%5BShared%20Post%5D%20How%20do%20you%20check%20the%20speed%20of%20your%20Ethernet%20card%3F&body=http%3A%2F%2Fwww.bytebot.net%2Fblog%2Farchives%2F2008%2F02%2F28%2Fhow-do-you-check-the-speed-of-your-ethernet-card&share=email\" target=\"_blank\" title=\"Click to email a link to a friend\" data-email-share-error-title=\"Do you have email set up?\" data-email-share-error-text=\"If you&#039;re having problems sharing via email, you might not have email set up for your browser. You may need to create a new email yourself.\" data-email-share-nonce=\"44031bab4c\" data-email-share-track-url=\"http:\/\/www.bytebot.net\/blog\/archives\/2008\/02\/28\/how-do-you-check-the-speed-of-your-ethernet-card?share=email\"><span>Email<\/span><\/a><\/li><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-726\" class=\"share-facebook sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2008\/02\/28\/how-do-you-check-the-speed-of-your-ethernet-card?share=facebook\" target=\"_blank\" title=\"Click to share on Facebook\" ><span>Facebook<\/span><\/a><\/li><li class=\"share-linkedin\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-linkedin-726\" class=\"share-linkedin sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2008\/02\/28\/how-do-you-check-the-speed-of-your-ethernet-card?share=linkedin\" target=\"_blank\" title=\"Click to share on LinkedIn\" ><span>LinkedIn<\/span><\/a><\/li><li class=\"share-twitter\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-twitter-726\" class=\"share-twitter sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2008\/02\/28\/how-do-you-check-the-speed-of-your-ethernet-card?share=twitter\" target=\"_blank\" title=\"Click to share on Twitter\" ><span>Twitter<\/span><\/a><\/li><li class=\"share-end\"><\/li><\/ul><\/div><\/div><\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_options":[]},"categories":[1],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4vJD-bI","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":441,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2006\/11\/14\/linux-performance-server-security-related-book-reviews","url_meta":{"origin":726,"position":0},"title":"Linux (performance, server, security) related book reviews","date":"14\/11\/2006","format":false,"excerpt":"I took a vacation recently, which involved heading down to Hobart, for some rest & relaxation. And lots of food (read: oysters, seafood, yum!). I packed my suitcase with some books for some late night reading, and am pleased to provide some form of review. Linux Server Hacks by Rob\u2026","rel":"","context":"In &quot;General&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":449,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2006\/11\/22\/are-you-an-under-paid-it-worker","url_meta":{"origin":726,"position":1},"title":"Are you an under-paid IT worker?","date":"22\/11\/2006","format":false,"excerpt":"BuilderAU released a recent article titled Developer skills outlook 2007: What's hot for employers. There are a few things to take away from the article, that seem to apply not only to Australia, but elsewhere. \"The biggest issue that we see generally speaking is that the overall skill level of\u2026","rel":"","context":"In &quot;General&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":30,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2004\/02\/06\/of-kernels-and-more-ydl","url_meta":{"origin":726,"position":2},"title":"Of kernels, and more YDL","date":"6\/2\/2004","format":false,"excerpt":"Compiled 2.6.2-ben1-hermione today. Everything worked on first try (I installed module-init-tools, and added agpgart, uninorth_agp, and radeon to my \/etc\/modules - the order is important), except wireless. Load sungem before airport, and all is well - wireless was eth0 otherwise. Hard disk blinking light on activity patch from benh doesn't\u2026","rel":"","context":"In &quot;General&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":468,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2007\/02\/11\/fedora-core-6-on-the-dell-inspiron-640m","url_meta":{"origin":726,"position":3},"title":"Fedora Core 6 on the Dell Inspiron 640m","date":"11\/2\/2007","format":false,"excerpt":"Downloaded the 64-bit version of FC-6, something I've never done before. Booted, skipped the CD test, and got caught out with: mini-wm: Fatal IO error 104 (Connection reset by peer) on X server :1.0.Rebooted, to try the graphical installation again, since this is an Intel graphics card, there shouldn't really\u2026","rel":"","context":"In &quot;General&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":175,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2004\/06\/29\/dhcp-works","url_meta":{"origin":726,"position":4},"title":"DHCP works!","date":"29\/6\/2004","format":false,"excerpt":"Good news for the day - I got tired of dhclient, and ifup not working for me on FC2 PPC, so I went out there and decided to fix it. dhclient requires an entry in \/etc\/sysconfig\/network-scripts\/ifcfg-interface where interface can be eth0\/eth1 or so on. Added one for the airport, and\u2026","rel":"","context":"In &quot;General&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":744,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2008\/03\/13\/consumer-hardware-shipping-too-many-linuxes-by-default","url_meta":{"origin":726,"position":5},"title":"Consumer hardware shipping too many Linuxes by default","date":"13\/3\/2008","format":false,"excerpt":"At the top of my head now, Linux is hitting the mainstream desktop market, in many variants: Xandros, on the ever popular Asus EeePC's Foresight Linux, on the new Shuttle KPC's (USD$199), which are basically small form-factor desktops Fedora, a modified variant anyway, running on the OLPC's gOS, a variant\u2026","rel":"","context":"In &quot;General&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"amp_enabled":true,"_links":{"self":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/726"}],"collection":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/comments?post=726"}],"version-history":[{"count":0,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/726\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/media?parent=726"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/categories?post=726"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/tags?post=726"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}