Wireless adapter unclaimed after update and reboot

I run Ubuntu 20.04 and this script every day:

sudo apt update && sudo apt full-upgrade -y && sudo apt -f install && sudo apt autoremove -y && sudo apt autoclean && sudo snap refresh

After the end of every day, I power down my desktop. Maybe not the smartest script, but this is the first problem it’s caused in 2 years or so… (I assume this problem is due to an update.)

This morning, when I booted, when I search for Wi-Fi in settings:

No Wi-Fi Adapter Found

I’ve been using the wireless adapters on my motherboard, which I’m assuming an update broke the drivers for. For now I’m using the sub-optimal powerline Ethernet.

Nothing shows up for sudo rfkill list all and the wireless device is not show when using ip a or ifconfig. (This also goes for Bluetooth, which is also on the motherboard and also enabled in the BIOS.)

Here’s some partial output showing my wireless adapter being unclaimed.

$ sudo lshw -C network

  *-network UNCLAIMED
       description: Network controller
       product: Dual Band Wireless-AC 3168NGW [Stone Peak]
       vendor: Intel Corporation
       physical id: 0
       bus info: [email protected]:03:00.0
       version: 10
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress cap_list
       configuration: latency=0
       resources: memory:ab300000-ab301fff

Here’s the logs from my /var/log/apt/history.log with yesterday’s date:

Start-Date: 2021-06-23  10:11:24
Commandline: /usr/bin/unattended-upgrade
Upgrade: gcc-10-base:amd64 (10.2.0-5ubuntu1~20.04, 10.3.0-1ubuntu1~20.04), gcc-10-base:i386 (10.2.0-5ubuntu1~20.04, 10.3.0-1ubuntu1~20.04), libitm1:amd64 (10.2.0-5ubuntu1~20.04, 10.3.0-1ubuntu1~20.04), libquadmath0:amd64 (10.2.0-5ubuntu1~20.04, 10.3.0-1ubuntu1~20.04), libtsan0:amd64 (10.2.0-5ubuntu1~20.04, 10.3.0-1ubuntu1~20.04), libubsan1:amd64 (10.2.0-5ubuntu1~20.04, 10.3.0-1ubuntu1~20.04), liblsan0:amd64 (10.2.0-5ubuntu1~20.04, 10.3.0-1ubuntu1~20.04), libgomp1:amd64 (10.2.0-5ubuntu1~20.04, 10.3.0-1ubuntu1~20.04), libgcc-s1:amd64 (10.2.0-5ubuntu1~20.04, 10.3.0-1ubuntu1~20.04), libgcc-s1:i386 (10.2.0-5ubuntu1~20.04, 10.3.0-1ubuntu1~20.04), libatomic1:amd64 (10.2.0-5ubuntu1~20.04, 10.3.0-1ubuntu1~20.04), libatomic1:i386 (10.2.0-5ubuntu1~20.04, 10.3.0-1ubuntu1~20.04), libcc1-0:amd64 (10.2.0-5ubuntu1~20.04, 10.3.0-1ubuntu1~20.04), libstdc++6:amd64 (10.2.0-5ubuntu1~20.04, 10.3.0-1ubuntu1~20.04), libstdc++6:i386 (10.2.0-5ubuntu1~20.04, 10.3.0-1ubuntu1~20.04)
End-Date: 2021-06-23  10:11:25

Start-Date: 2021-06-23  10:27:38
Commandline: apt full-upgrade -y
Requested-By: micah (1000)
Install: linux-modules-extra-5.8.0-59-generic:amd64 (5.8.0-59.66~20.04.1, automatic), linux-headers-5.8.0-59-generic:amd64 (5.8.0-59.66~20.04.1, automatic), linux-objects-nvidia-460-5.11.0-22-generic:amd64 (5.11.0-22.23~20.04.1+1, automatic), linux-modules-5.8.0-59-generic:amd64 (5.8.0-59.66~20.04.1, automatic), linux-modules-5.11.0-22-generic:amd64 (5.11.0-22.23~20.04.1, automatic), linux-modules-nvidia-460-5.11.0-22-generic:amd64 (5.11.0-22.23~20.04.1+1, automatic), linux-hwe-5.8-headers-5.8.0-59:amd64 (5.8.0-59.66~20.04.1, automatic), linux-signatures-nvidia-5.11.0-22-generic:amd64 (5.11.0-22.23~20.04.1+1, automatic), linux-image-5.11.0-22-generic:amd64 (5.11.0-22.23~20.04.1, automatic), linux-image-5.8.0-59-generic:amd64 (5.8.0-59.66~20.04.1, automatic)
Upgrade: linux-headers-generic-hwe-20.04:amd64 (5.8.0.55.62~20.04.39, 5.8.0.59.66~20.04.42), linux-libc-dev:amd64 (5.4.0-74.83, 5.4.0-77.86), linux-modules-nvidia-460-generic-hwe-20.04-edge:amd64 (5.8.0-55.62~20.04.1, 5.11.0-22.23~20.04.1+1), initramfs-tools-bin:amd64 (0.136ubuntu6.5, 0.136ubuntu6.6), linux-image-generic-hwe-20.04:amd64 (5.8.0.55.62~20.04.39, 5.8.0.59.66~20.04.42), linux-generic-hwe-20.04:amd64 (5.8.0.55.62~20.04.39, 5.8.0.59.66~20.04.42), gnome-shell-common:amd64 (3.36.9-0ubuntu0.20.04.1, 3.36.9-0ubuntu0.20.04.2), gnome-shell:amd64 (3.36.9-0ubuntu0.20.04.1, 3.36.9-0ubuntu0.20.04.2), initramfs-tools-core:amd64 (0.136ubuntu6.5, 0.136ubuntu6.6), initramfs-tools:amd64 (0.136ubuntu6.5, 0.136ubuntu6.6)
End-Date: 2021-06-23  10:28:42

Start-Date: 2021-06-23  10:28:43
Commandline: apt autoremove -y
Requested-By: micah (1000)
Remove: linux-modules-5.8.0-53-generic:amd64 (5.8.0-53.60~20.04.1), linux-signatures-nvidia-5.8.0-53-generic:amd64 (5.8.0-53.60~20.04.1), linux-objects-nvidia-460-5.8.0-53-generic:amd64 (5.8.0-53.60~20.04.1), linux-hwe-5.8-headers-5.8.0-53:amd64 (5.8.0-53.60~20.04.1), linux-image-5.8.0-53-generic:amd64 (5.8.0-53.60~20.04.1), linux-modules-extra-5.8.0-53-generic:amd64 (5.8.0-53.60~20.04.1), linux-headers-5.8.0-53-generic:amd64 (5.8.0-53.60~20.04.1)
End-Date: 2021-06-23  10:28:48

My hunch is I need to reinstall a specific version of Linux headers or something, but honestly, I’m not too sure. Anyone have an idea of what could get my wireless device reclaimed and usable?

Here is Solutions:

We have many solutions to this problem, But we recommend you to use the first solution because it is tested & true solution that will 100% work for you.

Solution 1

In our chat, we learned that the package linux-modules-extra-5.11.0-22-generic that provides the driver iwlwifi among many others, didn’t get installed in your upgrade. I suggested that you do, while booted into kernel version 5.8 where the wireless does work:

sudo apt update
sudo apt install linux-modules-extra-5.11.0-22-generic

Upon rebooting into kernel version 5.11, your wireless is now working.

I also recommended:

sudo apt install --reinstall linux-generic

…because its dependencies and their dependencies include linux-modules extra.

Note: Use and implement solution 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply