【Ubuntu20.04 有线网络图标消失解决方法】

问题描述:
ubuntu20.04 有线网络正常但是无法找到有线网络,连接有线网络也无法正常工作,无法显示有线网络界面。在这里插入图片描述
网上大牛给出解决方法,测试有效

sudo lshw -c Network命令测试问题:

wei@wei-book:~$ sudo lshw -c Network
  *-network:0               
       description: Wireless interface
       product: Cannon Point-LP CNVi [Wireless-AC]
       vendor: Intel Corporation
       physical id: 14.3
       bus info: pci@0000:00:14.3
       logical name: wlp0s20f3
       version: 30
       serial: 38:00:25:9b:44:2a
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=5.13.0-51-generic firmware=46.4d093a30.0 9000-pu-b0-jf-b0- ip=192.168.1.104 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:16 memory:c9738000-c973bfff
  *-network:1 DISABLED
       description: Ethernet interface
       product: Ethernet Connection (6) I219-V
       vendor: Intel Corporation
       physical id: 1f.6
       bus info: pci@0000:00:1f.6
       logical name: enp0s31f6
       version: 30
       serial: 98:fa:9b:12:3e:10
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=5.13.0-51-generic firmware=0.5-3 latency=0 link=no multicast=yes port=twisted pair
       resources: irq:167 memory:c9700000-c971ffff
  *-network DISABLED
       description: Ethernet interface
       physical id: 2
       bus info: usb@1:4
       logical name: enx00e04f0000ce
       serial: 00:e0:4f:00:00:ce
       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.12.12 duplex=full firmware=rtl8153a-4 v2 02/07/20 link=no multicast=yes port=MII speed=100Mbit/s

可见 Ethernet interface 状态为 DISABLE ,听说这个是Ubuntu Network Manager Bug,经过网上查询得知可以创建一个缺少的配置文件可以解决这个问题,

sudo touch /etc/NetworkManager/conf.d/10-globally-managed-devices.conf
sudo systemctl restart NetworkManager

顺利解决问题

^C
wei@wei-book:~$ sudo lshw -c Network
  *-network:0 DISABLED      
       description: Wireless interface
       product: Cannon Point-LP CNVi [Wireless-AC]
       vendor: Intel Corporation
       physical id: 14.3
       bus info: pci@0000:00:14.3
       logical name: wlp0s20f3
       version: 30
       serial: 38:00:25:9b:44:2a
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=5.13.0-51-generic firmware=46.4d093a30.0 9000-pu-b0-jf-b0- latency=0 link=no multicast=yes wireless=IEEE 802.11
       resources: irq:16 memory:c9738000-c973bfff
  *-network:1
       description: Ethernet interface
       product: Ethernet Connection (6) I219-V
       vendor: Intel Corporation
       physical id: 1f.6
       bus info: pci@0000:00:1f.6
       logical name: enp0s31f6
       version: 30
       serial: 98:fa:9b:12:3e:10
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=5.13.0-51-generic firmware=0.5-3 latency=0 link=no multicast=yes port=twisted pair
       resources: irq:167 memory:c9700000-c971ffff
  *-network
       description: Ethernet interface
       physical id: 2
       bus info: usb@1:4
       logical name: enx00e04f0000ce
       serial: 00:e0:4f:00:00:ce
       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.12.12 duplex=full firmware=rtl8153a-4 v2 02/07/20 ip=192.168.1.105 link=yes multicast=yes port=MII speed=100Mbit/s

有线网络恢复正常

在这里插入图片描述

评论 7
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值