有可能找到有关Linux卡的详细信息吗?
例如,我们尝试过:
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这些细节并没有提到网卡和性能等。
对于那些能给出有关网卡的细节的工具有什么建议吗?
发布于 2020-05-11 19:01:50
您可以使用ethtool提供更多关于您的卡的信息,还可以控制网络驱动程序和硬件设置。
例如:
# 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: yeshttps://unix.stackexchange.com/questions/585979
复制相似问题