Score:0

Ubuntu 22.04.3 LTS - Wired network connection randomly breaking until reboot

hk flag

I have a mini PC I use as a home server running Ubuntu 22.04.3 LTS. I've had it for several months now with no issues but as of a week or so ago it has started randomly losing connection to my network. It is on a wired connection but it just loses connection and acts like it is not plugged in.

I've tried:

  • Turning wired connection on/off in the settings
  • Removing and reinserting the network cable in the server and the router

Nothing seems to fix it except rebooting.

Potentially relevant details:

  • I install updates and reboot each night so it could be caused by a recent update
  • It's connected via a network switch (however the other devices on the switch work fine)
  • It uses a static local ip
  • Kernel version: 6.2.0-26-generic (this may have updated recently as I think I was on 5.something last time I checked)
  • Wifi is usually switched off but it seems to work fine if I turn it on

Appreciate any info or suggestions of what logs to look at to find out whats happening, thanks.

Edit: I've checked my upgrade logs and this issue first happened on Monday which seems to be when the kernel was updated, so potentially the kernel upgrade caused some problems. Before that I was on 5.19.0-50-generic so I may try downgrading if this continues and I can't find any other fix

mpboden avatar
do flag
Did you try a different cable? A different port on switch? A different switch?
QTom avatar
hk flag
@mpboden I dont have any other switches or cables, plus the fact that rebooting without touching anything fixes the issue makes me pretty confident its a software issue
Score:0
ph flag

I started having the same issues this week. I did a full update today and I haven't had the issue since. Knock on wood.

QTom avatar
hk flag
Good to know it's not just me. I'm a bit of a linux rookie, when you say "full update" what exactly did you do?
SRSLOL avatar
ph flag
Hey buddy. Did a sudo apt update / install -y. Still working. It was super frustrating because my wifi would work but not wired. I had to restart in the middle of work.
QTom avatar
hk flag
Unfortunately I can't say the same, I made sure I updated everything possible today and then it happened again within like an hour, will probably try downgrading my kernel later.
SRSLOL avatar
ph flag
One idea that just rattled around my head. What if you find the driver for the network card, delete it, reinstall it?
Score:0
vn flag

I'm having the same issues as you, which started about a week ago. I tried to do a system update yesterday, but lost connection a few hour later. I did a downgrade on my kernel this morning (5.19.0-50-generic) and for now, I haven't had the issue since

LiquidWifi avatar
vn flag
Downgrading my Kernel worked! Still no crash for now
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.