User Tools

Site Tools


wiki:ubuntu_troubleshooting

Ubuntu troubleshooting

22.04

No wired internet - 22.04.2 Network Unclaimed

Happened after upgrade from 20.04.04 to 22.04.2, there was no wired connection detected:

antisa@antisa-desktop:/etc/netplan$ 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:04:00.0
version: 15
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix cap_list
configuration: latency=0
resources: ioport:e000(size=256) memory:fc604000-fc604fff
memory:fc600000-fc603fff
*-network UNCLAIMED
description: Ethernet controller
product: RTL8125 2.5GbE Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:2a:00.0
version: 04
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd cap_list
configuration: latency=0
resources: ioport:d000(size=256) memory:fc500000-fc50ffff
memory:fc510000-fc513fff  

 

FIX: Download linux-modules-extra-5.19.0-38 on phone and transfer it to desktop and install it and reboot:

antisa@antisa-desktop:/etc/netplan$ sudo dpkg -s linux-modules-extra-$(uname
-r) | grep Status
dpkg-query: package 'linux-modules-extra-5.19.0-38-generic' is not installed
and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.

antisa@antisa-desktop:~$ sudo apt install ./linux-modules-extra-5.19.0-38-generic_5.19.0-38.39~22.04.1_amd64.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'linux-modules-extra-5.19.0-38-generic' instead of
'./linux-modules-extra-5.19.0-38-generic_5.19.0-38.39~22.04.1_amd64.deb'
The following NEW packages will be installed:
linux-modules-extra-5.19.0-38-generic
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 70,9 MB of archives.
After this operation, 454 MB of additional disk space will be used.
Ign:1 http://hr.archive.ubuntu.com/ubuntu jammy-updates/main amd64
linux-modules-extra-5.19.0-38-generic amd64 5.19.0-38.39~22.04.1
Ign:1 http://hr.archive.ubuntu.com/ubuntu jammy-updates/main amd64
linux-modules-extra-5.19.0-38-generic amd64 5.19.0-38.39~22.04.1
Ign:1 http://hr.archive.ubuntu.com/ubuntu jammy-updates/main amd64
linux-modules-extra-5.19.0-38-generic amd64 5.19.0-38.39~22.04.1
Ign:1 http://hr.archive.ubuntu.com/ubuntu jammy-updates/main amd64
linux-modules-extra-5.19.0-38-generic amd64 5.19.0-38.39~22.04.1
Ign:1 http://security.ubuntu.com/ubuntu jammy-updates/main amd64
linux-modules-extra-5.19.0-38-generic amd64 5.19.0-38.39~22.04.1
Get:1 http://security.ubuntu.com/ubuntu jammy-updates/main amd64
linux-modules-extra-5.19.0-38-generic amd64 5.19.0-38.39~22.04.1 [70,9 MB]
Selecting previously unselected package linux-modules-extra-5.19.0-38-generic.
(Reading database ... 352093 files and directories currently installed.)
Preparing to unpack
.../linux-modules-extra-5.19.0-38-generic_5.19.0-38.39~22.04.1_amd64.deb ...
Unpacking linux-modules-extra-5.19.0-38-generic (5.19.0-38.39~22.04.1) ...
Setting up linux-modules-extra-5.19.0-38-generic (5.19.0-38.39~22.04.1) ...
Processing triggers for linux-image-5.19.0-38-generic (5.19.0-38.39~22.04.1)
...
/etc/kernel/postinst.d/dkms:
* dkms: running auto installation service for kernel 5.19.0-38-generic
Error! Your kernel headers for kernel 5.19.0-38-generic cannot be found.
Please install the linux-headers-5.19.0-38-generic package or use the
--kernelsourcedir option to tell DKMS where it's located.
Error! Your kernel headers for kernel 5.19.0-38-generic cannot be found.
Please install the linux-headers-5.19.0-38-generic package or use the
--kernelsourcedir option to tell DKMS where it's located.
...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.19.0-38-generic
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.19.0-38-generic
Found initrd image: /boot/initrd.img-5.19.0-38-generic
Found linux image: /boot/vmlinuz-5.15.0-69-generic
Found initrd image: /boot/initrd.img-5.15.0-69-generic
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done                                                   

antisa@antisa-desktop:~$ uname -a
Linux antisa-desktop 5.19.0-38-generic #39~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC
Fri Mar 17 21:16:15 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
antisa@antisa-desktop:~$ sudo dpkg -s linux-modules-extra-$(uname -r) | grep
Status
Status: install ok installed

antisa@antisa-desktop:~$ reboot

keepassxc and firefox snap

Run these 2 commands:

sudo apt-get install flatpak
flatpak permission-set webextensions org.keepassxc.keepassxc_browser snap.firefox yes

and restart firefox.

virtualbox

Error:

The character device /dev/vboxdrv does not exist'

Solution:

sudo apt install --reinstall linux-headers-$(uname -r) virtualbox-dkms dkms

Reboot.

Tested on

  • Ubuntu 22.04.2

See also

References

wiki/ubuntu_troubleshooting.txt · Last modified: 2023/12/15 19:29 by antisa

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki