You are not logged in.

#1 2026-07-02 03:21:25

IrisStyx
Member
Registered: 2026-07-02
Posts: 9

[solved] internet not working and internet periodically disconnecting

still a newbie so not quite sure how to debug please do help out in that regard


context:

im on a relatively new install and it got progressively worse over the last 2 weeks at first i could connect fine to wifi but in sm like 3 days it started to take multiple attempts to authenticate with my home network but stayed stable after around 3 min of trying, after around another week and a half the time to authenticate went to around 40min. my school network and phones hotspot worked fine but today all three stopped working completely both the little indicator from kdeplasma and iwctl station wlan0 show show that my wifi is connected but nothing works on it

ping returns  :Temporary failure in name resolution

please be patient if i get smth wrong as a prb will

Last edited by IrisStyx (2026-07-02 23:16:30)

Offline

#2 2026-07-02 05:22:18

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,002

Re: [solved] internet not working and internet periodically disconnecting

Please post the output of

find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
ip a
ip r
dig archlinux.org
dig @8.8.8.8 archlinux.org

Does it still work w/ the LTS kernel?

Offline

#3 2026-07-02 12:09:51

IrisStyx
Member
Registered: 2026-07-02
Posts: 9

Re: [solved] internet not working and internet periodically disconnecting

 autovt@.service | system
bluetooth.service | bluetooth.target.wants
dbus-org.bluez.service | system
dbus-org.fedoraproject.FirewallD1.service | system
dbus-org.freedesktop.network1.service | system
dbus-org.freedesktop.nm-dispatcher.service | system
dbus-org.freedesktop.timesync1.service | system
dhcpcd.service | multi-user.target.wants
display-manager.service | system
dnsmasq.service | multi-user.target.wants
firewalld.service | multi-user.target.wants
fstrim.timer | timers.target.wants
getty@tty1.service | getty.target.wants
gnome-keyring-daemon.socket | sockets.target.wants
iwd.service | multi-user.target.wants
NetworkManager-wait-online.service | network-online.target.wants
NetworkManager.service | multi-user.target.wants
p11-kit-server.socket | sockets.target.wants
pipewire-pulse.sockets | sockets.target.wants
pipewire-session-manager.service | user
pipewire.socket | sockets.target.wants
proton.VPN.service | multi-user.target.wants
remote-fs.target | multi-user.target.wants
systemd-network-generator.service | sysinit.target.wants
systemd-networkd-resolve-hook.socket | sockets.target.wants
systemd-networkd-varlink-metrics.sockets | sockets.target.wants
systemd-networkd-varlink.socket | sockets.target.wants
systemd-networkd-wait-online.service | network-online.target.wants
systemd-networkd.service | multi-user.target.wants
systemd-networkd.socket | sockets.target.wants
systemd-timesyncd.service | sysinit.target.wants
system-userdbd.socket | sockets.target.wants
tuned.service | multi-user.target.wants
wireplumber.service | pipewire.service.wants
xdg-user-dirs.service | graphical-session-pre.target.wants


communications error to 8.8.0.8#53: timed out 
communications error to 8.8.0.8#53: timed out 
communications error to 8.8.0.8#53: timed out 

<<>> DiG 9.20.24 <<>> @8.8.8 archlinux.org
(1 server found)
; global operations; +cmd
; no servers could be reached 

Last edited by IrisStyx (2026-07-02 12:26:52)

Offline

#4 2026-07-02 12:14:31

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,002

Re: [solved] internet not working and internet periodically disconnecting

Please use [code][/code] tags. Edit your post in this regard.

disable and stop dhcpcd, iwd and all systemd-networkd* services
If you want to use iwd or dhcpcd w/ NM see https://wiki.archlinux.org/title/Networ … Fi_backend resp. https://wiki.archlinux.org/title/Networ … HCP_client

