网络不工作更新到内核 5.8 ubuntu 20.04

Mau*_*rin 8 kernel networking drivers iwlwifi 20.04

更新内核5.8.0-36-generic并重新启动后,我注意到网络无法正常工作。

使用以前的工作内核,我发现问题与驱动程序不存在有关,因为我的接口UNCLAIMED使用lshw -c network.

我发现其他帖子建议 linux-generic-hwe在我的情况下安装 linux-generic-hwe-20.04.

安装后,可以识别的接口。

我不太明白发生了什么,并且可能不太知道在哪里查找有关此的信息,以前的内核运行良好。我不明白驱动程序是否在内核版本或其他版本之间被删除。

sudo lshw -c network网络工作的输出粘贴在这里:

  *-network
       description: Wireless interface
       product: Dual Band Wireless-AC 3168NGW [Stone Peak]
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: wlp3s0
       version: 10
       serial: 60:f6:77:65:e5:69
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=5.8.0-36-generic firmware=29.1654887522.0 3168-29.ucode ip=192.168.1.9 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:128 memory:df100000-df101fff
Run Code Online (Sandbox Code Playgroud)

所以它看起来与iwlwifi.

任何人都可以提供有关此的任何信息,更新过程没有错误地完成,所以我猜是别的东西。

小智 5

我也遇到了类似的问题,升级到 5.8 内核后,无线网络和触摸板无法工作。

我发现了这个问题

运行后

dpkg -l | grep linux-
Run Code Online (Sandbox Code Playgroud)

我发现没有安装 的模块linux-modules-5.8.0-38-generic,但安装了以前的内核模块。

因此,如果您可以连接到有线网络,那么

sudo apt-get install linux-modules-5.8.0-38-generic linux-headers-5.8.0-38-generic
Run Code Online (Sandbox Code Playgroud)

应该安装它们。这似乎对我有用。

如果你像我一样无法连接有线网络,请尝试将 grub 'Advanced options for Ubuntu' 中的内核切换为以前的内核工作版本,然后尝试安装上述内容。


小智 5

从内核 5.4.0 更新到内核 5.8.0-41 后也丢失了网络连接。

查看输出

dpkg -l | grep linux-
Run Code Online (Sandbox Code Playgroud)

我发现在我的情况下,以前的内核linux-modules-extra-安装了软件包,但linux-modules-extra-5.8.0-41-generic没有安装。启动 5.4.0 内核(具有工作网络连接)后,我可以通过以下方式解决问题

sudo apt install linux-modules-extra-5.8.0-41-generic
Run Code Online (Sandbox Code Playgroud)