我在Ubuntu16.04上添加了一个网卡(OneConnect 10 on )并运行ethtool命令,但是输出显示了speed and duplex unknown!.
知道怎么解决这个问题吗?
xxx:~# ethtool enp12s0f0
Settings for enp12s0f0:
Supported ports: [ FIBRE ]
Supported link modes: 1000baseT/Full
10000baseT/Full
Supported pause frame use: Symmetric
Supports auto-negotiation: No
Advertised link modes: Not reported
Advertised pause frame use: No
Advertised auto-negotiation: No
**Speed: Unknown!
Duplex: Unknown! (255)**
Port: FIBRE
PHYAD: 1
Transceiver: external
Auto-negotiation: off
Supports Wake-on: d
Wake-on: d
Current message level: 0x00002000 (8192)
hw
Link detected: nodriver: be2net
version: 10.6.0.3
firmware-version: 4.0.360.3
expansion-rom-version:
bus-info: 0000:0c:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: no
supports-priv-flags: no*-network:0
description: Ethernet interface
product: OneConnect 10Gb NIC
vendor: Emulex Corporation
physical id: 0
bus info: pci@0000:0c:00.0
logical name: enp12s0f0
version: 02
serial: 00:00:c9:c2:99:94
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msix pciexpress bus_master cap_list rom ethernet physical fibre 1000bt-fd
configuration: autonegotiation=off broadcast=yes driver=be2net driverversion=10.6.0.3 firmware=4.0.360.3 latency=0 link=no multicast=yes port=fibre
resources: irq:16 memory:fc57c000-fc57ffff memory:fc540000-fc55ffff memory:fc520000-fc53ffff memory:fc300000-fc37ffff上使用
03:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet (rev 12)
07:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet (rev 12)
0c:00.0 Ethernet controller: Emulex Corporation OneConnect 10Gb NIC (rev 02)
0c:00.1 Ethernet controller: Emulex Corporation OneConnect 10Gb NIC (rev 02)谢谢..。
发布于 2022-02-09 23:40:14
您的接口是光纤,只有一个支持的速度1000baseT/Full,Auto-negotiation: off,没有媒体连接或检测到:Link detected: no,但是您提到网卡是10 or。如果设置如您所写,则无法将卡连接到对面的10 10Gbps节点。
如果您希望使用1 1Gbps,请检查光纤电缆、媒体类型(多模/单模)和两端的波长(SM: 850 / 1300 / 1310 nm或MM: 1550 nm)。
https://askubuntu.com/questions/814410
复制相似问题