升级到 22.04 后,以太网不工作,wifi 工作正常?

升级到 22.04 后,以太网不工作,wifi 工作正常?

目前,lspci 给出:

.....
00:14.3 Network controller: Intel Corporation Cannon Lake PCH CNVi WiFi (rev 10)
 Corporation HM470 Chipset LPC/eSPI Controller (rev 10)
3c:00.0 Ethernet controller: Qualcomm Atheros Killer E2500 Gigabit Ethernet Controller (rev 10)
.....

正如您所见,以太网和 wifi 都列出了,但只有 wifi 可以使用。如果禁用 wifi,我得到:

显示没有有线网络

我们可以看到,没有列出以太网。并且在升级之前,禁用wifi后,“以太网...”等条目将出现在这个列表中。运行“lshw -c network”后,打印出这些:

[sudo] password for alex: 
  *-network                 
       description: Wireless interface
       product: Cannon Lake PCH CNVi WiFi
       vendor: Intel Corporation
       physical id: 14.3
       bus info: pci@0000:00:14.3
       logical name: wlo1
       version: 10
       serial: 64:5d:86:ba:09:af
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=5.15.0-40-generic firmware=46.fae53a8b.0 9000-pu-b0-jf-b0- ip=192.168.8.119 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:16 memory:ad414000-ad417fff
  *-network
       description: Ethernet interface
       product: Killer E2500 Gigabit Ethernet Controller
       vendor: Qualcomm Atheros
       physical id: 0
       bus info: pci@0000:3c:00.0
       logical name: enp60s0
       version: 10
       serial: 30:9c:23:ff:fb:a4
       size: 100Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi msix bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=alx driverversion=5.15.0-40-generic duplex=full latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
       resources: irq:16 memory:ad200000-ad23ffff ioport:3000(size=128)

看来 Killer E2500 的以太网卡已经上市了。问题是

如何使以太网重新工作?

答案1

这些解决了问题。

> sudo touch /etc/NetworkManager/conf.d/10-globally-managed-devices.conf
> sudo service network-manager restart

相关内容