Two updates ago I lost my ability to connect to the internet. This happens when I change to a newer version of Ubuntu and when a change is made to the Ethernet package. I am currently running:
lsb_release -aNo LSB modules are available.Distributor ID: UbuntuDescription: Ubuntu 22.04.3 LTSRelease: 22.04Codename: jammy
My Ethernet controller is:
sudo lshw -C network *-network UNCLAIMED description: Ethernet controller product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller vendor: Realtek Semiconductor Co., Ltd. physical id: 0 bus info: pci@0000:03:00.0 version: 03 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress msix vpd bus_master cap_list configuration: latency=0 resources: ioport:ce00(size=256) memory:fdfff000-fdffffff memory:fdff8000-fdffbfff memory:fd600000-fd61ffff
ip link show1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
sudo modprobe r8168 modprobe: FATAL: Module r8168 not found in directory /lib/modules/6.5.0-14-generic
sudo apt-get install r8168-dkmsReading package lists... DoneBuilding dependency tree... DoneReading state information... Doner8168-dkms is already the newest version (8.049.02-1ubuntu1.2).0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
sudo apt install net-toolsReading package lists... DoneBuilding dependency tree... DoneReading state information... Donenet-tools is already the newest version (1.60+git20181103.0eebece-1ubuntu5).0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
sudo modprobe r8168modprobe: FATAL: Module r8168 not found in directory /lib/modules/6.5.0-14-generic
sudo systemctl restart network-manager.serviceFailed to restart network-manager.service: Unit network-manager.service not found.
In the past doing this used to restore my Ethernet connection, but this time it has not. Can anyone please tell me what I have done wrong or what has changed in 22.04.