Wifi adapter not found after upgrade from 38 to 39

reboot then you may post the entire dmesg output. It should be small enough to post here.

When I said to peruse it I really meant for you to look at it and find the parts that are related to the wifi device yourself, then post those parts for us to look at.

journalctl has dmesg output (for multiple boots) but also multiple ways to filter the selection: journalctl -b [N] --dmesg. Read man journalctl for ways to filter messages. The grep strings and priority very useful, as is the ability to compare with an earlier boot where wifi worked.

I did a test: create a boot pen with Fedora 39 ,boot laptop from that pen and … wifi works! When booting from the laptop hdd, where I migrated from F38 to F39, wifi doesn’t work.
Output from dmesg with working wifi and dmesg with not working wifi look very similar, I’m trying to find where it differs. Grep iwl on dmesg output the difference I see is firmware version.

Not working wifi:

root@localhost:/tmp# grep iwl dmesg.001.txt
[   10.736081] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
[   10.738834] iwlwifi 0000:00:14.3: Detected crf-id 0x3617, cnv-id 0x20000302 wfpm id 0x80000000
[   10.738868] iwlwifi 0000:00:14.3: PCI dev 02f0/0074, rev=0x351, rfid=0x10a100
[   10.855983] iwlwifi 0000:00:14.3: api flags index 2 larger than supported by driver
[   10.856010] iwlwifi 0000:00:14.3: TLV_FW_FSEQ_VERSION: FSEQ Version: 89.3.35.37
[   10.856826] iwlwifi 0000:00:14.3: loaded firmware version 77.bd067429.0 QuZ-a0-hr-b0-77.ucode op_mode iwlmvm
[   11.142763] iwlwifi 0000:00:14.3: Detected Intel(R) Wi-Fi 6 AX201 160MHz, REV=0x351
[   11.263869] iwlwifi 0000:00:14.3: Detected RF HR B3, rfid=0x10a100
[   11.329752] iwlwifi 0000:00:14.3: base HW address: d0:3c:1f:4e:8d:2e
[   11.348893] iwlwifi 0000:00:14.3 wlp0s20f3: renamed from wlan0
[   20.712684] iwlwifi 0000:00:14.3: Registered PHC clock: iwlwifi-PTP, with index: 1

Woking wifi:

root@localhost:/tmp# grep iwl working_wifi.txt 
[   17.216783] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
[   17.218587] iwlwifi 0000:00:14.3: Detected crf-id 0x3617, cnv-id 0x20000302 wfpm id 0x80000000
[   17.218609] iwlwifi 0000:00:14.3: PCI dev 02f0/0074, rev=0x351, rfid=0x10a100
[   17.408009] iwlwifi 0000:00:14.3: api flags index 2 larger than supported by driver
[   17.408038] iwlwifi 0000:00:14.3: TLV_FW_FSEQ_VERSION: FSEQ Version: 89.3.35.37
[   17.409660] iwlwifi 0000:00:14.3: loaded firmware version 77.2df8986f.0 QuZ-a0-hr-b0-77.ucode op_mode iwlmvm
[   18.040566] iwlwifi 0000:00:14.3: Detected Intel(R) Wi-Fi 6 AX201 160MHz, REV=0x351
[   18.161028] iwlwifi 0000:00:14.3: Detected RF HR B3, rfid=0x10a100
[   18.226954] iwlwifi 0000:00:14.3: base HW address: d0:3c:1f:4e:8d:2e
[   18.276510] iwlwifi 0000:00:14.3 wlp0s20f3: renamed from wlan0
[   23.805832] iwlwifi 0000:00:14.3: Registered PHC clock: iwlwifi-PTP, with index: 1

Hello @jmppr ,
Have tried fwupdmgr to update your firmware?

Identifying a firmware version difference is great work. The firmware files are in /usr/lib/firmware. I have:

