首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何在RHEL机器上查找网卡详细信息

问如何在RHEL机器上查找网卡详细信息
EN

Unix & Linux用户
提问于 2020-05-11 18:48:02
回答 1查看 9.9K关注 0票数 3

有可能找到有关Linux卡的详细信息吗?

例如,我们尝试过:

代码语言:javascript
复制
dmidecode | grep -i network
                Function key-initiated network boot is supported
        Port Type: Network Port
        Port Type: Network Port
        Port Type: Network Port
        Port Type: Network Port
# dmidecode | grep -i eth
        Type: Ethernet
        Type: Ethernet
        Type: Ethernet
        Type: Ethernet

这些细节并没有提到网卡和性能等。

对于那些能给出有关网卡的细节的工具有什么建议吗?

EN

回答 1

Unix & Linux用户

发布于 2020-05-11 19:01:50

您可以使用ethtool提供更多关于您的卡的信息,还可以控制网络驱动程序和硬件设置。

例如:

代码语言:javascript
复制
# ethtool enp0s31f6 

Settings for enp0s31f6:
    Supported ports: [ TP ]
    Supported link modes:   10baseT/Half 10baseT/Full 
                            100baseT/Half 100baseT/Full 
                            1000baseT/Full 
    Supported pause frame use: No
    Supports auto-negotiation: Yes
    Supported FEC modes: Not reported
    Advertised link modes:  10baseT/Half 10baseT/Full 
                            100baseT/Half 100baseT/Full 
                            1000baseT/Full 
    Advertised pause frame use: No
    Advertised auto-negotiation: Yes
    Advertised FEC modes: Not reported
    Speed: 1000Mb/s
    Duplex: Full
    Port: Twisted Pair
    PHYAD: 1
    Transceiver: internal
    Auto-negotiation: on
    MDI-X: on (auto)
Cannot get wake-on-lan settings: Operation not permitted
    Current message level: 0x0000ffff (65535)
                   drv probe link timer ifdown ifup rx_err tx_err tx_queued intr tx_done rx_status pktdata hw wol 0x8000
    Link detected: yes
票数 1
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/585979

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档