You are not logged in.

#1 2024-02-27 22:19:59

Kenj1ten
Member
Registered: 2024-02-27
Posts: 4

[SOLVED] Slow times on wired connection

Hello,
I'm having problems with my wired internet connection.

The actual bandwidth is fine (around 400 Mbps up and 400 Mbps down.) However, whenever I browse anything or use ping, the response takes a long time.
As a result, I can't connect to things like Discord or even the Arch repository.

Output of ping youtube.com

ping youtube.com                                                                                                             
PING youtube.com (2800:3f0:4001:808::200e) 56 data bytes
64 bytes from 2800:3f0:4001:808::200e: icmp_seq=1 ttl=117 time=7.34 ms
64 bytes from 2800:3f0:4001:808::200e: icmp_seq=2 ttl=117 time=7.40 ms
64 bytes from 2800:3f0:4001:808::200e: icmp_seq=3 ttl=117 time=7.51 ms
64 bytes from 2800:3f0:4001:808::200e: icmp_seq=4 ttl=117 time=7.64 ms
64 bytes from 2800:3f0:4001:808::200e: icmp_seq=5 ttl=117 time=7.40 ms
^C
--- youtube.com ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 13028ms
rtt min/avg/max/mdev = 7.340/7.458/7.638/0.105 ms

It always takes more than 5 seconds before and after the first line of ping is outputted.
That makes me think it might be a DNS problem, but nothing I've read seems to work.

Ouput of lspci -v

09:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
	Subsystem: ASRock Incorporation RTL8125 2.5GbE Controller
	Flags: bus master, fast devsel, latency 0, IRQ 41, IOMMU group 20
	I/O ports at e000 [size=256]
	Memory at fca00000 (64-bit, non-prefetchable) [size=64K]
	Memory at fca10000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: r8125
	Kernel modules: r8169, r8125

I am using the r8125-dkms package and have r8169 blacklisted.

Output of cat /etc/resolv.conf

# Generated by NetworkManager
nameserver 192.168.100.1
nameserver fe80::1%enp9s0

I have tried Google's and CloudFlare's DNS and noticed no difference.

Output of dmesg | grep r8125

[    7.296776] r8125: loading out-of-tree module taints kernel.
[    7.296784] r8125: module verification failed: signature and/or required key missing - tainting kernel
[    7.298426] r8125 Ethernet controller driver 9.012.04-NAPI loaded
[    7.325744] r8125: This product is covered by one or more of the following patents: US6,570,884, US6,115,776, and US6,327,625.
[    7.327780] r8125  Copyright (C) 2023 Realtek NIC software team <nicfae@realtek.com>
[    7.361806] r8125 0000:09:00.0 enp9s0: renamed from eth0
[    8.624734] r8125 0000:09:00.0: invalid VPD tag 0x00 (size 0) at offset 0; assume missing optional EEPROM
[   11.078545] r8125: enp9s0: link up

Not sure if it's needed but here is the output of cat /etc/nsswitch.conf

cat /etc/nsswitch.conf                                                                                                       ─╯
# Name Service Switch configuration file.
# See nsswitch.conf(5) for details.

passwd: files systemd
group: files [SUCCESS=merge] systemd
shadow: files systemd
gshadow: files systemd

publickey: files

hosts: mymachines resolve [!UNAVAIL=return] files myhostname dns
networks: files

protocols: files
services: files
ethers: files
rpc: files

netgroup: files

I have tested the wired connection on another device and it works fine.

I don't know if this can be related but I also can't access my routers page from this computer. On my laptop I can though.

I'd be grateful if you guys could help me troubleshoot this.

Last edited by Kenj1ten (2024-02-28 16:11:25)

Offline

#2 2024-02-28 10:00:01

-thc
Member
Registered: 2017-03-15
Posts: 527

Re: [SOLVED] Slow times on wired connection

Please post the out put 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
resolvectl status

Offline

#3 2024-02-28 13:35:54

Kenj1ten
Member
Registered: 2024-02-27
Posts: 4

Re: [SOLVED] Slow times on wired connection

find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f  

dbus-org.freedesktop.nm-dispatcher.service | system
getty@tty1.service                       | getty.target.wants
libvirtd-admin.socket                    | sockets.target.wants
libvirtd-ro.socket                       | sockets.target.wants
libvirtd.service                         | multi-user.target.wants
libvirtd.socket                          | sockets.target.wants
NetworkManager.service                   | multi-user.target.wants
NetworkManager-wait-online.service       | network-online.target.wants
p11-kit-server.socket                    | sockets.target.wants
pulseaudio.socket                        | sockets.target.wants
remote-fs.target                         | multi-user.target.wants
syncthing@murilo.service                 | multi-user.target.wants
virtlockd-admin.socket                   | sockets.target.wants
virtlockd.socket                         | sockets.target.wants
virtlogd-admin.socket                    | sockets.target.wants
virtlogd.socket                          | sockets.target.wants
ip a                                                                                                                         
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute
       valid_lft forever preferred_lft forever
2: enp9s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 9c:6b:00:17:3b:28 brd ff:ff:ff:ff:ff:ff
    inet 192.168.100.10/24 brd 192.168.100.255 scope global dynamic noprefixroute enp9s0
       valid_lft 86197sec preferred_lft 86197sec
    inet6 2001:1284:f508:4c2c:a731:2a69:7f01:dc02/64 scope global dynamic noprefixroute
       valid_lft 345396sec preferred_lft 345396sec
    inet6 fe80::3191:8343:27b:56f3/64 scope link noprefixroute
       valid_lft forever preferred_lft forever
