
{"id":16520,"date":"2016-09-06T17:06:15","date_gmt":"2016-09-06T17:06:15","guid":{"rendered":"http:\/\/www.beautifulwork.org\/?p=16520"},"modified":"2016-09-06T17:06:15","modified_gmt":"2016-09-06T17:06:15","slug":"finding-the-current-state-of-a-network-cable","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2016\/09\/06\/finding-the-current-state-of-a-network-cable\/","title":{"rendered":"finding the current state of a network cable"},"content":{"rendered":"<pre>\n$sudo cat \/sys\/class\/net\/eth0\/speed \n100\n$sudo cat \/sys\/class\/net\/eth0\/ca\ncarrier          carrier_changes  \n$sudo cat \/sys\/class\/net\/eth0\/carrier\n1\n$sudo cat \/sys\/class\/net\/eth0\/carrier_changes \n2\n$sudo cat \/sys\/class\/net\/eth0\/operstate \nup\n$sudo ethtool eth0\nSettings for eth0:\n\tSupported ports: [ TP MII ]\n\tSupported link modes:   10baseT\/Half 10baseT\/Full \n\t                        100baseT\/Half 100baseT\/Full \n\t                        1000baseT\/Half 1000baseT\/Full \n\tSupported pause frame use: No\n\tSupports auto-negotiation: Yes\n\tAdvertised link modes:  10baseT\/Half 10baseT\/Full \n\t                        100baseT\/Half 100baseT\/Full \n\t                        1000baseT\/Half 1000baseT\/Full \n\tAdvertised pause frame use: Symmetric Receive-only\n\tAdvertised auto-negotiation: Yes\n\tLink partner advertised link modes:  10baseT\/Half 10baseT\/Full \n\t                                     100baseT\/Half 100baseT\/Full \n\tLink partner advertised pause frame use: Symmetric Receive-only\n\tLink partner advertised auto-negotiation: Yes\n\tSpeed: 100Mb\/s\n\tDuplex: Full\n\tPort: MII\n\tPHYAD: 0\n\tTransceiver: internal\n\tAuto-negotiation: on\n\tSupports Wake-on: pumbg\n\tWake-on: g\n\tCurrent message level: 0x00000033 (51)\n\t\t\t       drv probe ifdown ifup\n\tLink detected: yes\n$\n\nhttp:\/\/www.ostechnix.com\/how-to-find-out-the-connected-\nstate-of-a-network-cable-in-linux\/\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>$sudo cat \/sys\/class\/net\/eth0\/speed 100 $sudo cat \/sys\/class\/net\/eth0\/ca carrier carrier_changes $sudo cat \/sys\/class\/net\/eth0\/carrier 1 $sudo cat \/sys\/class\/net\/eth0\/carrier_changes 2 $sudo cat \/sys\/class\/net\/eth0\/operstate up $sudo ethtool eth0 Settings for eth0: Supported ports: [ TP MII ] Supported link modes: 10baseT\/Half 10baseT\/Full 100baseT\/Half 100baseT\/Full 1000baseT\/Half 1000baseT\/Full Supported pause frame use: No Supports auto-negotiation: Yes Advertised link modes: 10baseT\/Half 10baseT\/Full &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2016\/09\/06\/finding-the-current-state-of-a-network-cable\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;finding the current state of a network cable&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[19],"tags":[732],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/16520"}],"collection":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/comments?post=16520"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/16520\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=16520"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=16520"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=16520"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}