以太网不断消失

以太网不断消失

请帮帮我!Ubuntu 无法使用,以太网不断消失。我的意思是我必须每 20 分钟 - 1 小时重启一次 PC 才能重新获得互联网连接。我有集成 Realtek 卡(Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)),以为它坏了 - 从 tp-link 购买了专用网卡(TG-3468),集成卡和专用卡都使用相同的 r8169 内核模块,似乎它出了什么问题……

(Ubuntu 23.04 和 23.10 上存在同样的问题)

driver: r8169
version: 6.5.7-x64v3-xanmod1
firmware-version: rtl8168h-2_0.0.2 02/26/15
expansion-rom-version: 
bus-info: 0000:06:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: yes
supports-priv-flags: no

通过运行找到这些日志:

Oct 17 19:01:35 eima NetworkManager[1409]: <info>  [1697558495.8368] manager: NetworkManager state is now CONNECTING
Oct 17 19:01:35 eima NetworkManager[1409]: <info>  [1697558495.8371] device (enp6s0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Oct 17 19:01:35 eima NetworkManager[1409]: <info>  [1697558495.8377] device (enp6s0): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
Oct 17 19:01:35 eima NetworkManager[1409]: <info>  [1697558495.8379] dhcp4 (enp6s0): activation: beginning transaction (timeout in 45 seconds)
Oct 17 19:01:41 eima NetworkManager[1409]: <info>  [1697558501.8385] device (enp6s0): state change: ip-config -> unavailable (reason 'carrier-changed', sys-iface-state: 'managed')
Oct 17 19:01:41 eima NetworkManager[1409]: <info>  [1697558501.8831] dhcp4 (enp6s0): canceled DHCP transaction
Oct 17 19:01:41 eima NetworkManager[1409]: <info>  [1697558501.8831] dhcp4 (enp6s0): state changed no lease
Oct 17 19:01:41 eima NetworkManager[1409]: <info>  [1697558501.8837] manager: NetworkManager state is now DISCONNECTED

答案1

虽然听起来很奇怪,但通过将 ASrock 主板 BIOS 更新到最新版本,问题已经得到解决AGESA Combo V2 PI 1.2.0.B。过去几天,系统一直运行稳定。看来根本不是 Ubuntu 或硬件问题。

相关内容