3

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

QTom
  • 153

4 Answers4

1

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
  • 26
  • 2
1

The network naming has changed at the installation. Cards named previously in 5.15 ens<x>f<y>np<z> with 22.04 are named with the new installer ens<x>f<y>. The same behavior applies with the linux-generic-hwe-22.04, and drops all network connections at the first reboot. Hence you would need to rename manually in /etc/netplan/00-... the network cards and then reboot. I am putting a bug report at ubuntu right away.

xouv
  • 11
0

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.

SRSLOL
  • 11
  • 1
0

I had this issue also, and I tried so many things, and nothing helpep, and then I just disabled the Security boot option, and then my issue was solved. Maybe it can help someone else