Ubuntu 22.04 上的 USB 以太网适配器每隔几分钟就会出现故障

Ubuntu 22.04 上的 USB 以太网适配器每隔几分钟就会出现故障

该操作系统是 Ubuntu 22.04,安装在型号为“DELL Inspiron 13 5379 2-in-1”的笔记本电脑上。

除网络断开连接问题外,其他一切都正常。硬件没有以太网端口,因此我使用的是 TP-Link UE300 适配器。但是,每隔几分钟连接就会失败一次。请参阅以下文件中在发生故障时收集的部分错误消息/var/log/syslog

遗憾的是,由于字数限制,我们无法包含完整故障周期的日志文件。如有必要,请为我们指定一个上传文件的位置。

我们非常感谢任何提示和建议,如有任何疑问,请告知我们。



... repeating events ...

Mar 20 20:07:39 hostname systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
Mar 20 20:07:56 hostname kernel: [ 8119.057000] usb 1-1.4.2: USB disconnect, device number 118
Mar 20 20:07:56 hostname kernel: [ 8119.057016] usb 1-1.4.2.3: USB disconnect, device number 119
Mar 20 20:07:56 hostname kernel: [ 8119.057329] r8152 1-1.4.2.3:1.0 enxd0.........3: Stop submitting intr, status -108
Mar 20 20:07:56 hostname avahi-daemon[743]: Interface enxd0.........3.IPv4 no longer relevant for mDNS.
Mar 20 20:07:56 hostname avahi-daemon[743]: Leaving mDNS multicast group on interface enxd0.........3.IPv4 with address 192.168.xxx.xxx.
Mar 20 20:07:56 hostname avahi-daemon[743]: Withdrawing address record for 192.168.xxx.xxx on enxd0.........3.
Mar 20 20:07:56 hostname NetworkManager[750]: <info>  [1679364476.1325] device (enxd0.........3): state change: activated -> unmanaged (reason 'removed', sys-iface-state: 'removed')
Mar 20 20:07:56 hostname NetworkManager[750]: <info>  [1679364476.1518] dhcp4 (enxd0.........3): canceled DHCP transaction
Mar 20 20:07:56 hostname NetworkManager[750]: <info>  [1679364476.1519] dhcp4 (enxd0.........3): activation: beginning transaction (timeout in 45 seconds)
Mar 20 20:07:56 hostname NetworkManager[750]: <info>  [1679364476.1520] dhcp4 (enxd0.........3): state changed no lease
Mar 20 20:07:56 hostname NetworkManager[750]: <info>  [1679364476.1549] manager: NetworkManager state is now DISCONNECTED
Mar 20 20:07:56 hostname dbus-daemon[749]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.13' (uid=0 pid=750 comm="/usr/sbin/NetworkManager --no-daemon " label="unconfined")
Mar 20 20:07:56 hostname systemd[1]: Starting Network Manager Script Dispatcher Service...
Mar 20 20:07:56 hostname gnome-shell[1669]: Object St.BoxLayout (0x55ab8a72dae0), has been already disposed — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Mar 20 20:07:56 hostname gnome-shell[1669]: == Stack trace for context 0x55ab866db4b0 ==
Mar 20 20:07:56 hostname gnome-shell[1669]: #0   55ab86fc5fa8 i   resource:///org/gnome/shell/ui/popupMenu.js:766 (3b5d2e715420 @ 22)
Mar 20 20:07:56 hostname gnome-shell[1669]: #1   55ab86fc5ef8 i   resource:///org/gnome/shell/ui/popupMenu.js:686 (3b5d2e7151a0 @ 27)
Mar 20 20:07:56 hostname gnome-shell[1669]: #2   55ab86fc5e40 i   resource:///org/gnome/shell/ui/status/network.js:301 (5778257b790 @ 147)
Mar 20 20:07:56 hostname gnome-shell[1669]: #3   55ab86fc5da0 i   resource:///org/gnome/shell/ui/status/network.js:291 (5778257b740 @ 117)
Mar 20 20:07:56 hostname gnome-shell[1669]: #4   55ab86fc5d18 i   resource:///org/gnome/shell/ui/status/network.js:1853 (5778257e380 @ 20)
Mar 20 20:07:56 hostname gnome-shell[1669]: #5   7ffe8f6f21a0 b   self-hosted:202 (57782507240 @ 272)
Mar 20 20:07:56 hostname gnome-shell[1669]: #6   55ab86fc5c88 i   resource:///org/gnome/shell/ui/status/network.js:1852 (5778257e330 @ 101)
Mar 20 20:07:56 hostname gnome-shell[1669]: #7   55ab86fc5bf8 i   resource:///org/gnome/shell/ui/status/network.js:1840 (5778257e2e0 @ 18)
Mar 20 20:07:56 hostname gnome-shell[1669]: == Stack trace for context 0x55ab866db4b0 ==
Mar 20 20:07:56 hostname gnome-shell[1669]: #0   55ab86fc5ef8 i   resource:///org/gnome/shell/ui/popupMenu.js:699 (3b5d2e7151a0 @ 283)
Mar 20 20:07:56 hostname gnome-shell[1669]: #1   55ab86fc5e40 i   resource:///org/gnome/shell/ui/status/network.js:301 (5778257b790 @ 147)
Mar 20 20:07:56 hostname gnome-shell[1669]: #2   55ab86fc5da0 i   resource:///org/gnome/shell/ui/status/network.js:291 (5778257b740 @ 117)
Mar 20 20:07:56 hostname gnome-shell[1669]: #3   55ab86fc5d18 i   resource:///org/gnome/shell/ui/status/network.js:1853 (5778257e380 @ 20)
Mar 20 20:07:56 hostname gnome-shell[1669]: #4   7ffe8f6f21a0 b   self-hosted:202 (57782507240 @ 272)
Mar 20 20:07:56 hostname gnome-shell[1669]: #5   55ab86fc5c88 i   resource:///org/gnome/shell/ui/status/network.js:1852 (5778257e330 @ 101)
Mar 20 20:07:56 hostname gnome-shell[1669]: #6   55ab86fc5bf8 i   resource:///org/gnome/shell/ui/status/network.js:1840 (5778257e2e0 @ 18)
Mar 20 20:07:56 hostname gnome-shell[1669]: == Stack trace for context 0x55ab866db4b0 ==
Mar 20 20:07:56 hostname gnome-shell[1669]: #0   55ab86fc5ef8 i   resource:///org/gnome/shell/ui/popupMenu.js:699 (3b5d2e7151a0 @ 283)
Mar 20 20:07:56 hostname gnome-shell[1669]: #1   55ab86fc5e40 i   resource:///org/gnome/shell/ui/status/network.js:301 (5778257b790 @ 147)
Mar 20 20:07:56 hostname gnome-shell[1669]: #2   55ab86fc5da0 i   resource:///org/gnome/shell/ui/status/network.js:291 (5778257b740 @ 117)
Mar 20 20:07:56 hostname gnome-shell[1669]: #3   55ab86fc5d18 i   resource:///org/gnome/shell/ui/status/network.js:1853 (5778257e380 @ 20)
Mar 20 20:07:56 hostname gnome-shell[1669]: #4   7ffe8f6f21a0 b   self-hosted:202 (57782507240 @ 272)
Mar 20 20:07:56 hostname gnome-shell[1669]: #5   55ab86fc5c88 i   resource:///org/gnome/shell/ui/status/network.js:1852 (5778257e330 @ 101)
Mar 20 20:07:56 hostname gnome-shell[1669]: Object St.BoxLayout (0x55ab8a72dae0), has been already disposed — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Mar 20 20:07:56 hostname dbus-daemon[749]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Mar 20 20:07:56 hostname gnome-shell[1669]: #6   55ab86fc5bf8 i   resource:///org/gnome/shell/ui/status/network.js:1840 (5778257e2e0 @ 18)
Mar 20 20:07:56 hostname gnome-shell[1669]: == Stack trace for context 0x55ab866db4b0 ==
Mar 20 20:07:56 hostname gnome-shell[1669]: #0   55ab86fc5fa8 i   resource:///org/gnome/shell/ui/popupMenu.js:766 (3b5d2e715420 @ 22)
Mar 20 20:07:56 hostname gnome-shell[1669]: #1   55ab86fc5ef8 i   resource:///org/gnome/shell/ui/popupMenu.js:686 (3b5d2e7151a0 @ 27)

... still more lines below ...

答案1

适配器已标记为使用 DHCP 获取其 IP 地址,但由于没有 DHCP 服务器响应,因此失败。您可以使用“设置”设置静态 IP 以停止噪音。

相关内容