Use Mii-tool and Ethtool under Linux to see if the network cable is properly connected to the network card

Source: Internet
Author: User

Enter Mii-tool to see if the network cable is connected to the network card
#mii-tool

    1. eth0:negotiated 100basetx-fd, link ok

Sometimes the driver may not support an error with the following errors
#mii-tool

    1. Siocgmiiphy on ' eth0 ' failed:operation not supported
    2. No MII interfaces found

You can use Ethtool to view
#ethtool eth0

  1. Settings for eth0:
  2. Supported ports: [TP]
  3. Supported Link Modes:10baset/half 10baset/full
  4. 100baset/half 100baset/full
  5. 1000baset/full
  6. Supports Auto-negotiation:yes
  7. Advertised Link Modes:10baset/half 10baset/full
  8. 100baset/half 100baset/full
  9. 1000baset/full
  10. Advertised Auto-negotiation:yes
  11. speed:100mb/s
  12. Duplex:full
  13. Port:twisted Pair
  14. phyad:0
  15. Transceiver:internal
  16. Auto-negotiation:on
  17. Supports WAKE-ON:PUMBG
  18. Wake-on:g
  19. Current message level:0x00000033 (51)
  20. Link Detected:yes

Link Detected:yes to normal no for failure

Transferred from: http://blog.sina.com.cn/s/blog_406127500101iffg.html

Use Mii-tool and Ethtool under Linux to see if the network cable is properly connected to the network card

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.