No Wifi after enabling remote (SSH) LUKS decryption

Hello
I have an interesting problem, I have installed EndeavourOS beside Windows on my Laptop.
The boot partition (and also boot/efi) is unencrypted. All other Linux partitions (root, var, home, tmp) are in an encrypted LVM2. Thanks to this great guide here https://discovery.endeavouros.com/encrypted-installation/lvmonluks/2021/03/ this all works well. Like on my old Laptop I also wanted to enable remote luks decryption via ssh (mkinitcpio-systemd-tool + tinyssh). This also works fine. But as when I do this, the wifi interface (AX201) is not longer available.
When I disable remote decryption, the wifi is again available. I tried adding iwlwifi to modules in mkinitcpio as well as all the iwlwifi-QuZ-*.ucode files from /usr/lib/firmware to the files section in mkinitcpio.conf. The firmware because I read somewhere else (sorry do not longer have the link) to check with dmesg if there is a firmware error and yes there is. Unfortunately it changed nothing, wifi is not available, It does not show up in rfkill and networkmanager, lspci does still show it.

Here some outputs that may help:

  1. with remote luks decrpytion enabled

mkinitcpio.conf (lines not shown here are at their default values)

MODULES=“crc32c-intel iwlwifi”
FILES=“/crypto_keyfile.bin /usr/lib/firmware/iwlwifi-QuZ-a0-hr-b0-48.ucode /usr/lib/firmware/iwlwifi-QuZ-a0-jf-b0-48.ucode /usr/lib/firmware/iwlwifi-QuZ-a0-hr-b0-50.ucode /usr/lib/firmware/iwlwifi-QuZ-a0-jf-b0-50.ucode /usr/lib/firmware/iwlwifi-QuZ-a0-hr-b0-53.ucode /usr/lib/firmware/iwlwifi-QuZ-a0-jf-b0-53.ucode /usr/lib/firmware/iwlwifi-QuZ-a0-hr-b0-55.ucode /usr/lib/firmware/iwlwifi-QuZ-a0-jf-b0-55.ucode /usr/lib/firmware/iwlwifi-QuZ-a0-hr-b0-59.ucode /usr/lib/firmware/iwlwifi-QuZ-a0-jf-b0-59.ucode /usr/lib/firmware/iwlwifi-QuZ-a0-hr-b0-62.ucode /usr/lib/firmware/iwlwifi-QuZ-a0-jf-b0-62.ucode /usr/lib/firmware/iwlwifi-QuZ-a0-hr-b0-63.ucode /usr/lib/firmware/iwlwifi-QuZ-a0-jf-b0-63.ucode”
HOOKS=“base udev autodetect modconf block keyboard keymap encrypt lvm2 resume filesystems fsck systemd systemd-tool shutdown”

Output from systemlog filtered for wifi driver

sudo dmesg | grep iwlwifi
[ 1.020207] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-QuZ-a0-hr-b0-66.ucode failed with error -2
[ 1.020232] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-QuZ-a0-hr-b0-65.ucode failed with error -2
[ 1.020252] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-QuZ-a0-hr-b0-64.ucode failed with error -2
[ 1.020679] iwlwifi 0000:00:14.3: api flags index 2 larger than supported by driver
[ 1.020697] iwlwifi 0000:00:14.3: TLV_FW_FSEQ_VERSION: FSEQ Version: 89.3.35.37
[ 1.021144] iwlwifi 0000:00:14.3: loaded firmware version 63.c04f3485.0 QuZ-a0-hr-b0-63.ucode op_mode iwlmvm

lspci result filtered for the Intel AX201

sudo lspci | grep AX
0000:00:14.3 Network controller: Intel Corporation Wi-Fi 6 AX201 (rev 20)

rfkill results:

sudo rfkill list
0: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no

As you can see the Wifi device is completely missing in the rfkill list

sudo lsmod | grep iwl
iwlwifi 458752 0
cfg80211 1073152 1 iwlwifi

  1. same system with remote luks decryption disabled
    mkinitcpio.conf (lines not shown here are at their default values)

MODULES=“crc32c-intel”
FILES=“/crypto_keyfile.bin”
HOOKS=“base udev autodetect modconf block keyboard keymap encrypt lvm2 resume filesystems fsck shutdown”

Output from systemlog filtered for wifi driver

sudo dmesg | grep iwlwifi
[ 10.262898] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-QuZ-a0-hr-b0-66.ucode failed with error -2
[ 10.262941] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-QuZ-a0-hr-b0-65.ucode failed with error -2
[ 10.262977] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-QuZ-a0-hr-b0-64.ucode failed with error -2
[ 10.266812] iwlwifi 0000:00:14.3: api flags index 2 larger than supported by driver
[ 10.266844] iwlwifi 0000:00:14.3: TLV_FW_FSEQ_VERSION: FSEQ Version: 89.3.35.37
[ 10.267313] iwlwifi 0000:00:14.3: loaded firmware version 63.c04f3485.0 QuZ-a0-hr-b0-63.ucode op_mode iwlmvm
[ 10.471080] iwlwifi 0000:00:14.3: Detected Intel(R) Wi-Fi 6 AX201 160MHz, REV=0x354
[ 10.592563] iwlwifi 0000:00:14.3: Detected RF HR B5, rfid=0x10a100
[ 10.658256] iwlwifi 0000:00:14.3: base HW address: 58:6c:25:58:f8:9a

lspci result filtered for the Intel AX201

sudo lspci | grep -i network
0000:00:14.3 Network controller: Intel Corporation Wi-Fi 6 AX201 (rev 20)

rfkill results:

sudo rfkill list
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
1: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no

As you can see the Wifi device is now shown in rfkill

sudo lsmod | grep iwl
iwlmvm 503808 0
mac80211 1236992 1 iwlmvm
iwlwifi 458752 1 iwlmvm
cfg80211 1073152 3 iwlmvm,iwlwifi,mac80211

Does anyone have an idea?

Solved after adding the iwlmvm, mac80211 and cfg80211 modules to the modules in mkinitcpio.conf too.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.