Report back about the development (w/ the vpn, dnsmasq & firewalld there's obviously opportunity for other problems)

Offline

#5 2026-07-02 12:32:37

IrisStyx
Member
Registered: 2026-07-02
Posts: 9

Re: [solved] internet not working and internet periodically disconnecting

stopped disabled everything you listed, what tests should i run now? reading what you sent meanwhile

Last edited by IrisStyx (2026-07-02 12:36:41)

Offline

#6 2026-07-02 12:36:14

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,002

Re: [solved] internet not working and internet periodically disconnecting

In doubt reboot, is the internet there and stable?
Otherwise please post the outputs of

ip a
ip r
dig archlinux.org
dig @8.8.8.8 archlinux.org

and pay attention to the syntax - "@8.8.8.8" is not something where you can randomly drop or replace digits

Offline

#7 2026-07-02 12:50:13

IrisStyx
Member
Registered: 2026-07-02
Posts: 9

Re: [solved] internet not working and internet periodically disconnecting

 <<>>> DiG 9.20.24 <<>> @8.8.8.8 archlinux.org
(1 server found) 
; global options: +cmd
; got answer: 
; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5743
; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

; OPT PSEUDISECTION:
ENDS: version: 0, flags:; udp: 512
; QUESTION SECTION:
archlinux.org. 60 IN A 209.126.35.79

; Query time: 539 msef
; SERVER: 8.8.8.8#53(8.8.8.8) (UDP)
; WHEN: Thu Jul 02 09:39:52 -03 2026
; MSG SIZE rcvd: 58 

I restarted my computer, it connected as usual with no issues but internet still doesnt work, im not on my home wifi so i also dont know if the periodic disconnecting has been fixed.

Offline

#8 2026-07-02 13:10:46

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,002

Re: [solved] internet not working and internet periodically disconnecting

What about

ip a
ip r
dig archlinux.org

?

DNS resolution at googles server works, so it might just be a resolver misconfiguration

cat /etc/resolv.conf

Unstable wifi specifically can also be caused by roaming, we'll see…

Offline

#9 2026-07-02 13:24:24

IrisStyx
Member
Registered: 2026-07-02
Posts: 9

Re: [solved] internet not working and internet periodically disconnecting

 ;communications error to ::1#53: connection refused
; communications error to ::1#53: connection refused
; communications error to ::1#53: connection refused
; communications error to 127.0.0.1#53: connection refused

<<>> DiG 9.20.24 <<>> archlinux.org
; global options: +cmd
; no servers could be reached 

i also ran

 cat /etc/resolv.conf 

and got no such file or directory

Last edited by IrisStyx (2026-07-02 13:27:00)

Offline

#10 2026-07-02 13:41:04

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,002

Re: [solved] internet not working and internet periodically disconnecting

You're trying to use some resolver on the localhost (eg. dnsmasq) but are blocked from access (firewalld?)

ss -tulpen

and in doubt fix your firewall configuration to allow udp on the local port #53

Not having any resolv.conf is however wild, nm typically writes that - did you https://wiki.archlinux.org/title/NetworkManager#dnsmasq ?

Offline

#11 2026-07-02 14:01:48

IrisStyx
Member
Registered: 2026-07-02
Posts: 9

Re: [solved] internet not working and internet periodically disconnecting

i fixed my firewall config
i also checked out the article you sent on 4.7.1.1 it failed saying there was no file

i checked that i had dnsmasq installed (its ver 2.93-1) and i also ran ls on

 /etc/NetworkManager/conf.d/ 

and nothing was listed

Offline

#12 2026-07-02 14:06:30

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,002

Re: [solved] internet not working and internet periodically disconnecting

it failed saying there was no file

What failed??

So after fixing your firewall, can you reach the local resolver?

Also please post the missing command outputs

ip a
ip r
ss -tulpen

Also post your complete system journal for the boot:

sudo journalctl -b | curl -s -H "Accept: application/json, */*" --upload-file - 'https://paste.c-net.org/'

Offline

#13 2026-07-02 14:50:24

IrisStyx
Member
Registered: 2026-07-02
Posts: 9

Re: [solved] internet not working and internet periodically disconnecting

i couldnt find the config file listed in the article (/etc/NetworkManager/conf.d/dns.conf)
there are also just no folders or files under /conf.d/

i thinkk i can reach the local resolver? i reran the older cmd and the new one you sent both seemed to work

<<>> DiG 9.20.24 <<>> @8.8.8.8 archlinux.org
(1 server found)
global options: +cmd
; Got answer:
; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56796
; flags: qr rd ra; QUERY: 1, ANSER: 1, AUTHORITY: 0, ADDITIONAL: 1

; OPT PSEUDOSECTION:
ENDS: version: 0, flags:; udp: 512
; QUESTION SECTION:
archlinux.org. IN A

; ANSWER SECTION:
archlinux.org. 26 IN A 209.126.35.79

; Query time: 140 msec
; SERVER: 8.8.8.8#53(8.8.8.8) (UDP) 
; WHEN: Thu Jul 02 11:11:04 -03 2026
; MSG SIZE rcvd: 58

i didnt get anything back from the sudo journal cmd but im also not sure if its supposed to give anything back, i did double check to see if it was correct tho.

forgot to add, still no internet

Last edited by IrisStyx (2026-07-02 14:56:13)

Offline

#14 2026-07-02 14:54:54

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,002

Re: [solved] internet not working and internet periodically disconnecting

The implication is to create the file and 8.8.8.8 is google, not the resolver on the localhost…

the journal upload might have failed because of the broken dns.

echo "nameserver 8.8.8.8" | sudo tee  /etc/resolv.conf
sudo chmod 644 /etc/resolv.conf

How exactly did you install archlinux?

Offline

#15 2026-07-02 15:02:51

IrisStyx
Member
Registered: 2026-07-02
Posts: 9

Re: [solved] internet not working and internet periodically disconnecting

 tee: /etc/resolv.conf: no such file or directory
nameserver 8.8.8.8
chmod: cannot operate in dangling symlink ‘/etc/resolv.conf’ 

i followed the arch wiki  guide to install arch and also watched a vid with a couple 100 thousand views to help out

Offline

#16 2026-07-02 18:33:42

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,002

Re: [solved] internet not working and internet periodically disconnecting

chmod: cannot operate in dangling symlink ‘/etc/resolv.conf’

At last…

sudo rm /etc/resolv.conf

and then restart NM you've likely been using resolved before and switched to dnsmasq?

Offline

#17 2026-07-02 22:54:00

IrisStyx
Member
Registered: 2026-07-02
Posts: 9

Re: [solved] internet not working and internet periodically disconnecting

yesss it worked, thank you very much.

ill be checking over the next few days for instability but it seems to be working fine. should i close the thread already?

btww im curious, i wanna learn more about how my system works so can you tell me what went wrong and why its significant?

Offline

#18 2026-07-03 05:10:04

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,002

Re: [solved] internet not working and internet periodically disconnecting

Your DNS configuration was off. see https://wiki.archlinux.org/title/Networ … management again.
The blue note. You apparently had been using resolved before, now there's dnsmasq but /etc/resolv.conf was/remained a symlink (and apparently pointing nowhere)
This is because resolved depends its behavior on the filetype of /etc/resolv.conf, https://wiki.archlinux.org/title/Systemd-resolved#DNS (which I'm sure someone thought to be a really clever and elegant approach but is actually not)

Removing the stale symlink "allowed" NM proper action.

Offline

Board footer

Powered by FluxBB