No network after upgrade: iwlwifi not loading

I recently followed the suggested the dom0 upgrade and did the update. I have a dual boot with Windows and Ubuntu and upgraded everything. That also temporarily messed up my bootloader but that issue had been fixed now. My QubesOS is however offline now, no matter what I tried.

I’m on 6.11.2-1.qubes.fc37 but also booted into
6.11.2/6.10.10/6.10.3/6.6.48 and none of them had a iwlwifi driver running and on none of them could I manually load it (I tried the same on all 4 versions):

I’m using an HP EliteBook 1040 G9.

The same wifi interface works without problems on Windows and Ubuntu right now. Any pointers would be much appreciated!

P.S.: here the beginning and last 2 screenshots of sudo dmesg:



The firmware for your Wireless controller is missing in your Debian template.
You can use Fedora template instead, the firmware package there is newer and should include the firmware for your Wireless controller.
You need to install the firmware for your Wireless controller in your Debian template, install firmware-iwlwifi package from bookworm-backports repository.

2 Likes

I’ve had same problem. It seems that update pulled in new kernel that requires a new version of firmware than is available in Debian stable. Debian packages …-72.ucode. And the kernel You are running supports …-77.ucode at minimum.
The root cause seems to be that cubes uses a fedora kernel in all cubes by default even if the VM is running a Debian template. I find this decision to be bizarre.
So far I’ve worked it around by changing to older kernel in settings for sys-net.

EDIT:
I’ve set my sys-net to use kernel “provided by the qube”. This works to me and seems to be a better solution to installing newer version of firmware from backports as it prevents kernel and user land from going out of sync.

EDIT2:
I’ve followed instructions from: Managing qube kernels | Qubes OS
I’ve installed grub in Debian template that is used in sys-net and set kernel provided by the cube in sys-net’s settings.

Doing this has solved my wifi problem with the kernel-latest as well:
(on debian-12-xfce template):

sudo apt install firmware-iwlwifi/bookworm-backports

You can, if you wish, create a debian based kernel for use in your
qubes, or use natively installed debian kernels - the process is
documented here

The use of a fedora kernel by default is a hang over from when Fedora
was the default template.

I never presume to speak for the Qubes team.
When I comment in the Forum I speak for myself.