Internet connection may or may not work on boot

I recently reinstalled, I previously had no such issues with any distro I tried (including endeavouros).
When I boot my computer 8 times out of 10 internet either doesn’t work or, if it does, the pink is absurdly bad.
A friend suggested I try using connman instead, that did not help.

When it connects to the internet well everything is fast and flawless.

Has anyone encountered a similar issue?

inxi -Naz
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Micro-Star MSI X570-A PRO driver: r8168 v: 8.051.02-NAPI
modules: r8169 pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: d000
bus-ID: 27:00.0 chip-ID: 10ec:8168 class-ID: 0200

Si esattamente come hai detto
allora passo a window ed internet funziona perfettamente

Yes exactly as you said
then I switch to window and the internet works perfectly

Bro, reading the first part in italian tripped me hardcore. I got so confused. I initially thought that you answered in italian because I posted in italian myself.

inxi -Naz would at least give a hint on the hardware and used driver…
darebbe almeno un suggerimento sull’hardware e sul driver utilizzato … :sunglasses:

inxi -Naz
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Micro-Star MSI X570-A PRO driver: r8168 v: 8.051.02-NAPI
modules: r8169 pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: d000
bus-ID: 27:00.0 chip-ID: 10ec:8168 class-ID: 0200

Yeah you’re right but you know, I’m a dummy.

Si hai ragione ma sai, sono incapace.

You have Realtek 8168 hardware. I’d try uninstalling package r8168 and reboot. If that doesn’t help anything, you can re-install it easily (it should be in the package cache:
ls -l /var/cache/pacman/pkg/r8168*

1 Like

unstable internet connection is exactly one indicator for the need of the older driver package r8168

community/r8168-lts 8.051.02-26 (89.2 KiB 86.7 KiB) 
    A kernel module for Realtek 8168 network cards for linux-lts
community/r8168 8.051.02-30 (102.4 KiB 100.0 KiB) 
    A kernel module for Realtek 8168 network cards
1 Like

This link may help: https://wiki.archlinux.org/title/Network_configuration/Ethernet

1 Like