3: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 52:54:00:39:a8:dd brd ff:ff:ff:ff:ff:ff
    inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
       valid_lft forever preferred_lft forever
4: virbr1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 52:54:00:88:27:ae brd ff:ff:ff:ff:ff:ff
    inet 192.168.100.1/24 brd 192.168.100.255 scope global virbr1
       valid_lft forever preferred_lft forever
ip r
default via 192.168.100.1 dev enp9s0 proto dhcp src 192.168.100.10 metric 100
192.168.100.0/24 dev virbr1 proto kernel scope link src 192.168.100.1 linkdown
192.168.100.0/24 dev enp9s0 proto kernel scope link src 192.168.100.10 metric 100
192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1 linkdown
resolvectl status                                                                                                            
Global
           Protocols: +LLMNR +mDNS -DNSOverTLS DNSSEC=no/unsupported
    resolv.conf mode: foreign
  Current DNS Server: 192.168.100.1
         DNS Servers: 192.168.100.1
Fallback DNS Servers: 1.1.1.1#cloudflare-dns.com 9.9.9.9#dns.quad9.net 8.8.8.8#dns.google 2606:4700:4700::1111#cloudflare-dns.com
                      2620:fe::9#dns.quad9.net 2001:4860:4860::8888#dns.google

Link 2 (enp9s0)
    Current Scopes: DNS LLMNR/IPv4 LLMNR/IPv6 mDNS/IPv4 mDNS/IPv6
         Protocols: +DefaultRoute +LLMNR +mDNS -DNSOverTLS DNSSEC=no/unsupported
       DNS Servers: 192.168.100.1 fe80::1

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

Link 4 (virbr1)
    Current Scopes: none
         Protocols: -DefaultRoute +LLMNR +mDNS -DNSOverTLS DNSSEC=no/unsupported

Offline

#4 2024-02-28 15:32:29

seth
Member
Registered: 2012-09-03
Posts: 52,615

Re: [SOLVED] Slow times on wired connection

What's the deal w/ the virtual bridge?

dig heise.de
dig @8.8.8.8 heise.de
dig @1.1.1.1 heise.de

Offline

#5 2024-02-28 15:45:24

Kenj1ten
Member
Registered: 2024-02-27
Posts: 4

Re: [SOLVED] Slow times on wired connection

seth wrote:

What's the deal w/ the virtual bridge?

dig heise.de
dig @8.8.8.8 heise.de
dig @1.1.1.1 heise.de

To be honest I don't know much about all this. I set that up for a Windows VM.

dig heise.de                                                                                                                 
;; communications error to 192.168.100.1#53: timed out

; <<>> DiG 9.18.24 <<>> heise.de
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44192
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;heise.de.			IN	A

;; ANSWER SECTION:
heise.de.		86233	IN	A	193.99.144.80

;; Query time: 3 msec
;; SERVER: 192.168.100.1#53(192.168.100.1) (UDP)
;; WHEN: Wed Feb 28 12:42:01 -03 2024
;; MSG SIZE  rcvd: 53
dig @8.8.8.8 heise.de                                                                                                        
;; communications error to 8.8.8.8#53: timed out
;; communications error to 8.8.8.8#53: timed out
;; communications error to 8.8.8.8#53: timed out

; <<>> DiG 9.18.24 <<>> @8.8.8.8 heise.de
; (1 server found)
;; global options: +cmd
;; no servers could be reached
dig @1.1.1.1 heise.de                                                                                                        
;; communications error to 1.1.1.1#53: timed out

; <<>> DiG 9.18.24 <<>> @1.1.1.1 heise.de
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12910
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;heise.de.			IN	A

;; ANSWER SECTION:
heise.de.		86400	IN	A	193.99.144.80

;; Query time: 199 msec
;; SERVER: 1.1.1.1#53(1.1.1.1) (UDP)
;; WHEN: Wed Feb 28 12:43:45 -03 2024
;; MSG SIZE  rcvd: 53

Offline

#6 2024-02-28 15:52:03

seth
Member
Registered: 2012-09-03
Posts: 52,615

Re: [SOLVED] Slow times on wired connection

I set that up for a Windows VM.

Get rid of that, see whether that fixes your problem.

You're timing out reaching the google and cloudflare servers, it's a routing or connection problem, not a DNS one.

Last edited by seth (2024-02-28 15:52:20)

Offline

#7 2024-02-28 16:08:28

Kenj1ten
Member
Registered: 2024-02-27
Posts: 4

Re: [SOLVED] Slow times on wired connection

seth wrote:

I set that up for a Windows VM.

Get rid of that, see whether that fixes your problem.

You're timing out reaching the google and cloudflare servers, it's a routing or connection problem, not a DNS one.

I removed all the packages related to my vm setup and the problem was solved.
Thank you for the help.

Offline

#8 2024-02-28 16:12:22

seth
Member
Registered: 2012-09-03
Posts: 52,615

Re: [SOLVED] Slow times on wired connection

https://wiki.archlinux.org/title/Libvirt
But you don't need any of that if you just want to run a windows guest in virtualbox.

Offline

Board footer

Powered by FluxBB