问题描述
我在通过 DELL WD15 扩展坞连接到网络的 DELL XPS 13 9360 上使用 Kubuntu 20.04 LTS。几分钟不活动后,以太网接口停止工作,没有任何互联网连接或 LAN 工作。尝试断开连接并重新连接不起作用,因为一旦停止,它就无法获取 DHCP 地址。有时它甚至表现得就像网络电缆断开连接一样。我唯一能做的就是重新启动。我更换了网线 (CAT 5)、RJ45 插头,但没有其他任何效果。
这是拓扑:
路由器 -> CAT 5 电缆 -> 交换机 -> CAT 5 电缆 -> RJ45 插头 -> DELL WD 15 扩展坞 -> USB-C -> 计算机。
尝试了以下拓扑:
路由器 -> CAT 5 电缆 -> RJ45 插头 -> DELL WD 15 扩展坞 -> USB-C -> 计算机 不会改变任何东西。
以下是一些信息:
*-network:2
description: Ethernet interface
physical id: 4
bus info: usb@4:1.2
logical name: enxa44cc8b16f57
serial: a4:4c:c8:b1:6f:57
size: 1Gbit/s
capacity: 1Gbit/s
capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8152 driverversion=v1.10.11 duplex=full ip=192.168.1.15 link=yes multicast=yes port=MII speed=1Gbit/s
Settings for enxa44cc8b16f57:
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
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/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
1000baseT/Full
Link partner advertised pause frame use: Symmetric
Link partner advertised auto-negotiation: Yes
Link partner advertised FEC modes: Not reported
Speed: 1000Mb/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
更奇怪的是,我还有一个 DELL XPS 15 9570 盒子,在同一网络上运行相同的 Kubuntu 版本(20.04.1 LTS),使用相同的 DELL WD 15 扩展坞,具有完全相同的拓扑结构,不显示问题。
以下是 DELL XPS 15 的相同信息:
*-network:0
description: Ethernet interface
physical id: 2
bus info: usb@4:1.2
logical name: enxe4b97acb30ee
serial: e4:b9:7a:cb:30:ee
size: 100Mbit/s
capacity: 1Gbit/s
capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8152 driverversion=v1.10.11 duplex=full ip=192.168.1.47 link=yes multicast=yes port=MII speed=100Mbit/s
Settings for enxe4b97acb30ee:
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
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
1000baseT/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
我能看到的唯一区别是我的 DELL XPS 15 连接速度为 100Mbit/s,而 XPS13 连接速度为 1Gbit/s。我不确定这种差异来自哪里,但我已经在 XPS 13 上配置了网络管理器,以便让链接协商“手动”而不是“自动”或“忽略”,并以 100Mbit/s 的速度强制它,但是,除了界面变慢了,没有任何变化,问题仍然存在。
在从 18.04 LTS 迁移到 20.04 LTS 之前,此问题之前并未发生。我认为这是一个 20.04 LTS 问题,但我有两个运行相同版本的机器,只有一个有问题。两个机器运行相同的内核版本,即 Ubuntu 20.04.1 LTS。
有人可以帮我吗?
非常感谢。
亲切的问候,
西摩
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)