1

I just upgraded kubuntu to 24.04.1. My usual network connection (a completely default/automatic wired ethernet) took a while to "connect" but did not get an IP. The following have no effect:

sudo dhclient eno1
sudo service NetworkManager restart

On a whim I tried this, which immediately fixed everything. Sadly this does not persist after rebooting. How can I make it permanent?

sudo dpkg-reconfigure network-manager

I suspect this runs /var/lib/dpkg/info/network-manager.postinst, but I'm not sure which parts could be important.

Internet just works when booting from a live ubuntu USB.


This system has been upgraded since kubuntu 18.04. Could there be old configs or conflicting packages that might be the cause?

The upgrade itself didn't go smoothly. It was interrupted during do-release-upgrade download. After restoring the /etc/apt sources.list from their *.distUpgrade backups, iterating the following commands got me to the finish line:

sudo dpkg --configure -a
sudo apt-get install -f
sudo apt update
sudo apt upgrade
sudo apt dist-upgrade

The first reboot hit "452: out of range pointer" during installation - Why? And how to fix it?, but reinstalling grub fixed that.

lsb_release -a now shows Ubuntu 24.04.1 LTS and apt lists only 5 packages "kept back due to phasing".

jozxyqk
  • 1,181
  • 1
  • 15
  • 28

1 Answers1

0

Maybe try setting the connection to auto connect?

List your devices and get the conection name (last column)

>sudo nmcli device status 
DEVICE    TYPE      STATE                   CONNECTION 
enp4s0    ethernet  connected               CX3_1      
lo        loopback  connected (externally)  lo         
docker0   bridge    connected (externally)  docker0   

Then make sure it's set to auto connect.

sudo nmcli con mod CX3_1 connection.autoconnect yes

I've had this work for me before, but sadly I'm experiencing a similar issue and the above is not fixing it for me. Similar to you, I can get mine working no problem, but it doesn't persist.

Callan
  • 101