Ethernet occasionaly not working

I recently moved my computer to a different room and understandably have been connecting it to a different Ethernet port then before. This Ethernet port is very spotty, sometimes doesn't work entirely or flickers on and on. I connected a windows machine to the same ethernet port and had no issues. On the ethernet in the room I used to be in I never had even a slight performance drop. The ethernet I am attempting to use is going through a ZyXEL network switch if that makes any difference

I appreciate any and all help!
Thank you in advance!

What matters is.... We need a garuda-inxi report so someone can potentially help you. That will provide us details on what Ethernet NIC you actually have as a starting point.

2 Likes

here is the text spat out by garuda-inxi
I hope this helps!

Kernel: 6.0.7-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=89ad8e2d-f58a-4724-9502-dbdbfbe73c11 rw [email protected]
quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
loglevel=3
Desktop: KDE Plasma v: 5.26.2 tk: Qt v: 5.15.7 info: latte-dock
wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Desktop Mobo: ASUSTeK model: TUF GAMING X570-PLUS (WI-FI) v: Rev X.0x
serial: <superuser required> UEFI: American Megatrends v: 3001
date: 12/04/2020
CPU:
Info: model: AMD Ryzen 9 5950X bits: 64 type: MT MCP arch: Zen 3 gen: 4
level: v3 note: check built: 2021-22 process: TSMC n7 (7nm)
family: 0x19 (25) model-id: 0x21 (33) stepping: 0 microcode: 0xA201009
Topology: cpus: 1x cores: 16 tpc: 2 threads: 32 smt: enabled cache:
L1: 1024 KiB desc: d-16x32 KiB; i-16x32 KiB L2: 8 MiB desc: 16x512 KiB
L3: 64 MiB desc: 2x32 MiB
Speed (MHz): avg: 3998 high: 4002 min/max: 2200/5980 boost: enabled
scaling: driver: acpi-cpufreq governor: performance cores: 1: 4000 2: 3998
3: 4000 4: 3998 5: 4000 6: 3982 7: 4000 8: 3997 9: 3998 10: 3999 11: 4000
12: 4000 13: 4000 14: 3999 15: 4000 16: 4000 17: 3999 18: 4000 19: 4000
20: 4000 21: 3997 22: 3997 23: 3996 24: 4000 25: 4000 26: 4000 27: 4000
28: 4002 29: 4000 30: 4000 31: 4000 32: 3999 bogomips: 256023
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data status: Not affected
Type: retbleed status: Not affected
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
prctl
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
sanitization
Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
STIBP: always-on, RSB filling, PBRSB-eIBRS: Not affected
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA TU106 [GeForce RTX 2060 Rev. A] vendor: ASUSTeK
driver: nvidia v: 520.56.06 alternate: nouveau,nvidia_drm non-free: 515.xx+
status: current (as of 2022-10) arch: Turing code: TUxxx
process: TSMC 12nm built: 2018-22 pcie: gen: 3 speed: 8 GT/s lanes: 4
link-max: lanes: 16 bus-ID: 03:00.0 chip-ID: 10de:1f08 class-ID: 0300
Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.5
compositor: kwin_x11 driver: X: loaded: nvidia unloaded: modesetting
alternate: fbdev,nouveau,nv,vesa gpu: nvidia display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 92 s-size: 530x301mm (20.87x11.85")
s-diag: 610mm (24")
Monitor-1: DP-0 res: 1920x1080 dpi: 92 size: 532x304mm (20.94x11.97")
diag: 613mm (24.12") modes: N/A
OpenGL: renderer: NVIDIA GeForce RTX 2060/PCIe/SSE2 v: 4.6.0 NVIDIA
520.56.06 direct render: Yes
Audio:
Device-1: NVIDIA TU106 High Definition Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 4
link-max: lanes: 16 bus-ID: 03:00.1 chip-ID: 10de:10f9 class-ID: 0403
Device-2: AMD Starship/Matisse HD Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 0a:00.4 chip-ID: 1022:1487 class-ID: 0403
Sound API: ALSA v: k6.0.7-zen1-1-zen running: yes
Sound Server-1: PulseAudio v: 16.1 running: no
Sound Server-2: PipeWire v: 0.3.59 running: yes
Network:
Device-1: Intel Wireless-AC 9260 driver: iwlwifi v: kernel pcie: gen: 2
speed: 5 GT/s lanes: 1 bus-ID: 04:00.0 chip-ID: 8086:2526 class-ID: 0280
IF: wlp4s0 state: up mac: <filter>
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: ASUSTeK driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: e000 bus-ID: 05:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp5s0 state: up speed: 100 Mbps duplex: full mac: <filter>
IF-ID-1: anbox0 state: down mac: <filter>
Bluetooth:
Device-1: Intel Wireless-AC 9260 Bluetooth Adapter type: USB driver: btusb
v: 0.8 bus-ID: 5-5:2 chip-ID: 8087:0025 class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 0 state: down
bt-service: enabled,running rfk-block: hardware: no software: yes
address: <filter>
Drives:
Local Storage: total: 1.82 TiB used: 537.48 GiB (28.9%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital
model: WDS200T2B0A-00SM50 size: 1.82 TiB block-size: physical: 512 B
logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 20WD
scheme: GPT
Partition:
ID-1: / raw-size: 1.82 TiB size: 1.82 TiB (100.00%) used: 537.48 GiB
(28.9%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 608 KiB
(0.2%) fs: vfat dev: /dev/sda1 maj-min: 8:1
ID-3: /home raw-size: 1.82 TiB size: 1.82 TiB (100.00%) used: 537.48 GiB
(28.9%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-4: /var/log raw-size: 1.82 TiB size: 1.82 TiB (100.00%) used: 537.48
GiB (28.9%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-5: /var/tmp raw-size: 1.82 TiB size: 1.82 TiB (100.00%) used: 537.48
GiB (28.9%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 62.71 GiB used: 95.2 MiB (0.1%)
priority: 100 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 53.6 C mobo: N/A gpu: nvidia temp: 54 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 29%
Info:
Processes: 517 Uptime: 2h 1m wakeups: 0 Memory: 62.71 GiB used: 7.89 GiB
(12.6%) Init: systemd v: 251 default: graphical tool: systemctl
Compilers: gcc: 12.2.0 clang: 14.0.6 Packages: 1997 pm: pacman pkgs: 1985
libs: 550 tools: octopi,paru pm: flatpak pkgs: 12 Shell: fish v: 3.5.1
default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.22
Garuda (2.6.9-1):
System install date:     2022-10-17
Last full system update: 2022-11-06 ↻
Is partially upgraded:   No
Relevant software:       NetworkManager
Windows dual boot:       No/Undetected
Snapshots:               Snapper
Failed units:            systemd-networkd-wait-online.service

You MIGHT be a good candidate to try the r8168 driver (package r8168), or the r8168-dkms (from chaotic-aur), which it what I use myself.

[SOLVED] Problem with Realtek 8111/8168/8411 | No internet | r8169 / Kernel & Hardware / Arch Linux Forums is one reference to it, including the manual blacklist if need-be, but doesn't include the r8168-dkms which works with more kernels, including one you seem to be using as well, linux-zen, so, yes.

pacman -S r8168-dkms might solve your problem.

6 Likes

90% of Ethernet performance problems are related to cabling.

Windows will often be problem free, while Linux can have issues with the same network cabling. I would highly suggest purchasing some cat 6e or cat 7e cabling to make sure cabling is not part of the issue.

2 Likes

so it would be the cableing from the router to the network switch if I understand you correctly?

I installed the r8168-dkms driver and the issue persisted

Thank you for the help though!