You are not logged in.
I just did a fresh install on my system and my ethernet is extremely unstable. I have had multiple different distros and windows installed on this machine for a long time and have never had any issues with ethernet before, so I am not really not sure what the problem could be and I spent a long time searching these forums before posting.
Basically my ethernet connection will cut out for about 5-15 seconds, and then come back online. Sometimes it does this in a loop for a very long time, and sometimes it cuts out and then comes back and works fine for awhile.
Another problem is that sometimes /usr/lib/systemd/systemd-resolved will take up a very large amount of my CPU power. I have an AMD 7700X and if I am not gaming, it is very rare to see my processor usage above 10%, but sometimes systemd-resolved is taking up as much as 60% of my cpu usage. I am unsure if these problems are related or not, sometimes systemd-resolved is not hogging resources, but my ethernet is still unstable.
Here is the information on my ethernet controller from lspci -k
Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7d78
Kernel driver in use: r8169
Kernel modules: r8169, r8125I am not sure what other system information or logs would be useful, but I can post anything that would be helpful. Thank you.
Offline
What is the output of
find /etc/systemd/system?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
What is the output of
find /etc/systemd/system?
/etc/systemd/system
/etc/systemd/system/dbus-org.freedesktop.network1.service
/etc/systemd/system/sockets.target.wants
/etc/systemd/system/sockets.target.wants/systemd-networkd.socket
/etc/systemd/system/sockets.target.wants/systemd-userdbd.socket
/etc/systemd/system/systemd-suspend.service.wants
/etc/systemd/system/systemd-suspend.service.wants/nvidia-suspend.service
/etc/systemd/system/systemd-suspend.service.wants/nvidia-resume.service
/etc/systemd/system/multi-user.target.wants
/etc/systemd/system/multi-user.target.wants/remote-fs.target
/etc/systemd/system/multi-user.target.wants/systemd-networkd.service
/etc/systemd/system/multi-user.target.wants/sshd.service
/etc/systemd/system/multi-user.target.wants/tailscaled.service
/etc/systemd/system/dbus-org.freedesktop.timesync1.service
/etc/systemd/system/timers.target.wants
/etc/systemd/system/timers.target.wants/fstrim.timer
/etc/systemd/system/network-online.target.wants
/etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service
/etc/systemd/system/systemd-hibernate.service.wants
/etc/systemd/system/systemd-hibernate.service.wants/nvidia-hibernate.service
/etc/systemd/system/systemd-hibernate.service.wants/nvidia-resume.service
/etc/systemd/system/sysinit.target.wants
/etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service
/etc/systemd/system/sysinit.target.wants/systemd-network-generator.service
/etc/systemd/system/sysinit.target.wants/systemd-resolved.service
/etc/systemd/system/dbus-org.freedesktop.resolve1.service
/etc/systemd/system/display-manager.service
/etc/systemd/system/getty.target.wants
/etc/systemd/system/getty.target.wants/getty@tty1.serviceOffline
I am not that familiar with networkd, but I think you need to stop and disable dbus-org.freedesktop.network1.service
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
I am not that familiar with networkd, but I think you need to stop and disable dbus-org.freedesktop.network1.service
Just tried that and now ethernet doesn't work at all. Trying to reenable the service and I get:
Failed to start dbus-org.freedesktop.network1.service: Unit dbus-org.freedesktop.network1.service not found.Offline
Let's back things up a bit. It looks like you are using a wired network adapter. Is it an adapter that is built in to the computer that won't dynamically appear and disappear (like a wired USB dongle might).
You are not using a Wireless device.
You might consider disabling all the networkd service stuff and just enabling dhcpd service.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
network1.service is part of networkd, there're no collisions but tailscaled.service looks at me.
If it's not the VPN, can we see a journal covering such losses?
For the current boot:
sudo journalctl -b | curl -F 'file=@-' 0x0.stOnline
network1.service is part of networkd, there're no collisions but tailscaled.service looks at me.
If it's not the VPN, can we see a journal covering such losses?
For the current boot:sudo journalctl -b | curl -F 'file=@-' 0x0.st
I was having the issue before installing tailscale. I installed while it was intermittently working and I thought it fixed itself, but alas it is not working. I disabled tailscale until I get the connection stable.
sudo journalctl -b | curl -F 'file=@-' 0x0.streturns
curl: (6) Could not resolve host: 0x0.stOffline
ewaller wrote:I am not that familiar with networkd, but I think you need to stop and disable dbus-org.freedesktop.network1.service
Just tried that and now ethernet doesn't work at all. Trying to reenable the service and I get:
Failed to start dbus-org.freedesktop.network1.service: Unit dbus-org.freedesktop.network1.service not found.
After I disabled network1.service I realized I did not have dhcpcd enabled. I enabled that and rebooted and my ethernet connection is back to being unstable. It will stay connected for a few moments and then lose connection intermittently and then restore itself.
Offline
I did not have dhcpcd enabled. I enabled that and rebooted and my ethernet connection is back to being unstable.
there we go!
do NOT use multiple conflicting network services at once!
either systemd-networkd/-resolved OR dhcpcd - but NOT both at the same time!
Offline
theberger23 wrote:I did not have dhcpcd enabled. I enabled that and rebooted and my ethernet connection is back to being unstable.
there we go!
do NOT use multiple conflicting network services at once!
either systemd-networkd/-resolved OR dhcpcd - but NOT both at the same time!
So originally I had networkd-resolved enabled and dhcpcd disabled when I was having issues. I'm not sure why I was having issues with networkd-resolved, but yes disabling it seems to have fixed my problem. I've been using it for a few hours now and it hasn't dropped yet.
Thank you
Offline
the issue with using multiple conflicting services is ... well they conflict with eachother
the drop outs often happen because one service configures all stuff and then another one overrides it - then the first service sees something was modified and thinks it has to be changed back - and this happens in an endless loop
there're several conflicting services - as always the wiki is your friend: https://wiki.archlinux.org/title/Network_configuration
the gist is: only use one of the options listed - don't mix them - espacially when you use automatic config like dhcp
Offline
Since you now have a -spotty- connection again, can you upload the journal?
Otherwise you'll have to redirect it into a file and usb-walk that to a sysetm with usable internet connection.
Online