Fedora wifi question mark
from heartbreaker@lemmy.world to linux@lemmy.ml on 31 Oct 16:11
https://lemmy.world/post/21483747

On startup of my laptop, all wifi networks are detected, my laptop connects to the wifi, but I don’t have internet and get wifi with a question mark icon.

Upon running the following command I have immediately an internet connection: resolvectl --no-pager status

Does anybody have a clue what is going on, and how to resolve it?
I am running Fedora Linux 40 (Workstation Edition) firmware Version 2.29 DNS4, DNS6 : Automatic

Edit: updated to fedora 41, and the issue seems to be resolved for now

#linux

threaded - newest

eldavi@lemmy.ml on 31 Oct 16:20 next collapse

use journalctl -f to show you what’s happening as you try to connect and look for errors/failure/disconnects/etc.

heartbreaker@lemmy.world on 31 Oct 17:21 collapse

anonymous@fedora:~$ journalctl -f
Oct 31 17:34:08 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=geoclue comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 31 17:34:09 fedora realmd[1795]: quitting realmd service after timeout
Oct 31 17:34:09 fedora realmd[1795]: stopping service
Oct 31 17:34:09 fedora systemd[1]: realmd.service: Deactivated successfully.
Oct 31 17:34:09 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=realmd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 31 17:34:11 fedora systemd[1]: systemd-hostnamed.service: Deactivated successfully.
Oct 31 17:34:11 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 31 17:34:11 fedora audit: BPF prog-id=63 op=UNLOAD
Oct 31 17:34:11 fedora audit: BPF prog-id=62 op=UNLOAD
Oct 31 17:34:11 fedora audit: BPF prog-id=61 op=UNLOAD
Oct 31 17:34:14 fedora systemd[1]: systemd-timedated.service: Deactivated successfully.
Oct 31 17:34:14 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-timedated comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 31 17:34:14 fedora audit: BPF prog-id=74 op=UNLOAD
Oct 31 17:34:14 fedora audit: BPF prog-id=73 op=UNLOAD
Oct 31 17:34:14 fedora audit: BPF prog-id=72 op=UNLOAD
Oct 31 17:34:15 fedora systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
Oct 31 17:34:15 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 31 17:34:20 fedora systemd[1946]: Starting gvfs-metadata.service - Virtual filesystem metadata service...
Oct 31 17:34:20 fedora systemd[1946]: Started gvfs-metadata.service - Virtual filesystem metadata service.
Oct 31 17:34:30 fedora systemd[1946]: Started vte-spawn-20272143-c14e-4bfd-a2f8-d6bc96a25a33.scope - VTE child process 4502 launched by gnome-terminal-server process 3321.
Oct 31 17:35:05 fedora systemd[1]: virtqemud.service: Deactivated successfully.
Oct 31 17:35:05 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=virtqemud comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 31 17:35:29 fedora chronyd[968]: Can't synchronise: no selectable sources
Oct 31 17:35:44 fedora systemd[1]: Starting NetworkManager-dispatcher.service - Network Manager Script Dispatcher Service...
Oct 31 17:35:44 fedora systemd[1]: Started NetworkManager-dispatcher.service - Network Manager Script Dispatcher Service.
Oct 31 17:35:44 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 31 17:35:48 fedora gnome-shell[2194]: Received multiple virtual 0x1d key releases (ignoring)
Oct 31 17:35:54 fedora systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
Oct 31 17:35:54 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/li
heartbreaker@lemmy.world on 31 Oct 17:25 next collapse

I also typed those in a separate command window

anonymous@fedora:~$ nslookup discussion.fedoraproject.org 2001:4860:4860::8888
Server:		2001:4860:4860::8888
Address:	2001:4860:4860::8888#53

Non-authoritative answer:
discussion.fedoraproject.org	canonical name = fedoraproject.hosted-by-discourse.com.
Name:	fedoraproject.hosted-by-discourse.com
Address: 184.105.99.46
Name:	fedoraproject.hosted-by-discourse.com
Address: 2602:fd3f:3:ff01::2e

anonymous@fedora:~$ nmcli general status
STATE                  CONNECTIVITY  WIFI-HW  WIFI     WWAN-HW  WWAN    
connected (site only)  limited       enabled  enabled  enabled  enabled 
anonymous@fedora:~$ sudo lshw -C network | grep "driver"
[sudo] password for anonymous:
       configuration: broadcast=yes driver=iwlwifi driverversion=6.11.4-201.fc40.x86_64 firmware=46.7e3e4b69.0 9000-pu-b0-jf-b0- ip=[current ipv4 address] latency=0 link=yes multicast=yes wireless=IEEE 802.11
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=6.11.4-201.fc40.x86_64 firmware=0.4-3 latency=0 link=no multicast=yes port=twisted pair
       configuration: autonegotiation=off broadcast=yes driver=cdc_mbim driverversion=6.11.4-201.fc40.x86_64 duplex=half firmware=CDC MBIM link=no multicast=yes port=twisted pair
anonymous@fedora:~$ resolvectl --no-pager status
Global
         Protocols: LLMNR=resolve -mDNS -DNSOverTLS DNSSEC=no/unsupported
  resolv.conf mode: stub

Link 2 (enp0s31f6)
    Current Scopes: none
         Protocols: -DefaultRoute LLMNR=resolve -mDNS -DNSOverTLS
                    DNSSEC=no/unsupported

Link 3 (wwp0s20f0u5i12)
    Current Scopes: none
         Protocols: -DefaultRoute LLMNR=resolve -mDNS -DNSOverTLS
                    DNSSEC=no/unsupported

Link 4 (wlp0s20f3)
    Current Scopes: DNS LLMNR/IPv4 LLMNR/IPv6
         Protocols: +DefaultRoute LLMNR=resolve -mDNS -DNSOverTLS
                    DNSSEC=no/unsupported
       DNS Servers: [my current dns4 address] [my current dns6 address]
        DNS Domain: home
eldavi@lemmy.ml on 31 Oct 17:52 collapse

too much noise and not obvious errors/failures/timeouts; try filtering by service units with something like journalctl -u ${service-unit-name} and set deeper debugging level with sudo.

so i think that a list of the relevant service units will be decent place to start and the no-brainers from your copy/paste are audit, kernel, and systemd-${whatever} service units and we need to figure out what else we need to add to that list: maybe gnome-shell since you’ve mentioned nmcli? are you using fedora’s default ndiswrapper and what is it?

GolfNovemberUniform@lemmy.ml on 31 Oct 16:26 next collapse

Do you have a custom DNS set up on your Fedora machine or the router by chance?

heartbreaker@lemmy.world on 31 Oct 16:30 collapse

Do you have a custom DNS set up on your Fedora machine or the router by chance?

No, The DNS is set to automatic. And: ipv4 and ipv6 are set to automatic (DHCP), and automatic respectively.

GolfNovemberUniform@lemmy.ml on 31 Oct 16:34 collapse

Then I’m afraid I can’t help. I only have such an issue if the DNS is experiencing a downtime or I don’t pay my bills in time.

tfowinder@lemmy.ml on 31 Oct 16:32 next collapse

Does

ping 1.1.1.1

Work ? If yes then could be DNS problem.

heartbreaker@lemmy.world on 01 Nov 11:30 collapse

It does work, but changing DNS doesn’t solve the issue unfortunately

BCsven@lemmy.ca on 01 Nov 04:37 collapse

I had one laptop doing this, the work around was disabling ipv6