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
I had one laptop doing this, the work around was disabling ipv6
Does
ping 1.1.1.1
Work ? If yes then could be DNS problem.
Do you have a custom DNS set up on your Fedora machine or the router by chance?
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.
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.
use journalctl -f to show you what’s happening as you try to connect and look for errors/failure/disconnects/etc.
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/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' Oct 31 17:36:02 fedora systemd[1946]: Starting grub-boot-success.service - Mark boot as successful... Oct 31 17:36:02 fedora systemd[1946]: Finished grub-boot-success.service - Mark boot as successful. Oct 31 17:36:11 fedora gnome-shell[2194]: Received multiple virtual 0x1d key releases (ignoring) Oct 31 17:36:21 fedora gnome-shell[2194]: Received multiple virtual 0x1d key releases (ignoring) Oct 31 17:36:25 fedora audit: BPF prog-id=75 op=LOAD Oct 31 17:36:25 fedora systemd[1]: Starting fprintd.service - Fingerprint Authentication Daemon... Oct 31 17:36:25 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' Oct 31 17:36:25 fedora systemd[1]: Started fprintd.service - Fingerprint Authentication Daemon. Oct 31 17:36:27 fedora audit[4805]: USER_AUTH pid=4805 uid=1000 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:authentication grantors=pam_unix acct="anonymous" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success' Oct 31 17:36:27 fedora audit[4805]: USER_ACCT pid=4805 uid=1000 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:accounting grantors=pam_unix acct="anonymous" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success' Oct 31 17:36:27 fedora sudo[4805]: anonymous : TTY=pts/1 ; PWD=/home/anonymous ; USER=root ; COMMAND=/usr/sbin/lshw -C network Oct 31 17:36:27 fedora audit[4805]: USER_CMD pid=4805 uid=1000 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='cwd="/home/anonymous" cmd=6C736877202D43206E6574776F726B exe="/usr/bin/sudo" terminal=pts/1 res=success' Oct 31 17:36:27 fedora audit[4805]: CRED_REFR pid=4805 uid=1000 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:setcred grantors=pam_unix acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success' Oct 31 17:36:27 fedora sudo[4805]: pam_unix(sudo:session): session opened for user root(uid=0) by anonymous(uid=1000) Oct 31 17:36:27 fedora audit[4805]: USER_START pid=4805 uid=1000 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:session_open grantors=pam_keyinit,pam_limits,pam_keyinit,pam_limits,pam_systemd,pam_unix acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success' Oct 31 17:36:30 fedora kernel: warning: `lshw' uses wireless extensions which will stop working for Wi-Fi 7 hardware; use nl80211 Oct 31 17:36:30 fedora sudo[4805]: pam_unix(sudo:session): session closed for user root Oct 31 17:36:30 fedora audit[4805]: USER_END pid=4805 uid=1000 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:session_close grantors=pam_keyinit,pam_limits,pam_keyinit,pam_limits,pam_systemd,pam_unix acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success' Oct 31 17:36:30 fedora audit[4805]: CRED_DISP pid=4805 uid=1000 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:setcred grantors=pam_unix acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success' Oct 31 17:36:55 fedora systemd[1]: fprintd.service: Deactivated successfully. Oct 31 17:36:55 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' Oct 31 17:36:55 fedora audit: BPF prog-id=75 op=UNLOAD Oct 31 17:36:57 fedora audit: BPF prog-id=76 op=LOAD Oct 31 17:36:57 fedora systemd[1]: Starting systemd-resolved.service - Network Name Resolution... Oct 31 17:36:57 fedora systemd-resolved[4883]: Positive Trust Anchors: Oct 31 17:36:57 fedora systemd-resolved[4883]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d Oct 31 17:36:57 fedora systemd-resolved[4883]: Negative trust anchors: home.arpa 10.in-addr.arpa 16.172.in-addr.arpa 17.172.in-addr.arpa 18.172.in-addr.arpa 19.172.in-addr.arpa 20.172.in-addr.arpa 21.172.in-addr.arpa 22.172.in-addr.arpa 23.172.in-addr.arpa 24.172.in-addr.arpa 25.172.in-addr.arpa 26.172.in-addr.arpa 27.172.in-addr.arpa 28.172.in-addr.arpa 29.172.in-addr.arpa 30.172.in-addr.arpa 31.172.in-addr.arpa 170.0.0.192.in-addr.arpa 171.0.0.192.in-addr.arpa 168.192.in-addr.arpa d.f.ip6.arpa ipv4only.arpa resolver.arpa corp home internal intranet lan local private test Oct 31 17:36:57 fedora systemd-resolved[4883]: Using system hostname 'fedora'. Oct 31 17:36:57 fedora systemd[1]: Started systemd-resolved.service - Network Name Resolution. Oct 31 17:36:57 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-resolved comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' Oct 31 17:36:57 fedora systemd-resolved[4883]: wlp0s20f3: Bus client set search domain list to: home, home Oct 31 17:36:57 fedora systemd-resolved[4883]: wlp0s20f3: Bus client set default route setting: yes Oct 31 17:36:57 fedora systemd-resolved[4883]: wlp0s20f3: Bus client set DNS server list to: [my current dns4 address], [my current dns6 address]