我正在使用桌面版 Ubuntu 18.04.3 LTS,我必须连接有线网线,我正在通过 WIFI 工作。但有时,当我工作时,我突然收到烦人的通知,说我的托盘中的 enp108s0 接口已启动(我尚未连接电缆)。如果我断开连接,它稍后会再次启动。我该如何修复它?
更新:sudo journalctl /usr/sbin/NetworkManager 给出以下内容:
дек 04 21:59:02 freetrade NetworkManager[988]: <info> [1575471542.0478] keyfile: add connection in-memory (b71c8ace-4a82-4c78-8d77-251ed1830d18,
дек 04 21:59:02 freetrade NetworkManager[988]: <info> [1575471542.0489] device (enp108s0): state change: unavailable -> disconnected (reason 'co
дек 04 21:59:02 freetrade NetworkManager[988]: <info> [1575471542.0509] device (enp108s0): Activation: starting connection 'enp108s0' (b71c8ace-
дек 04 21:59:02 freetrade NetworkManager[988]: <info> [1575471542.0621] device (enp108s0): state change: disconnected -> prepare (reason 'none',
дек 04 21:59:02 freetrade NetworkManager[988]: <info> [1575471542.0633] device (enp108s0): state change: prepare -> config (reason 'none', sys-i
дек 04 21:59:02 freetrade NetworkManager[988]: <info> [1575471542.0637] device (enp108s0): state change: config -> ip-config (reason 'none', sys
дек 04 21:59:02 freetrade NetworkManager[988]: <info> [1575471542.0638] device (enp108s0): state change: ip-config -> ip-check (reason 'none', s
дек 04 21:59:02 freetrade NetworkManager[988]: <info> [1575471542.0645] device (enp108s0): state change: ip-check -> secondaries (reason 'none',
дек 04 21:59:02 freetrade NetworkManager[988]: <info> [1575471542.0649] device (enp108s0): state change: secondaries -> activated (reason 'none'
дек 04 21:59:02 freetrade NetworkManager[988]: <info> [1575471542.0675] device (enp108s0): Activation: successful, device activated.
дек 04 21:59:12 freetrade NetworkManager[988]: <info> [1575471552.0002] keyfile: add connection in-memory (644e81fb-fee0-41d4-abec-bf2ca40d4ada,
дек 04 21:59:12 freetrade NetworkManager[988]: <info> [1575471552.0030] device (enp0s31f6): state change: unavailable -> disconnected (reason 'c
дек 04 21:59:12 freetrade NetworkManager[988]: <info> [1575471552.0161] device (enp0s31f6): Activation: starting connection 'enp0s31f6' (644e81f
дек 04 21:59:12 freetrade NetworkManager[988]: <info> [1575471552.0661] device (enp0s31f6): state change: disconnected -> prepare (reason 'none'
дек 04 21:59:12 freetrade NetworkManager[988]: <info> [1575471552.0672] device (enp0s31f6): state change: prepare -> config (reason 'none', sys-
дек 04 21:59:12 freetrade NetworkManager[988]: <info> [1575471552.0676] device (enp0s31f6): state change: config -> ip-config (reason 'none', sy
дек 04 21:59:12 freetrade NetworkManager[988]: <info> [1575471552.0678] device (enp0s31f6): state change: ip-config -> ip-check (reason 'none',
дек 04 21:59:12 freetrade NetworkManager[988]: <info> [1575471552.0686] device (enp0s31f6): state change: ip-check -> secondaries (reason 'none'
дек 04 21:59:12 freetrade NetworkManager[988]: <info> [1575471552.0690] device (enp0s31f6): state change: secondaries -> activated (reason 'none
дек 04 21:59:12 freetrade NetworkManager[988]: <info> [1575471552.0760] device (enp0s31f6): Activation: successful, device activated.
答案1
日志条目
дек 04 21:59:12 freetrade NetworkManager[988]: <info> [1575471552.0030] device (enp0s31f6): state change: unavailable -> disconnected (reason 'c
虽然不完整,并且考虑到没有先前的警告,但意味着(对我来说)您的物理连接是间歇性的。
摇动你的网线,如果有任何移动或者网络出现抖动,请更换它。