% ls -l /usr/lib/firmware/*QuZ-a0-hr-b0-50*
-rw-r--r--. 1 root root 393072 Nov 13 20:00 /usr/lib/firmware/iwlwifi-QuZ-a0-hr-b0-50.ucode.xz

I have the following.

$ ls -l /usr/lib/firmware/*QuZ-a0-hr-b0-*
-rw-r--r--. 1 root root 393072 Nov 13 18:00 /usr/lib/firmware/iwlwifi-QuZ-a0-hr-b0-50.ucode.xz
-rw-r--r--. 1 root root 446316 Nov 13 18:00 /usr/lib/firmware/iwlwifi-QuZ-a0-hr-b0-59.ucode.xz
-rw-r--r--. 1 root root 458672 Nov 13 18:00 /usr/lib/firmware/iwlwifi-QuZ-a0-hr-b0-66.ucode.xz
-rw-r--r--. 1 root root 467784 Nov 13 18:00 /usr/lib/firmware/iwlwifi-QuZ-a0-hr-b0-72.ucode.xz
-rw-r--r--. 1 root root 470184 Nov 13 18:00 /usr/lib/firmware/iwlwifi-QuZ-a0-hr-b0-73.ucode.xz
-rw-r--r--. 1 root root 474604 Nov 13 18:00 /usr/lib/firmware/iwlwifi-QuZ-a0-hr-b0-74.ucode.xz
-rw-r--r--. 1 root root 482588 Nov 13 18:00 /usr/lib/firmware/iwlwifi-QuZ-a0-hr-b0-77.ucode.xz

and it would appear that for @jmppr his system is loading QuZ-a0-hr-b0-77.ucode in both boot tests.
In the one that does not work I see firmware version 77.2df8986f.0 and in the one that does work I see firmware version 77.bd067429.0
Clearly there is a difference in the code contained even though the ucode name is the same.

this is what I have:

root@localhost:~#  ls -l /usr/lib/firmware/*QuZ-a0-hr-b0-*
-rw-r--r--. 1 root root 393072 Nov 14 00:00 /usr/lib/firmware/iwlwifi-QuZ-a0-hr-b0-50.ucode.xz
-rw-r--r--. 1 root root 446316 Nov 14 00:00 /usr/lib/firmware/iwlwifi-QuZ-a0-hr-b0-59.ucode.xz
-rw-r--r--. 1 root root 458672 Nov 14 00:00 /usr/lib/firmware/iwlwifi-QuZ-a0-hr-b0-66.ucode.xz
-rw-r--r--. 1 root root 467784 Nov 14 00:00 /usr/lib/firmware/iwlwifi-QuZ-a0-hr-b0-72.ucode.xz
-rw-r--r--. 1 root root 470184 Nov 14 00:00 /usr/lib/firmware/iwlwifi-QuZ-a0-hr-b0-73.ucode.xz
-rw-r--r--. 1 root root 474604 Nov 14 00:00 /usr/lib/firmware/iwlwifi-QuZ-a0-hr-b0-74.ucode.xz
-rw-r--r--. 1 root root 482588 Nov 14 00:00 /usr/lib/firmware/iwlwifi-QuZ-a0-hr-b0-77.ucode.xz
root@localhost:~# md5sum  /usr/lib/firmware/iwlwifi-QuZ-a0-hr-b0-77.ucode.xz
5d275484dd1fc84f4881f585d166d671  /usr/lib/firmware/iwlwifi-QuZ-a0-hr-b0-77.ucode.xz

and this is very interesting!

md5sum differs ans also file size

no wifi

root@localhost:~# md5sum  /usr/lib/firmware/iwlwifi-QuZ-a0-hr-b0-77.ucode.xz
5d275484dd1fc84f4881f585d166d671  /usr/lib/firmware/iwlwifi-QuZ-a0-hr-b0-77.ucode.xz

wifi ok (booting from F39 usb pen)

-rw-r--r--. 1 root root 482620 Sep 18 20:00 ./usr/lib/firmware/iwlwifi-QuZ-a0-hr-b0-77.ucode.xz
liveuser@localhost-live:/$ md5sum ./usr/lib/firmware/iwlwifi-QuZ-a0-hr-b0-77.ucode.xz
e1b8ee646b9c905b1cb0d5c416d1baa3  ./usr/lib/firmware/iwlwifi-QuZ-a0-hr-b0-77.ucode.xz

I get exactly the same size and md5sum here. It would be useful to compare firmware files used by your Fedora 38 Live USB pen. I have an external drive with Fedora 38 that has:

% ls -l iwlwifi-QuZ-a0-hr-b0-77*
-rw-r--r--. 1 root root 482588 Oct 29 21:00 iwlwifi-QuZ-a0-hr-b0-77.ucode.xz
% md5sum iwlwifi-QuZ-a0-hr-b0-77* 
5d275484dd1fc84f4881f585d166d671  iwlwifi-QuZ-a0-hr-b0-77.ucode.xz

This could have been updated since F38 was installed.

It is possilble that the iwlwifi firmware for your card needs updating for the current kernel. You can try an older “long-term-service” kernel. This sort of problem is quite common, so I find it worthwhile having a USB wifi “pen” to use while waiting for a fix to appear.

my boot pen is also F39 the same flie (same fliename) differs. The one from the boot pen has different file size from the one in the hdd laptop

One possible (at least temporary) workaround would be to copy the /usr/lib/firmware/iwlwifi-QuZ-a0-hr-b0-77.ucode.xz from the usb pen that works to the installed system that does not work. It should enable functioning at least until the firmware is updated again.

A final fix may be obtained by reporting this as a bug against that firmware package
It appears that package is either
iwlwifi-mvm-firmware-20231111-1.fc39
or
iwlwifi-mvm-firmware-20230919-1.fc39
The 20231111 version is the latest for f39. I do not have an F38 system on which to compare at present, but you might post the output of dnf list installed iwlwifi-mvm-firmware so we can see exactly what is installed. Both on the working pen drive and on the failing system.

I did that before your suggestion, the problem remains, maybe I need to copy other files from the good F39 pen? But which files?

Hello @jmppr ,
Did you use fwupdmgr to check if firmware was correct? The command to show all devices fwupdmgr can update is fwupdmgr get-devices. Then you could even downgrade a device firmware if desired, but also you could force update to make sure you have the latest firmware. There are also fwupdtool but I havent used that command. fwupdmgr --help and fwupdtool --help should be the place to continue solving this.

I am not sure fwupdmgr has anything to do with this. This is an intel wifi chip and the firmware and driver are in packages that are installed with the linux-firmware package. The files are under /usr/lib/firmware and come from iwlwifi-dvm-firmware and iwlwifi-mvm-firmware.

You’re probably right. I’m seemingly on a fwupdmgr kick today.

Hello all,

with the last dnf --refresh upgrade i did a few minutes ago the problem disappears, now the adapter can detect the wifi networks I use and I’m able to connect to them.
I can store again may 20 meter ethernet

Thanks for you help

I assume the update installed iwlwifi-mvm-firmware-20231211-1.fc39 (the detail useful for next person who encounters the problem). Glad that your problem is fixed.

thanks for pointing that , what I have now is:

root@localhost:/usr/lib/firmware# dnf list installed iwlwifi-mvm-firmware
Installed Packages
iwlwifi-mvm-firmware.noarch                     20231211-1.fc39

please, i’m new to fedora, i installed fedora 39 and it’s not accepting wifi connection, I’m not even seeing wifi on the settings. how do i get started

Please open your own thread for your problem. this one is already marked as solved and we need more information about your problem as well.

See Welcome to Ask Fedora! Please read me first!

which says

 You should try to make things easier for others that try to help you.
In general:

Check to see if the information you are looking for is documented on in the Fedora documentation 29.
quick-docs 29 provide lots of short one page step by step instructions on how to do many things.
Search this forum before you post: someone may have asked the question before, or experienced the issue before you.
Always mention the version of the Fedora OS you are using.
Try to clearly document what you were doing, step-by-step if you can.
Provide as much relevant information about your system
Commands that tell you about your system, its hardware, its packages and so on are documented here 35.
Don’t worry if you can not gather more information, though. Other users will ask you what what they need, and you will learn in the process too!