Wifi card not registered after boot

Usually around 20-30% of the time, my wifi card is not found, rebooting usually fixes it but its getting annoying now

inxi -Naz output

Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Hewlett-Packard driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200 Device-2: Intel Wi-Fi 6 AX210/AX211/AX411 160MHz driver: iwlwifi v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 03:00.0 chip-ID: 8086:2725 class-ID: 0280

Are you dual booting with Windows? You need to make sure the Fast Start Up feature in Windows under power management is disabled if you are.

image
yep its disabled, problem still shows up

Have you tried disabling power management for the wifi card in /etc/modprobe.d/wifi.conf

add

options iwlwifi power_save=0 

Did not work, also another interesting i found is that i can not restart or shut down through software, if i type reboot in the terminal, it mentions something about a sleep or shutdown operation already in progress. So i have to shutdown by pressing and holding the power button

I guess you already checked the Windows settings. :man_facepalming:

Edit: You should set up the Magic SySRq Key

Maybe try the following

sudo pacman -S linux-firmware
sudo modprobe -r iwlwifi && sudo modprobe iwlwifi

reboot

Try this: nmcli network on

Linux-firmware is upto date so it just reinstalls
Modprobe does not work because iwlwifi is in use

Need more information. Post the urls

inxi -Faz | eos-sendlog

Edit: Also

sudo dmesg | eos-sendlog

journalctl -b -0 | eos-sendlog

http://ix.io/4z61
http://ix.io/4z62
http://ix.io/4z63

Device-2: Intel Wi-Fi 6 AX210/AX211/AX411 160MHz driver: iwlwifi v: kernel
pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 03:00.0 chip-ID: 8086:2725
class-ID: 0280

The output shows that the proper module is loaded for the WiFi? Is it working?

[    4.681063] Intel(R) Wireless WiFi driver for Linux
[    4.681340] iwlwifi 0000:03:00.0: enabling device (0000 -> 0002)
 4.724077] iwlwifi 0000:03:00.0: api flags index 2 larger than supported by driver
[    4.724118] iwlwifi 0000:03:00.0: TLV_FW_FSEQ_VERSION: FSEQ Version: 0.0.2.36
[    4.724609] iwlwifi 0000:03:00.0: loaded firmware version 74.fe17486e.0 ty-a0-gf-a0-74.ucode op_mode iwlmvm

It’s loading the firmware.

Nothing stands out. It should be working. :man_shrugging:

By the way, i dont think i can do logs while offline, so i got these by restarting several times to get the card working again

Maybe it’s something to do with the Gnome desktop causing the issue?

Have you investigated why this is happening?

I am not sure if I read the journal correctly that you have provided, but it starts a shutdown sequence and a minute later it starts the gnome tracker:

Jun 25 18:40:29 gamingmachine systemd[820]: Reached target Shutdown.
...
Jun 25 18:41:39 gamingmachine systemd[1265]: Starting Tracker metadata extractor...

This is really weird. I would try to understand why this shutdown sequence is being started. It can well be the root cause for a deactivated wifi.

[ 0.000000] Linux version 6.3.9-zen1-1-zen
i would suggest to bail out kernel regression by booting into main kernel or LTS

Did you tried nmcli network on as I told you above? I had the same problem more than one time…