You are not logged in.

#1 2023-08-25 19:38:36

Mawkey
Member
Registered: 2023-08-25
Posts: 6

[SOLVED] Wired internet connection issues

Hello!
I lose connection to the internet completely randomly, sometimes after many hours and sometimes after a couple of minutes. The connection works again if I restart the computer. I am using KDE plasma 5 with NetworkManager, no other network application is installed and it's a wired connection. This issue appeared after I built myself a brand new computer and switched from Windows to Arch Linux so I suppose it could be a hardware issue or something wrong with my installation.

I've tried checking out journalctl for any interesting messages just after the connections drops and the only thing I've seen is:

NetworkManager[603]: <info>  [1692642132.9387] device (wlp10s0): set-hw-addr: set MAC address to [mac address] (scanning)
NetworkManager[603]: <info>  [1692642132.9986] device (wlp10s0): supplicant interface state: inactive -> interface_disabled
NetworkManager[603]: <info>  [1692642132.9986] device (p2p-dev-wlp10s0): supplicant management interface state: inactive -> interface_disabled
NetworkManager[603]: <info>  [1692642133.0414] device (wlp10s0): supplicant interface state: interface_disabled -> inactive

if anyone has any good troubleshooting tips or really anything that could be of help, I would be really thankful for it.

EDIT: Solution was to install r8168 driver.

Last edited by Mawkey (2023-09-10 15:42:48)

Offline

#2 2023-08-25 20:09:29

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

Re: [SOLVED] Wired internet connection issues

it's a wired connection

NetworkManager[603]: <info>  [1692642132.9387] device (wlp10s0): set-hw-addr: set MAC address to [mac address] (scanning)

Please post your complete system journal for and affected boot, eg

sudo journalctl -b -1 | curl -F 'file=@-' 0x0.st

for the previous one.

Offline

#3 2023-08-25 23:15:42

Mawkey
Member
Registered: 2023-08-25
Posts: 6

Re: [SOLVED] Wired internet connection issues

seth wrote:

it's a wired connection

NetworkManager[603]: <info>  [1692642132.9387] device (wlp10s0): set-hw-addr: set MAC address to [mac address] (scanning)

Please post your complete system journal for and affected boot, eg

sudo journalctl -b -1 | curl -F 'file=@-' 0x0.st

for the previous one.

Previous boot:
http://0x0.st/H9VZ.txt

Offline

#4 2023-08-26 06:44:21

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

Re: [SOLVED] Wired internet connection issues

aug 25 16:43:31 desktop kernel: r8169 0000:08:00.0 eth0: RTL8168h/8111h, 9c:6b:00:11:ac:8c, XID 541, IRQ 134
aug 25 16:43:31 desktop kernel: r8169 0000:0b:00.0 eth1: RTL8125B, 9c:6b:00:11:ac:8e, XID 641, IRQ 135

You're connecting on the RTL8168h, there's no indication of disconnects or carrier losses but

aug 25 16:48:54 desktop syncthing[661]: [Y2Y7H] INFO: quic://0.0.0.0:22000 detected NAT type: Port restricted NAT
aug 25 16:48:54 desktop syncthing[661]: [Y2Y7H] INFO: quic://0.0.0.0:22000 resolved external address quic://178.174.220.75:22000 (via stun.syncthing.net:3478)
aug 25 16:52:49 desktop systemd-timesyncd[571]: Timed out waiting for reply from 162.159.200.123:123 (2.arch.pool.ntp.org).
aug 25 16:52:59 desktop systemd-timesyncd[571]: Timed out waiting for reply from 91.209.0.17:123 (2.arch.pool.ntp.org).
aug 25 16:53:09 desktop systemd-timesyncd[571]: Timed out waiting for reply from 194.58.204.20:123 (2.arch.pool.ntp.org).
aug 25 16:53:19 desktop systemd-timesyncd[571]: Timed out waiting for reply from 193.182.111.14:123 (2.arch.pool.ntp.org).
aug 25 16:58:58 desktop systemd[1]: Starting Cleanup of Temporary Directories...
aug 25 16:58:58 desktop systemd[1]: systemd-tmpfiles-clean.service: Deactivated successfully.
aug 25 16:58:58 desktop systemd[1]: Finished Cleanup of Temporary Directories.
aug 25 16:58:58 desktop systemd[1]: run-credentials-systemd\x2dtmpfiles\x2dclean.service.mount: Deactivated successfully.
aug 25 17:12:45 desktop syncthing[661]: [Y2Y7H] INFO: Relay listener (dynamic+https://relays.syncthing.net/endpoint) shutting down
aug 25 17:12:45 desktop syncthing[661]: [Y2Y7H] INFO: listenerSupervisor@dynamic+https://relays.syncthing.net/endpoint: service dynamic+https://relays.syncthing.net/endpoint failed: could not find a connectable relay

this here happens out of the blue.

aug 25 16:43:30 desktop kernel: Linux version 6.4.4-arch1-1 (linux@archlinux) (gcc (GCC) 13.1.1 20230714, GNU ld (GNU Binutils) 2.40.0) #1 SMP PREEMPT_DYNAMIC Wed, 19 Jul 2023 19:19:38 +0000

Kernel is old, most likely https://bugzilla.kernel.org/show_bug.cgi?id=217596
You can try r8168 or update the kernel (it should™ be fixed by now)

Offline

#5 2023-08-26 08:48:59

Mawkey
Member
Registered: 2023-08-25
Posts: 6

Re: [SOLVED] Wired internet connection issues

I have updated to kernel 6.4.12, I will see if this fixes the issue.
It's completely random when this disconnect happens so I will keep this open for a couple days and then report back if something or nothing happened.

Thanks a lot for your time!

Edit 2023-08-28: so far no internet connection issues but my computer has started to randomly reboot instead, unsure if related. Will report back at the end of the week.

Last edited by Mawkey (2023-08-28 17:56:48)

Offline

#6 2023-08-29 17:39:33

Mawkey
Member
Registered: 2023-08-25
Posts: 6

Re: [SOLVED] Wired internet connection issues

Okay so it just happened again, meaning that updating the kernel didn't fix the issue. I will try the r8168 driver and see if it changes anything. I did find some old posts from 2018 where they mentioned that r8169 is terribly unstable, so here's hoping that this will be it.

EDIT: Well it's been two weeks and no internet issues so far so I will consider this solved. The fix was to install r8168 driver, thanks a lot for the help Seth, absolute champion!

Last edited by Mawkey (2023-09-10 15:40:42)

Offline

Board footer

Powered by FluxBB