我目前有一个 NAS(基于 debian 的 openmediavault),带有 Realtek 千兆 NIC(ASRock Q1900-ITX 板载 LAN),但它不会宣传它具有千兆功能。ethtool eth0
给出以下输出:
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Link partner advertised pause frame use: Symmetric Receive-only
Link partner advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000033 (51)
drv probe ifdown ifup
Link detected: yes
驱动程序和主板支持 1000Mbit 全双工(如硬件规格中所述)。连接的交换机确实宣传该模式,但 NIC 却没有。
尝试使用 更改通告模式ethtool -s eth0 advertise 0x020
或至少强制 NIC 进入千兆模式无济于事。该命令返回时没有任何错误消息,NIC 会关闭。使用 将其恢复后ifup eth0
,速度和通告模式仍设置为更改前的状态。电缆是 cat6,更换电缆并不能解决问题。
我怎样才能让该网络接口宣称拥有千兆速度?