三周前我重新安装了 Kubuntu 18.04 系统。最近几天我安装了更新,然后网速明显下降。无法测量 250/20 Mbit,而只能测量 20/15 Mbit。 对于USB Live系统则不会出现此现象。
在实时系统上,4.15.0-20-generic 内核在当前安装的 4.15.0-36-generic 内核运行时运行,尝试使用 GRUB 中的旧内核进行启动,但情况没有改变
uname -a:(实时)Linux kubuntu 4.15.0-20-generic #21-Ubuntu SMP 2018 年 4 月 24 日星期二 06:16:15 UTC x86_64 x86_64 x86_64 GNU/Linux
uname -a:(已安装)Linux adam-desktop 4.15.0-36-generic #39-Ubuntu SMP 2018 年 9 月 24 日星期一 16:19:09 UTC x86_64 x86_64 x86_64 GNU/Linux
配置:
Motherboard: Asrock 960GM-GS3 FX
CPU: AMD Athlon II X2 250 3.00GHz AM3
NIC: TP-Link TG-3269 (Realtek RTL-8169SC chip)
答案1
我的两台设备都安装了 Kubuntu 18.04,但出现了同样的问题。我的情况是,速度从 100/100 Mbit 降到了 10/100 Mbit。执行命令ethtool -s <my_interface> autoneg on speed 100 duplex full
可解决此问题。之前,自动协商处于关闭状态,双工为一半,更改 NetworkManager 设置对 ethtool 输出和速度没有影响。之前:
Settings for enx00e04c3605cc:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: Not reported
Advertised pause frame use: No
Advertised auto-negotiation: No
Advertised FEC modes: Not reported
Speed: 100Mb/s
Duplex: Half
Port: MII
PHYAD: 32
Transceiver: internal
Auto-negotiation: off
Cannot get wake-on-lan settings: Operation not permitted
Current message level: 0x00007fff (32767)
drv probe link timer ifdown ifup rx_err tx_err tx_queued intr tx_done rx_status pktdata hw wol
Link detected: yes
后:
Settings for enx00e04c3605cc:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/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
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Link partner advertised pause frame use: Symmetric
Link partner advertised auto-negotiation: Yes
Link partner advertised FEC modes: Not reported
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 32
Transceiver: internal
Auto-negotiation: on
Cannot get wake-on-lan settings: Operation not permitted Current message level: 0x00007fff (32767)
drv probe link timer ifdown ifup rx_err tx_err tx_queued intr tx_done rx_status pktdata hw wol Link detected: yes