Wifi adapter not found

I am dual booting Windows 11 and Fedora 38. My Wifi was working until I restarted, booted into Windows and updated windows. Secure boot is disabled. My dell latitude has a fast boot setting in the Sytem BIOS settings; I set that to “Thorough.” I disabled fast boot in windows using Powershell’s:

powercfg /h off

command. Here are some useful snippets:

  1. ❯ systemctl list-unit-files | grep -i network
NetworkManager-dispatcher.service            enabled         enabled
NetworkManager-wait-online.service           enabled         enabled
NetworkManager.service                       enabled         enabled
systemd-network-generator.service            enabled         enabled
systemd-networkd-wait-online.service         disabled        disabled
systemd-networkd-wait-online@.service        disabled        disabled
systemd-networkd.service                     disabled        disabled
virtnetworkd.service                         disabled        disabled
systemd-networkd.socket                      disabled        disabled
virtnetworkd-admin.socket                    disabled        disabled
virtnetworkd-ro.socket                       disabled        disabled
virtnetworkd.socket                          enabled         enabled
network-online.target                        static          -
network-pre.target                           static          -
network.target                               static          -
  1. ❯ lspci -vvv | grep -i wireless
00:14.3 Network controller: Intel Corporation Cannon Point-LP CNVi [Wireless-AC] (rev 30)
  1. ❯ inxi -F
System:
  Host: spurz-dev Kernel: 6.5.12-300.fc39.x86_64 arch: x86_64 bits: 64
    Desktop: GNOME v: 45.1 Distro: Fedora release 39 (Thirty Nine)
Machine:
  Type: Laptop System: Dell product: Latitude 5400 v: N/A
    serial: <superuser required>
  Mobo: Dell model: 0PD9KD v: A00 serial: <superuser required> UEFI: Dell
    v: 1.25.0 date: 07/05/2023
---snip---
Network:
  Device-1: Intel Cannon Point-LP CNVi [Wireless-AC] driver: iwlwifi
  IF: wlo1 state: down mac: --snip--
  Device-2: Intel Ethernet I219-LM driver: e1000e
  IF: eno2 state: down mac: --snip--
  IF-ID-1: docker0 state: down mac: 02:42:4b:e8:ba:97
  IF-ID-2: enp0s20f0u10 state: unknown speed: N/A duplex: N/A
    mac: 14:f6:d8:de:ca:28
  IF-ID-3: wwp0s20f0u7 state: down mac: 5e:34:88:88:0b
  1. ❯ lspci -s 00:14.3 -k
00:14.3 Network controller: Intel Corporation Cannon Point-LP CNVi [Wireless-AC] (rev 30)
	DeviceName: Onboard - Ethernet
	Subsystem: Intel Corporation Device 4030
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi

Things I’ve tried:

  1. Rebooting the system
  2. Disabled secure boot
  3. running ❯ sudo dnf install -y NetworkManager-wifi iwlwifi-dvm-firmware-20230919-1.fc39.noarch
  4. running ❯ sudo dnf update -y && sudo dnf upgrade -y

I’ve read lots of articles and Reddit posts but nothing has worked so far.

Note that you are quite some ways behind with that firmware

$ dnf list installed iwlwifi*firmware
Installed Packages
iwlwifi-dvm-firmware.noarch                                         20231111-1.fc39                                         @updates
iwlwifi-mvm-firmware.noarch                                         20231111-1.fc39                                         @updates

It might assist if you were to do a full sudo dnf upgrade --refresh then reboot to see if upgraded software and firmware may fix the problem. It is quite possible that your problem has already been fixed and a simple update may fix it.

If the update does not fix it then revisit the problem here and show current installed versions when you come back.

(Yes I know you already said you upgraded, but the firmware package you posted says otherwise.)

After running what you suggested, here’s what I got:

❯ sudo dnf upgrade --refresh

[sudo] password for spurz: 
Copr repo for PyCharm owned by phracek                              6.5 kB/s | 2.1 kB     00:00    
Docker CE Stable - x86_64                                            11 kB/s | 3.5 kB     00:00    
Fedora 39 - x86_64                                                   85 kB/s |  25 kB     00:00    
Fedora 39 openh264 (From Cisco) - x86_64                            3.7 kB/s | 989  B     00:00    
Fedora 39 - x86_64 - Updates                                        171 kB/s |  25 kB     00:00    
google-chrome                                                        10 kB/s | 1.3 kB     00:00    
RPM Fusion for Fedora 39 - Free                                      15 kB/s | 3.6 kB     00:00    
RPM Fusion for Fedora 39 - Free - Updates                           8.6 kB/s | 3.3 kB     00:00    
RPM Fusion for Fedora 39 - Nonfree - NVIDIA Driver                   28 kB/s | 6.5 kB     00:00    
RPM Fusion for Fedora 39 - Nonfree - Steam                           37 kB/s | 6.2 kB     00:00    
GitHub Desktop                                                      707  B/s | 228  B     00:00    
slack                                                               2.0 kB/s | 1.8 kB     00:00    
Visual Studio Code                                                  5.6 kB/s | 1.5 kB     00:00    
Dependencies resolved.
Nothing to do.
Complete!

I ran the command and rebooted. I then the following(output attached):

❯ sudo dnf update -y && sudo dnf upgrade -y

[sudo] password for spurz: 
Last metadata expiration check: 0:16:22 ago on Mon 27 Nov 2023 04:50:34 PM CST.
Dependencies resolved.
Nothing to do.
Complete!
Last metadata expiration check: 0:16:25 ago on Mon 27 Nov 2023 04:50:34 PM CST.
Dependencies resolved.
Nothing to do.
Complete!

WiFi works in Windows 11. Let me run a live usb and see if it works on that as well

Update: Wifi works in a live Ubuntu image

With that command you are repeating the same exact thing twice.
Within dnf ‘update’ is an alias for ‘upgrade’ so either one may be used and they do the same thing.

Thanks for the info. At this point, should I try to remove all wifi drivers and reinstall them? Or is that a dead-end?

I plugged in another external wifi adapter and it works. Its info is:

Device-3: Qualcomm Atheros AR9271 802.11n driver: ath9k_htc type: USB
  IF: wlp0s20f0u4 state: up mac: --snip--

With an immense amount of help from ChatGPT, I managed to get it working. We figured out basically that sudo iw dev wlo1 scan was working but sudo nmcli device wifi list was not working. What I then discovered was that in /etc/NetworkManager/NetworkManager.conf there was a line unmanaged-devices=interface-name:wlo1 that was causing all the issues. Because of that one line, NetworkManager was not managing wlo1. I commented that out, restarted NetworkManager and everything started working.

Thanks Jeff

Glad you were able to find the answer. Sometimes the seemingly innocuous thing in the configs has strange consequences. :+1: