![Ubuntu 中失去互联网连接](https://linux22.com/image/1167779/Ubuntu%20%E4%B8%AD%E5%A4%B1%E5%8E%BB%E4%BA%92%E8%81%94%E7%BD%91%E8%BF%9E%E6%8E%A5.png)
最初我的网络没有工作,我插上以太网电缆仍然没有用,当我运行时sudo service network-manager restart
,我得到输出:
Job for NetworkManager.service failed because the control process exited with error code. See "systemctl status NetworkManager.service" and "journalctl -xe" for details.
我甚至更改了networkmanager.conf
文件,因为我更改了 if up down managed =true`。我无法在右上角靠近电池符号的地方看到网络符号。
通过使用sudo lshw
,我可以看到我的以太网身份证
以下是我使用该命令后得到的输出dmesg | grep enp
supertramp@supertramp-SVE15117FGB:$ dmesg | grep enp | grep color auto
[ 1.471648] r8169 0000:0e:00.0 enp14s0: renamed from eth0
[ 27.964275] r8169 0000:0e:00.0 enp14s0: Link is Down
[ 487.362883] r8169 0000:0e:00.0 enp14s0: Link is Down
[ 488.939284] r8169 0000:0e:00.0 enp14s0: Link is Up 100Mbps/Full flow control rx/tx
[ 488.939316] IPV6: ADDRCONF (NETDEV_CHANGE): enp14s0: link becomes ready [ 941.065941] r8169 0000:0e:00.0 enp14s0: Link is Down
[ 1802.806925] r8169 0000:0e:00.0 enp14s0: Link is Down
[ 1804.844032] r8169 0000:0e:00.0 enp14s0: Link is Down
[ 2258.204303] r8169 0000:0e:00.0 enp14s0: Link is Down
[ 2260.717432] r8169 0000:0e:00.0 enp14s0: Link is Down
[ 2275.886682] r8169 0000:0e:00.0 enp14s0: Link is Down
[ 4025.514987] r8169 0000:0e:00.0 enp14s0: Link is Down