Linux View network card number and speed

Source: Internet
Author: User

 # lspci | grep Ethernet
03:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet (rev 12)
   
# DMESG |grep Span style= "color: #990000;" >eth0
divert:allocating divert_blk for eth0
Eth0: Span style= "font-weight:bold; Color: #000099; " >realtek RTL8139 at 0xd800, 00:80:48:34:c2:84, irq 9 /span>
eth0:identified 8139 chip type ' rtl-8100b/8139d '
divert:freeing Divert_blk for eth0
divert:allocating divert_blk for eth0
Eth0:realtek RTL8139 at 0xd800, 00:90:44:34:a5:33, IRQ 9
eth0:identified 8139 chip type ' rtl-8100b/8139d '
eth0: link Up, 100mbps, Full-duplex, LPA 0x41e1
Eth0:no IPv6 routers present
...

mii-tool -v eth0
negotiated 100baseTx-FD, link ok
product info: vendor 00:00:00, model 0 rev 0
basic mode: autonegotiation enabled
basic status: autonegotiation complete, link ok
capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD
10baseT-HD
...

ethtool eth0

Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 32
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbg
Wake-on: p
Current message level: 0x00000007 (7)
Link detected: yes

Linux View network card number and speed

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.