20

I have an issue with Ubuntu 22.04.1 I can't connect to the internet. I used the command [sudo lshw -c network] and have the line "Network Unclaimed".

*-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:d800(size=256) memory:f8fff000-f8ffffff memory:f8ff8000-f8ffbfff memory:f9ee0000-f9efffff

*-network UNCLAIMED description: Network controller product: RTL8812AE 802.11ac PCIe Wireless Network Adapter vendor: Realtek Semiconductor Co., Ltd. physical id: 0 bus info: pci@0000:02:00.0 version: 01 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list configuration: latency=0 resources: ioport:c800(size=256) memory:f9dfc000-f9dfffff

Also, some of my devices that use USB port are not working.

Don't know if I have done this code right:

$ sudo dpkg -s linux-modules-extra-$(uname -r) | grep Status
dpkg-query: package 'linux-modules-extra-5.15.0-52-generic' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
Milan
  • 196

2 Answers2

23

The package that provides network drivers, among many others, is linux-modules-extra. For reasons we don’t understand, it didn’t get installed in your update.

The package is here: https://packages.ubuntu.com/jammy/kernel/linux-modules-extra-5.15.0-52-generic

Please download it on some other computer and transfer it with a USB key or similar. Drag and drop it to the desktop of the Ubuntu computer. Now, in a terminal:

cd ~/Desktop
sudo dpkg -i linux*.deb

Reboot. Your network devices should now be working.

CAUTION: Note to searchers: It is doubtful that your exact kernel version and therefore linux-modules-extra version is still 5.15.0-32-generic as above, Please verify your running kernel version:

uname -r

If, as an example, you find that your running kernel version is 5.15.0-99-generic, then that is the version of linux-modules-extra that you need; i.e. linux-modules-extra-5.15.0-99-generic.

chili555
  • 61,330
1

I couldn't find the package in the link that @chili555 provided, but I got the idea.

So if you're able to connect your laptop to the internet with a wire/cable, the following commnad might do the job for you:

sudo apt reinstall linux-modules-extra-5.15.0-75-generic

I had the same issue and it worked for me on Ubuntu 22.04. The output of uname -a on my machine is as follows:

Linux xxxx-laptop 5.19.0-45-generic #46~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Jun 7 15:06:04 UTC 20 x86_64 x86_64 x86_64 GNU/Linux
amirpaia
  • 119