Ubuntu – network not working updating to kernel 5.8 ubuntu 20.04

20.04driversiwlwifikernelnetworking

After updating the kernel to 5.8.0-36-generic and rebooting I noticed the network wasn't working.

Using the previous working kernel I've found that the problem was related to drivers not present because my interfaces were UNCLAIMED using lshw -c network.

I've found other posts suggesting to install the linux-generic-hwe in my case linux-generic-hwe-20.04.

After installing it the interfaces where recognized.

I can't quite get what happened, and probably don't quite know where to look for information about this, the previous kernel worked fine.
I don't understand if the driver was removed between kernel releases or something else..

The output of sudo lshw -c network with the network working is pasted here:

  *-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

So it looks is something related to iwlwifi.

Anybody can give any info regarding this, the update process finished with no errors, so I guess it's something else.

Best Answer

Also lost network connection after updating from kernel 5.4.0 to kernel 5.8.0-41.

Looking at the output of

dpkg -l | grep linux-

I figured out that in my case the previous kernels had linux-modules-extra- packages installed, but linux-modules-extra-5.8.0-41-generic was missing. After booting a 5.4.0 kernel (with working network connection) I could fix the problem by

sudo apt install linux-modules-extra-5.8.0-41-generic
Related Question