How to troubleshoot "no wifi" in qubes

Original forum link
https://forum.qubes-os.org/t/10856
Original poster
suspiciousactions
Editors
deeplow, Suspicious_Actions
Created at
2022-04-17 22:39:32
Last wiki edit
2023-09-07 05:26:20
Revisions
2 revisions
Posts count
23
Likes count
11

Roadmap on troubleshooting missing wifi in qubes

This is the roadmap on how to wifi troubleshoot. At the steps with [N] i have some additional information that is really worth reading before starting down below.

You right now:

So you are in the position, that suddently your qubesOS is not connected to your wifi for some reason. It worked once and you did not change anything you can think. No worries, we can fix this.

You first have to determine:

  1. Can you see networks/your network?

If yes: It "forgot" the network. Add it/reconnect. This may happen again, but will get rarer until it does work 100% of times.

If no:

  1. Does sys-net see the the wifi card and recognizes it as such? (iwconfig in sys-net should display wifi device[1])

If yes: Restart network manager. (sudo systemctl restart NetworkManager in sys-net or restart whole qube[3])

If no:

  1. Is the wificard present as a PCI device in sys-net? (sudo lspci -v in sys-net should show wifi device[2])

If Yes: Driver issue, what to do is dependend on what sudo lspci -v says the card is.

If no:

  1. Can dom0 see the PCI wifi card? (sudo lspci -v [2] in dom0).

If yes: Check settings for missing device assignment. Assign card to sys-net. Exact commands/device is dependend on output of lspci

If no:

  1. Check bios if card is activated.

If no: Activate card in bios If yes:

  1. Try your wifi card with another OS or in another device to determine if it is physically functional

Other things one can try and useful stuff:

lo        no wireless extensions.

ens6f0    no wireless extensions.

wls7      IEEE 802.11  ESSID: $ESSID 
          Mode:Managed  Frequency:5.24 GHz  Access Point: FF:FF:FF:FF:FF:FF  
          Bit Rate=866.7 Mb/s   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
          Link Quality=70/70  Signal level=-26 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:18   Missed beacon:0

vif3.0    no wireless extensions.

This means, that your system has detected the wifi card and can communicate with it.

If you only have "no wireless extentions." lines, your sys-net does not know how to talk to the card (or does not even see it).

00:06.0 0280: 8086:2723 (rev 1a)
    Subsystem: 8086:0084
    Physical Slot: 6
    Flags: fast devsel, IRQ 40
    Memory at f2024000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: <access denied>
    Kernel modules: iwlwifi

It may speed up finding it, but not finding it with that does not necessarily mean it is missing! As you can see, the wifi device can be quite hidden (usually it is not tho). In the worst case you have to go through all devices and determine with your favorite search engine what all the devices are.

This would be the whole roadmap through "Wifi not working" as far as i can see to at least narrow down where the problem is.

I wrote this and determined, it might be a good roadmap to post as a standalone guide. Please add your error if this would not be determined by this procedure or help improve this.