Ethernet connection fails after 20 seconds https://askubuntu.com/questions/1567655/ethernet-connection-fails-after-20-seconds

My ethernet connection to my 26.04 machine drops after ~20 seconds and won't come back on. I was having intermittent ethernet issues on 24.04 and I thought upgrading would fix it. After a fresh install, internet connection works briefly after each reboot, but will drop very shortly after.

Strangely, my connection was rock solid until I updated my Ubiquiti OS a few days ago. This box was the only box on my network affected.

I've seen and tried many different ways to fix it, to no avail. Any help would be appreciated.

Manually set a static ip for this box on my router.

Disabled ipv6.

Manually set ipv4 settings.

Installed r8125-dkms from https://github.com/awesometic/realtek-r8125-dkms

Hardware:

GigaByte B650 Aorus Elite ax ice

TP link TX201 2.5 Gb PCIe network adaptor card

Why is my MediaTek MT7902 (14c3:7902) Wi-Fi not working on Ubuntu 26.04 even though it’s detected but shows as UNCLAIMED? https://askubuntu.com/questions/1567650/why-is-my-mediatek-mt7902-14c37902-wi-fi-not-working-on-ubuntu-26-04-even-tho

I’m having a Wi-Fi issue on my ASUS Vivobook (X1504ZA) running Ubuntu 26.04 LTS. I don’t really know much about this kind of Linux/driver/network stuff, so I’ve been trying to figure it out step by step.

Hardware info

My Wi-Fi card shows up as:

  • MediaTek MT7902 802.11ax (Filogic 310)

  • PCI ID: 14c3:7902


What works

  • Internet works fine using USB tethering from my phone

  • System is updated (kernel: 7.0.0-22-generic)

  • Everything else on the system seems normal


What doesn’t work

  • No Wi-Fi option appears in network settings

  • nmcli shows no Wi-Fi device at all

  • The Wi-Fi hardware is detected by the system but marked as UNCLAIMED

  • The mt7921e driver loads, but it does not attach to this device


What I found (with help)

I honestly don’t know much about drivers or kernel stuff, so I used an AI assistant to help me troubleshoot step by step. We checked logs, drivers, and kernel modules together.

From what we found:

  • The Linux mt76 / mt792x drivers are installed

  • But they don’t seem to support my exact chip (14c3:7902)

  • So the system detects the hardware, but no driver actually connects to it


Current situation

It looks like the Wi-Fi chip is not supported (or not fully supported yet) in my current Linux setup.


Workaround

I’m currently just using USB tethering from my phone, which works fine for internet.


Why I’m posting

Since I don’t really understand this technical stuff deeply, I thought I’d ask here in case someone knows a fix, patch, or workaround for this specific Wi-Fi chip.

Any help would be really appreciated 🙏 Should i install windows now?

Can I use eGalax touchscreen without proprietary driver on Ubuntu 24.04? https://askubuntu.com/questions/1567647/can-i-use-egalax-touchscreen-without-proprietary-driver-on-ubuntu-24-04

I'm trying to get eGalax touchscreen to run on Ubuntu 24.04 without proprietary driver from https://www.eeti.com/drivers_Linux.html. The touchscreen controller is properly detected:

paul@cube:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 003 Device 003: ID 8087:0a2a Intel Corp. Bluetooth wireless interface
Bus 003 Device 005: ID 0573:1573 Zoran Co. Personal Media Division (Nogatech) USB Audio and HID
Bus 003 Device 006: ID 2516:0004 Cooler Master Co., Ltd. Storm QuickFire Rapid Mechanical Keyboard
Bus 003 Device 007: ID 0eef:0001 D-WAV Scientific Co., Ltd Titan6001 Surface Acoustic Wave Touchscreen Controller [eGalax]
Bus 003 Device 008: ID 1c4f:0034 SiGma Micro XM102K Optical Wheel Mouse
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
paul@cube:~$ xinput --list
⎡ Virtual core pointer                      id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ eGalax Inc. USB TouchController           id=14   [slave  pointer  (2)]
⎜   ↳ SIGMACHIP Usb Mouse                       id=10   [slave  pointer  (2)]
⎣ Virtual core keyboard                     id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Video Bus                                 id=7    [slave  keyboard (3)]
    ↳ Power Button                              id=8    [slave  keyboard (3)]
    ↳ Sleep Button                              id=9    [slave  keyboard (3)]
    ↳ CM Storm QuickFire Rapid keyboard         id=11   [slave  keyboard (3)]
    ↳ CM Storm QuickFire Rapid keyboard Consumer Control    id=12   [slave  keyboard (3)]
    ↳ CM Storm QuickFire Rapid keyboard System Control  id=13   [slave  keyboard (3)]
    ↳ Intel HID events                          id=15   [slave  keyboard (3)]

As suggested by AI, I did:

sudo apt install xserver-xorg-input-evdev xinput-calibrator
sudo modprobe usbtouchscreen usbhid

but xinput_calibrator app responds only to the mouse not to the touchscreen. Is there anything else I need to install or configure?

How can I override the system-ui font in Firefox? https://askubuntu.com/questions/1567644/how-can-i-override-the-system-ui-font-in-firefox

I'm using Firefox 151 on Ubuntu 26.04. When a website has font-family: system-ui in CSS, it shows text in the default Ubuntu font. I love this font for desktop/UI elements, but not for body text. Can I override what font Firefox will show for these websites, without replacing what is used for title bars, menus etc?

Not able to install Ubuntu 24.04 LTS when secure boot enabled https://askubuntu.com/questions/1567642/not-able-to-install-ubuntu-24-04-lts-when-secure-boot-enabled

I'm trying to install Ubuntu 24.04 LTS using bootable USB with secure boot enabled, getting error "Selected boot image did not authenticate" . can you please someone help here to resolve the issue.

Note:

I have checked platform supported

The same bootable media works with secure boot disabled.

Any help much appricated.

Ubuntu 26.04 LTS freezes during suspension https://askubuntu.com/questions/1567639/ubuntu-26-04-lts-freezes-during-suspension

Ubuntu 26.04 LTS freezes specially during suspension mode and none of the keys on the keyboard or mouse work. The laptop with Ubuntu 26.04 LTS is a Lenovo Legion 5 15AHP10 with:
- CPU: AMD Ryzen 7 260 w/ Radeon 780M Graphics
- GPU: GB206M [GeForce RTX 5060 Max-Q / Mobile]
- RAM: 32GB
- kernel: 7.0.0-15-generic
- NVIDIA-SMI 595.58.03 Driver Version: 595.58.03 CUDA Version: 13.2

Could you please help me?

SHARP BP -20M22 [closed] https://askubuntu.com/questions/1567636/sharp-bp-20m22

It can be very frustrating when a printer doesn't work after you've gone through the trouble of installing it! Since the printer is a SHARP BP-20M22 and you are running Ubuntu 22.04.5 LTS,

Xubuntu 26.04 Minimal ISO with 32-bit UEFI (Intel Atom Bay/Cherry Trail Support) need modified iso [closed] https://askubuntu.com/questions/1567634/xubuntu-26-04-minimal-iso-with-32-bit-uefi-intel-atom-bay-cherry-trail-support

I found a guide explaining how to add 32-bit UEFI GRUB support to modern Linux distributions for Intel Atom devices that have a 32-bit EFI firmware but a 64-bit CPU.

Unfortunately, I do not have another Linux computer available to perform the ISO modification myself. My tablet is currently unable to boot Linux, so I cannot follow the guide and rebuild the installation image.

I would like to kindly ask if someone could create a modified version of xubuntu-26.04-minimal-amd64.iso with 32-bit UEFI boot support already included.

The target devices are Intel Atom Bay Trail and Cherry Trail tablets (such as Z3735, Z3736, Z8300, Z8350, and similar models) that are limited by their 32-bit EFI firmware.

I believe many users with these older Atom tablets would benefit from a ready-to-use ISO that can boot without requiring manual modification.

If anyone is willing to help or provide such an ISO, I would greatly appreciate it.

How to create an atom 32EFI ISO image:

https://www.linuxium.com.au/how-tos/customizing-ubuntu-isos-documentation-and-examples-of-how-to-use-isorespin-sh

target ISO need modify:

http://ftp.uni-kl.de/pub/linux/ubuntu-dvd/xubuntu/releases/26.04/release/xubuntu-26.04-minimal-amd64.iso

For devices limited to 32-bit EFI, Xubuntu Minimal is the best option. If someone does this, they'll bring back to life a device that many people have forgotten about in dusty cupboards.

Please, someone do this favor.

I recommend you read it = https://www.theregister.com/oses/2026/05/06/gnome-may-rule-ubuntu-resolute-raccoon-but-xorg-isnt-roadkill-yet/5219477

Ubuntu versions:

Ubuntu versions

converting RTL PDF to text https://askubuntu.com/questions/1567631/converting-rtl-pdf-to-text

I have scanned pdf and I want to convert it to text. I have Ubuntu 24.04.
I installed ocrmypdf and made my pdf file searchable.
Then I tried to install pdf2txt:

$ python3 --version 
Python 3.12.3  
$ pip install pdfminer.rtl
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.
    
    If you wish to install a non-Debian-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have python3-full installed.
    
    If you wish to install a non-Debian packaged Python application,
    it may be easiest to use pipx install xyz, which will manage a
    virtual environment for you. Make sure you have pipx installed.
    
    See /usr/share/doc/python3.12/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
$ sudo apt install python3-pdfminer.rtl
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package python3-pdfminer.rtl
E: Couldn't find any package by glob 'python3-pdfminer.rtl'

How can I make it work?
Maybe I have to install another package?

I succeeded to do this with Google Drive:
uploaded the PDF to Google Drive and opened it with 'Open with > Google Docs'.
High resolution helps.

Still, is there a Linux way to do this?

Laptop battery percentage stays at %80 even after powering off https://askubuntu.com/questions/1567630/laptop-battery-percentage-stays-at-80-even-after-powering-off

I have Preserve Battery Health option enabled on Ubuntu 25.10. It is limiting the battery charging capacity at around %80 level but even after shutting down the laptop and turning it on next morning, I see the battery level at %80. Doesn't it suppose to start at %100 and go down to %80 and stay there? Since OS have no control on the battery after shut down, it should be charged to the maximum level. What am I missing?

HP EliteBook 8770w + AMD FirePro M4000 (GCN1/Tahiti) - Black Screen on Kubuntu 26.04 https://askubuntu.com/questions/1567628/hp-elitebook-8770w-amd-firepro-m4000-gcn1-tahiti-black-screen-on-kubuntu-2

I am trying to run Kubuntu 26.04 LTS on an HP EliteBook 8770w and I am having GPU driver issues.

Laptop: HP EliteBook 8770w CPU: Intel Core i5-3380M GPU: AMD FirePro M4000 PCI ID: 1002:682d BIOS Version: F.43 SSD: Samsung 840 SSD Kubuntu Version Kubuntu 26.04 LTS Kernel: 7.0.0-22-generic Plasma 6 Problem

The system only boots successfully when using: quiet splash nomodeset

Without nomodeset:

Kubuntu logo appears Screen turns black System never reaches the desktop Current Status

With nomodeset: glxinfo -B

returns: OpenGL renderer string: llvmpipe (LLVM 21.1.8, 256 bits)

and: inxi -Gxx shows:

Device: AMD/ATI Chelsea XT GL [FirePro M4000] driver: N/A renderer: llvmpipe

So the system is running entirely in software rendering.

Driver Tests amdgpu

Kernel log: amdgpu 0000:01:00.0: probe with driver amdgpu failed with error -22 radeon

I tried: sudo modprobe -r amdgpu sudo modprobe radeon

Result: modprobe: ERROR: could not insert 'radeon': Invalid argument

No useful radeon-related messages appear in dmesg.

Firmware Firmware appears to be installed: apt search linux-firmware-amd

shows: linux-firmware-amd-graphics installed

Tahiti firmware files exist: ls /lib/firmware/radeon | grep -i tahiti

returns: TAHITI_ce.bin.zst TAHITI_mc.bin.zst TAHITI_me.bin.zst TAHITI_pfp.bin.zst TAHITI_rlc.bin.zst TAHITI_smc.bin.zst ... GRUB Tests Tried:

quiet splash radeon.si_support=1 amdgpu.si_support=0

Result: Kubuntu logo appears Screen goes black No desktop

Tried: quiet splash nomodeset radeon.si_support=1 amdgpu.si_support=0

Result: System boots llvmpipe only Additional Information lspci -vnn -s 01:00.0

shows: 01:00.0 VGA compatible controller [0300]: AMD/ATI Chelsea XT GL [FirePro M4000] [1002:682d] Kernel modules: radeon, amdgpu

but there is no: Kernel driver in use: entry.

Questions

  1. Has anyone successfully used a FirePro M4000 (PCI ID 1002:682d) with Kubuntu/Ubuntu 26.04 and Kernel 7.0?
  2. Should this GPU use the radeon driver or amdgpu?
  3. Is this a known regression with Southern Islands / GCN 1.0 GPUs?
  4. Are there additional kernel parameters required for Tahiti/GCN1 on Kernel 7.0?
  5. Would booting an older 6.x kernel be recommended?

Any help would be appreciated.

Restoring incremental backups with RSYNC https://askubuntu.com/questions/1567615/restoring-incremental-backups-with-rsync

long story short, I had a dual boot Windows/Ubuntu 24.04. I removed my Windows but had accidentally removed a partition. Result, I could not longer boot in my Ubuntu.

I tried repairing the grub but was getting too complicated.

I re-installed my Ubuntu 24.04 using the same settings I had.

Before this, I had a weekly rsync backups since March done on my /home/.. folder and they were stored in another partition that is intact. I forgot how it was setup.

However, I am having hard time how to restore it (want to do a dry-run first).

Here is my backup folder:

  • duplicity-full.*.manifest.gpg
  • duplicity-full..vol.difftar.gpg
  • duplicity-full-signatures.*.sigtar.gpg
  • duplicity-inc..to..manifest.gpg
  • duplicity-inc..to..vol*.difftar.gpg
  • duplicity-new-signatures..to..sigtar.gpg

I do not want to restore everything.

I want to first see the files that are in the backups and decide which ones I want to restore.

How do I do this and which files do I give it?

How can I investigate what process or event may have removed files and directories? https://askubuntu.com/questions/1567604/how-can-i-investigate-what-process-or-event-may-have-removed-files-and-directori

I am using Ubuntu 24.04 LTS. I have a directory located at ~/Documents/myfiles/....

About one day ago, this directory contained at least seven subdirectories with various files, mainly .odt (LibreOffice), .doc documents, and some source code files such as C++ headers and implementation files (.h, .cpp), as well as Java classes.

Yesterday, I closed my laptop without shutting it down, and it remained in sleep mode for about a day. When I opened it today, I noticed that almost all files and folders inside that directory had disappeared.

I am confident that no one else had access to this laptop during that time.
There is more than enough free space.

I would like to understand how this could have happened. Is there any way to track file or folder deletion history in Ubuntu? I checked the history command, but I did not find any commands such as rm or anything that would indicate manual deletion.

Upd1 This is the output of the command lsblk -e7 -o model,name,size,fstype,label,uuid,mountpoints Mian system where files disappear is nvme0n1

MODEL                      NAME                              SIZE FSTYPE      LABEL                    UUID                                   MOUNTPOINTS
SanDisk Portable SSD       sda                             931.5G iso9660     Ubuntu 24.04.2 LTS amd64 2025-02-15-09-15-26-00                
                           ├─sda1                            5.9G iso9660     Ubuntu 24.04.2 LTS amd64 2025-02-15-09-15-26-00                 /cdrom
                           ├─sda2                              5M vfat        ESP                      B5A5-8010                              
                           ├─sda3                            300K                                                                            
                           └─sda4                          925.6G ext4        writable                 145b53db-2397-4435-bb64-de2ba458fc04   /var/crash
                                                                                                                                              /var/log
SAMSUNG MZVLB512HBJQ-000L2 nvme0n1                         476.9G                                                                            
                           ├─nvme0n1p1                         1G vfat                                 80E7-8AB3                              
                           ├─nvme0n1p2                         2G ext4                                 061fdd73-39b9-4af5-a7e2-b67883a1cef5   /media/ubuntu/061fdd73-39b9-4af5-a7e2-b67883a1cef5
                           └─nvme0n1p3                     473.9G crypto_LUKS                          a13de4f1-09ad-4a30-a503-116e4fdab06d  
                             └─luks-a13de4f1-09ad-4a30-a503-116e4fdab06d
                                                           473.9G LVM2_member                          5xejxc-ebRJ-n8U7-sowq-kZhg-hu1R-i1JkbC
                               └─ubuntu--vg-ubuntu--lv     473.9G ext4                                 85c485d1-28de-4212-b9f3-b0fb795c2a52  
ubuntu@ubuntu:/var/log/recovered$

Upd2

(base) denis@denis:~$ stat ~/Documents/myfiles/
  File: /home/denis/Documents/myfiles/
  Size: 4096        Blocks: 8          IO Block: 4096   directory
Device: 252,1   Inode: 5667304     Links: 3
Access: (0775/drwxrwxr-x)  Uid: ( 1000/   denis)   Gid: ( 1000/   denis)
Access: 2026-06-09 09:28:46.700779427 +0300
Modify: 2026-06-07 13:11:09.468080205 +0300
Change: 2026-06-07 13:11:09.468080205 +0300
 Birth: 2026-06-07 13:11:09.468080205 +0300

Upd3 The history output. I am sure that before command 1959 the files were not deleted. There is no rm and as far as I know those command cannot delete/remove anuthing

1959  cat /sys/class/net/eno1/queues/rx-0/rps_cpus 
 1960  echo ffff|sudo tee /sys/class/net/eno1/queues/rx-0/rps_cpus
 1961  echo 0|sudo tee /sys/class/net/eno1/queues/rx-0/rps_cpus
 1962  echo ffff|sudo tee /sys/class/net/eno1/queues/rx-0/rps_cpus
 1963  powerprofilesctl get
 1964  powerprofilesctl performance
 1965  powerprofilesctl set performance
 1966  echo f|sudo tee /sys/class/net/eno1/queues/rx-0/rps_cpus
 1967  echo ffff|sudo tee /sys/class/net/eno1/queues/rx-0/rps_cpus
 1968  echo 00f0|sudo tee /sys/class/net/eno1/queues/rx-0/rps_cpus
 1969  echo 0f00|sudo tee /sys/class/net/eno1/queues/rx-0/rps_cpus
 1970  echo 32768|sudo tee /proc/sys/net/core/rps_sock_flow_entries
 1971  echo 32768|sudo tee /sys/class/net/eno1/queues/rx-0/rps_flow_cnt
 1972  echo ffff|sudo tee /sys/class/net/eno1/queues/rx-0/rps_cpus
 1973  sudo sysctl -p 99-tcp-tuning-optimal.conf
 1974  cd Documents/job/
 1975  ls
 1976  clear
 1977  find ./ -name "wrk2" 2>/dev/null
 1978  find ./ -name "wrk" 2>/dev/null
 1979  find / -name "wrk" 2>/dev/null
 1980  find / -name "Prometheus" 2>/dev/null
 1981  last
 1982  history

Upd4 The output of lsblk -o model,name,size,fstype,label,uuid,mountpoints

MODEL                          NAME                        SIZE FSTYPE      LABEL              UUID                                   MOUNTPOINTS
                               loop0                       1.5G squashfs                                                              /snap/android-studio/225
                               loop1                         4K squashfs                                                              /snap/bare/5
                               loop2                      55.5M squashfs                                                              /snap/core18/2976
                               loop3                       1.5G squashfs                                                              /snap/android-studio/227
                               loop4                        74M squashfs                                                              /snap/core22/2193
                               loop5                      55.5M squashfs                                                              /snap/core18/2999
                               loop6                     669.8M squashfs                                                              /snap/gnome-46-2404/145
                               loop7                     516.2M squashfs                                                              /snap/gnome-42-2204/226
                               loop8                      16.5M squashfs                                                              /snap/firmware-updater/226
                               loop9                     248.5M squashfs                                                              /snap/firefox/8387
                               loop10                       74M squashfs                                                              /snap/core22/2411
                               loop11                     66.8M squashfs                                                              /snap/core24/1587
                               loop12                     18.5M squashfs                                                              /snap/firmware-updater/210
                               loop13                    531.4M squashfs                                                              /snap/gnome-42-2204/247
                               loop14                    164.8M squashfs                                                              /snap/gnome-3-28-1804/198
                               loop15                     62.2M squashfs                                                              /snap/ffmpeg-2204/145
                               loop16                    246.6M squashfs                                                              /snap/firefox/8306
                               loop17                     66.8M squashfs                                                              /snap/core24/1643
                               loop18                     62.2M squashfs                                                              /snap/ffmpeg-2204/126
                               loop19                     91.7M squashfs                                                              /snap/gtk-common-themes/1535
                               loop20                    371.5M squashfs                                                              /snap/krita/109
                               loop21                      1.5G squashfs                                                              /snap/kf5-core22/3
                               loop22                    371.3M squashfs                                                              /snap/krita/108
                               loop23                      395M squashfs                                                              /snap/mesa-2404/1165
                               loop24                      1.2G squashfs                                                              /snap/libreoffice/373
                               loop25                      6.9M squashfs                                                              /snap/notepad-plus-plus/412
                               loop26                     40.3M squashfs                                                              /snap/pinta/92
                               loop27                    171.1M squashfs                                                              /snap/postman/348
                               loop28                     40.3M squashfs                                                              /snap/pinta/94
                               loop29                    174.4M squashfs                                                              /snap/postman/360
                               loop30                     15.7M squashfs                                                              /snap/snap-store/1367
                               loop31                     48.4M squashfs                                                              /snap/snapd/26382
                               loop32                     15.6M squashfs                                                              /snap/snap-store/1338
                               loop33                     49.3M squashfs                                                              /snap/snapd/26865
                               loop34                    110.7M squashfs                                                              /snap/teams-for-linux/2006
                               loop35                      576K squashfs                                                              /snap/snapd-desktop-integration/315
                               loop36                    110.7M squashfs                                                              /snap/teams-for-linux/2015
                               loop37                      580K squashfs                                                              /snap/snapd-desktop-integration/361
                               loop38                    321.1M squashfs                                                              /snap/vlc/3777
                               loop39                    460.6M squashfs                                                              /snap/wine-platform-9-devel-core22/33
                               loop40                    576.1M squashfs                                                              /snap/wine-platform-runtime-core22/111
                               loop41                    473.9G crypto_LUKS                    a13de4f1-09ad-4a30-a503-116e4fdab06d   
                               └─recovery_luks           473.9G LVM2_member                    5xejxc-ebRJ-n8U7-sowq-kZhg-hu1R-i1JkbC 
                                 └─ubuntu--vg-ubuntu--lv 473.9G ext4                           85c485d1-28de-4212-b9f3-b0fb795c2a52   /mnt/recovery
SanDisk Portable SSD           sda                       931.5G                                                                       
                               ├─sda1                      185G ntfs        usbdata            56CFA1892000C41E                       /media/denis/usbdata
                               ├─sda2                      977K                                                                       
                               ├─sda3                    244.1M vfat        usbboot            4C2B-A37F                              
                               ├─sda4                      6.1G iso9660     Ubuntu 26.04 amd64 2026-04-23-02-18-51-00                 /media/denis/Ubuntu 26.04 amd64
                               └─sda5                    740.1G ext4        writable           2dbbfc5d-9f9d-41b9-a6e7-b86d61dc16f6   /media/denis/writable
PSSD T7 Shield                 sdb                       931.5G                                                                       
                               └─sdb1                    931.5G exfat       T7 Shield          5464-67F9                              /media/denis/T7 Shield
WDC PC SN730 SDBPNTY-1T00-1101 nvme0n1                   953.9G                                                                       
                               ├─nvme0n1p1                 100M vfat                           E02F-02E2                              /boot/efi
                               ├─nvme0n1p2                  16M                                                                       
                               ├─nvme0n1p3               297.9G ntfs                           CED03260D0324EC9                       
                               ├─nvme0n1p4                 546M ntfs                           681888CD18889BA6                       
                               └─nvme0n1p5               655.3G ext4                           cd8102b5-7629-4f9d-a07c-ffe951933711   /
Ubuntu Studio 26.04 and intermittent GUI-lockup https://askubuntu.com/questions/1567599/ubuntu-studio-26-04-and-intermittent-gui-lockup

On installing Ubuntu Studio 26.04 from scratch, I ended-up with an unusable system due to the screen getting scrambled+lockup at random moments several times per day. I have likewise experience on Ubuntu 25.10. This scramble+lockup was not there on earlier versions. HW has - amongst others - a Geforce RTX card driving my monitor. Googling around suggests that there is an incompatibility-issue against wayland. Before I ditch this (not exactly cheap) video-card, what options do I have? I know that I can workaround back to Xorg to some point, however, that can only be a temp workaround as all distro's seem to be forced to move to wayland. So Xorg is likely to become a narrower path every day.

Video card = GeForce RTX 2060 Rev. A I Installed Ubuntu from scratch and have not added anything related to Nvidia, manually.

This morning, I found that when logging in on the GUI desktop, it logs me out after some thing like 10 seconds. ssh-access is OK.

Update: installed 595 nvidia-driver + reboot. Desktop GUI is now usable. Have to wait and see if issues around stability are fixed by this.

Déjà Dup 49 restore workflow is less convenient than older versions – alternatives compatible with existing Duplicity backups? https://askubuntu.com/questions/1567572/d%c3%a9j%c3%a0-dup-49-restore-workflow-is-less-convenient-than-older-versions-alternativ

I recently upgraded to Déjà Dup 49 and noticed that the restore workflow seems to have changed compared to older versions.

In previous versions, I could navigate to a specific folder path and then browse the available backup versions while remaining in that folder. This made it easy to inspect multiple snapshots and find the version I wanted.

In Déjà Dup 49, the workflow appears to be reversed:

First select a backup date. Then navigate through the folder hierarchy to the desired path.

The problem is that if I want to inspect a folder across many backup dates (for example, 10 different snapshots), I have to repeatedly:

go back, select another date, navigate through the same folder tree again.

This feels much less efficient than the previous workflow where I could stay in the folder and move between backup versions.

My questions are:

  1. Is there an option in Déjà Dup 49 to restore the old browsing behavior?
  2. Is there another way to efficiently browse multiple versions of a specific folder without repeatedly navigating the directory tree?
  3. Was this change intentional, and if so, what was the rationale behind it?

In addition, I have a large collection of existing backups that were created by Déjà Dup using Duplicity. If the old behavior is no longer available, are there any alternative GUI front-ends that can browse and restore existing Duplicity backup archives?

I'm specifically looking for a graphical application that is backward-compatible with existing Duplicity backup repositories, since I do not want to recreate years of backups from scratch.

I'm using Ubuntu and Déjà Dup 49.0.

Any suggestions would be appreciated.

UI in version 49.0

kernel panic fatal exception in interrupt ubuntu 26 linux 7.0.0-15 https://askubuntu.com/questions/1567211/kernel-panic-fatal-exception-in-interrupt-ubuntu-26-linux-7-0-0-15

After upgrading from Ubuntu 25. to Ubuntu 26.04 LTS, randomly when starting Thunderbird the screen freezes and says "kernel panic fatal exception in interrupt" After restart it continues to work, but randomly crashes again?

openssh-server post-installation script error (exit status 10) and SSH not working https://askubuntu.com/questions/1566463/openssh-server-post-installation-script-error-exit-status-10-and-ssh-not-worki

I’m encountering an issue where openssh-server fails during configuration, and SSH is currently not working on my system.

This error appears during package operations, even when I’m not explicitly trying to install openssh-server.

What happens

During apt/dpkg operations, I see:

Setting up openssh-server (1:9.6p1-3ubuntu13.16) ...
dpkg: error processing package openssh-server (--configure):
 installed openssh-server package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
 openssh-server

What I’ve tried

  1. Re-running configuration:
sudo dpkg --configure -a

Same error persists.


  1. Running the post-install script manually with debugging:
sudo bash -x /var/lib/dpkg/info/openssh-server.postinst configure

This didn’t produce any obvious error output, and the last line is `exec /usr/share/debconf/frontend /var/lib/dpkg/info/openssh-server.postinst configure which tells me that something to do with package configuration is failing.


  1. Regenerating SSH host keys:
sudo rm -f /etc/ssh/ssh_host_*
sudo ssh-keygen -A

Keys were generated successfully, but the issue remains.

  1. Restore ssh config:
sudo cp /usr/share/openssh/sshd_config /etc/ssh/sshd_config

Observations

  • SSH into this machine is not functioning.

  • The openssh-server package is broken.

  • The post-installation script consistently exits with status 10.


Research

I found that post-installation script failures can be caused by misconfiguration or missing files, but most solutions suggest reinstalling or purging the package. I haven’t found a clear explanation for exit status 10 specifically or how to resolve it without risking further issues.

Previously, I have used this sequence of commands to fix similar errors:

rm -rf /var/lib/dpkg/info/<packagename>* (in this case openssh*)

dpkg --configure -a

Fix package post-installation script subprocess returned error exit status 10 for libpaper1:amd64

Error reinstalling isc-dhcp-server "post installation script returned error exit status 255"

Like in the above posts, which has fixed the error temporarily, but probably messed up the dpkg package lists or something.

The issue keeps coming back, it's a different package or packages every time so it seems like an issue with dpkg or a corrupt filesystem.

Any ideas what is causing this issue, and how I can resolve it without reinstalling the system?

Update: I got ssh server working again, but still seeing the error on install/configure. getting closer. these are the commands that fixed it and my logic behind them

sudo cp /usr/share/openssh/sshd_config /etc/ssh/sshd_config

-- there was no sshd config until i copied it from here

--- then uncommented the host keys in that file, and generated them. made sshd user

grep -n "HostKey" /etc/ssh/sshd_config

2140 ls -l /etc/ssh/sshd_config.d

2141 sshd -T | grep hostkey

2142 sudo nano /etc/ssh/sshd_config

2143 sshd -t

2145 ls -l /etc/ssh/ssh_host_*

2146 namei -l /etc/ssh/ssh_host_rsa_key

2147 sudo ssh-keygen -lf /etc/ssh/ssh_host_rsa_key

2148 sshd -T | head -50

2149 lsattr /etc/ssh/ssh_host_rsa_key

2150 mount | grep " / "

2151 sudo rm -f /etc/ssh/ssh_host_*

2152 sudo ssh-keygen -A

2153 sudo ls -l /etc/ssh/ssh_host_*

2154 sudo /usr/sbin/sshd -t -f /etc/ssh/sshd_config

2155 getent passwd sshd

2156 id sshd

--- no sshd user??

2157 sudo adduser --system --no-create-home --group sshd

2158 getent passwd sshd

2159 sudo sshd -t -f /etc/ssh/sshd_config

2161 sudo mkdir -p /run/sshd

2162 sudo chmod 755 /run/sshd

2163 sudo sshd -t -f /etc/ssh/sshd_config

2164 sudo systemctl restart ssh

2165 systemctl status ssh --no-pager

2166 sudo dpkg --configure -a

2167 sudo apt -f install

--- still seeing the error here but the server is up and i can connect from another machine

edit: ssh has been working fine for weeks, now seeing the same error with libreoffice (I haven't installed them recently, but I did a package upgrade).

Setting up libreoffice-base (4:24.2.7-0ubuntu0.24.04.5) ... dpkg: error processing package libreoffice-base (--configure): installed libreoffice-base package post-installation script subprocess returned error exit status 10 Setting up libreoffice-math (4:24.2.7-0ubuntu0.24.04.5) ...

ok another edit: I've been reading in the poostinstall scripts, including adding 'set -x' at the top, and I noticed openssh and gdm3 now both fail at or near a line involving ucf. I tried this purge command on ucf, still failed. Reinstalling got rid of the error for now. I hope this helps!

sudo nano /var/lib/dpkg/info/openssh-server.postinst # (adding set -x to see the error, then reconfigured with dpkg)

sudo ucf --purge /etc/ssh/sshd_config

sudo ucf --purge /etc/gdm3/greeter.dconf-defaults

sudo apt-get install --reinstall ucf debconf debconf-i18n

Ubuntu 24.04.4 on RISCV64 unable to detect Wacom Intuos Drawing Tablet connected by USB https://askubuntu.com/questions/1566097/ubuntu-24-04-4-on-riscv64-unable-to-detect-wacom-intuos-drawing-tablet-connected

My new CPU of RISCV64 architecture running on Ubuntu 24.4 is not able to detect the WACOM Intuos drawing tablet using the default GNOME drivers.

I've tried a backgrade of the GNOME starting the login with the "GNOME on XORG" option but the attempt was not successful as the Linux started very slow and showed blockings at access of the setup functions. I also was not able to run an X based diagnostics due to slowness.

My debug shows that the GNOME tablet window is active but does not show any device information. Back to default GNOME login, I see the following error:

rangepi@orangepirv2:~$ xsetwacom --list devices
Wayland devices found but this tool is incompatible with Wayland. See
https://github.com/linuxwacom/xf86-input-wacom/wiki/Wayland

The tablet is visible at ID 06, but does not interact with the Linux mouse (pointer) function.

orangepi@orangepirv2:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 002 Device 003: ID 046d:c077 Logitech, Inc. Mouse
Bus 002 Device 004: ID 258a:0049 BY Tech Gaming Keyboard
Bus 002 Device 005: ID 056a:033c Wacom Co., Ltd CTH-490 [Intuos Art/Photo/Comic (S)]
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 05e3:0620 Genesys Logic, Inc. GL3523 Hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I appreciate a guidance how to make it visible to the default Wayland & GNOME drivers.

/dev/ttyACM0 permission denied on Ubuntu 24.04 https://askubuntu.com/questions/1531140/dev-ttyacm0-permission-denied-on-ubuntu-24-04

I'm struggling to access an MCU connected to the USB and presented as a serial port: /dev/ttyACM0. What worked well in Ubuntu 22.04 does not work in 24.04. Whenever I connect the device, the only way to have it access is to chmod 666 it, but that works only temporarily.

The user I'm working on is already added to the dialout group, and ls -l /dev/ttyACM0 returns: crw-rw---- 1 root dialout 166, 0 Oct 25 15:33 /dev/ttyACM0 , so as I can understand it, it is the root who has r/w and any dialout group member. Am I missing anything here to configure/add? enter image description here

Edit: The driver seems to be correct so that is not the case of invalid UDEV rule triggered:

[21856.363341] usb 3-6: new full-speed USB device number 6 using xhci_hcd
[21856.761217] usb 3-6: New USB device found, idVendor=2e8a, idProduct=0005, bcdDevice= 1.00
[21856.761236] usb 3-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[21856.761240] usb 3-6: Product: Board in FS mode
[21856.761244] usb 3-6: Manufacturer: MicroPython
[21856.761247] usb 3-6: SerialNumber: e6614c311b7f8c38
[21857.365083] cdc_acm 3-6:1.0: ttyACM0: USB ACM device
[21857.365219] usbcore: registered new interface driver cdc_acm
[21857.365225] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
wayland screenshot tool with annotations https://askubuntu.com/questions/1527087/wayland-screenshot-tool-with-annotations

Which tool to use to take screenshots of areas selected by mouse on wayland, and annotate afterwards?

None of tools that I was using works with 24.04

Bluetooth doesn't work on Ubuntu 24.04 https://askubuntu.com/questions/1515216/bluetooth-doesnt-work-on-ubuntu-24-04

I've installed Ubuntu 24.04 on my Geekom A7. I am not able to figure out why Bluetooth is not working. My problem looks the same as described here.

Bluetooth works fine on Windows on the same Geekom A7 mini PC.

  1. rfkill shows that Bluetooth is not blocked.

    rfkill list all
    0: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
    
  2. bluetoothctl reports that there is no default controller.

    [bluetooth]# devices
    No default controller available
    
  3. lsmod shows

    lsmod | grep bluetooth
    bluetooth            1089536  15 btrtl,btmtk,btintel,btbcm,bnep,btusb
    ecdh_generic           16384  1 bluetooth
    
  4. systemctl shows

    systemctl status bluetooth.service
    ● bluetooth.service - Bluetooth service
         Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; preset: enabled)
         Active: active (running) since Fri 2024-05-24 11:05:05 CST; 13min ago
           Docs: man:bluetoothd(8)
       Main PID: 1029 (bluetoothd)
         Status: "Running"
          Tasks: 1 (limit: 37566)
         Memory: 2.8M (peak: 3.1M)
            CPU: 32ms
         CGroup: /system.slice/bluetooth.service
                 └─1029 /usr/libexec/bluetooth/bluetoothd
    
    May 24 11:05:05 terrasoff-A7 systemd[1]: Started bluetooth.service - Bluetooth service.
    May 24 11:05:05 terrasoff-A7 bluetoothd[1029]: Starting SDP server
    May 24 11:05:05 terrasoff-A7 bluetoothd[1029]: src/plugin.c:plugin_init() System does not support csip plugin
    May 24 11:05:05 terrasoff-A7 bluetoothd[1029]: profiles/audio/micp.c:micp_init() D-Bus experimental not enabled
    May 24 11:05:05 terrasoff-A7 bluetoothd[1029]: src/plugin.c:plugin_init() System does not support micp plugin
    May 24 11:05:05 terrasoff-A7 bluetoothd[1029]: src/plugin.c:plugin_init() System does not support vcp plugin
    May 24 11:05:05 terrasoff-A7 bluetoothd[1029]: src/plugin.c:plugin_init() System does not support mcp plugin
    May 24 11:05:05 terrasoff-A7 bluetoothd[1029]: src/plugin.c:plugin_init() System does not support bass plugin
    May 24 11:05:05 terrasoff-A7 bluetoothd[1029]: src/plugin.c:plugin_init() System does not support bap plugin
    May 24 11:05:05 terrasoff-A7 bluetoothd[1029]: Bluetooth management interface 1.22 initialized
    
  5. dmesg | grep -i Bluetooth shows

    [    6.914793] Bluetooth: Core ver 2.22
    [    6.914815] NET: Registered PF_BLUETOOTH protocol family
    [    6.914816] Bluetooth: HCI device and connection manager initialized
    [    6.914819] Bluetooth: HCI socket layer initialized
    [    6.914821] Bluetooth: L2CAP socket layer initialized
    [    6.914825] Bluetooth: SCO socket layer initialized
    [    8.512540] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [    8.512545] Bluetooth: BNEP filters: protocol multicast
    [    8.512549] Bluetooth: BNEP socket layer initialized
    [    8.933590] Modules linked in: qrtr bnep binfmt_misc intel_rapl_msr nls_iso8859_1 intel_rapl_common snd_hda_codec_realtek amdgpu(+) edac_mce_amd snd_hda_codec_generic snd_hda_codec_hdmi kvm_amd snd_hda_intel snd_intel_dspcfg snd_intel_sdw_acpi kvm snd_hda_codec irqbypass snd_hda_core mt7921e crct10dif_pclmul snd_hwdep amdxcp mt7921_common polyval_clmulni btusb snd_pcm drm_exec mt792x_lib polyval_generic btrtl gpu_sched snd_seq_midi mt76_connac_lib ghash_clmulni_intel btintel drm_buddy snd_seq_midi_event mt76 sha256_ssse3 btbcm drm_suballoc_helper drm_ttm_helper snd_rawmidi sha1_ssse3 btmtk ttm snd_seq mac80211 aesni_intel bluetooth drm_display_helper snd_seq_device crypto_simd snd_timer cec ecdh_generic cryptd rc_core cfg80211 snd ecc wmi_bmof rapl i2c_algo_bit input_leds joydev ccp soundcore k10temp libarc4 i2c_piix4 apple_mfi_fastcharge amd_pmc mac_hid msr parport_pc ppdev lp parport efi_pstore nfnetlink dmi_sysfs ip_tables x_tables autofs4 hid_logitech_hidpp hid_logitech_dj hid_apple hid_generic usbhid sdhci_pci
    [    9.061366] Bluetooth: hci0: Opcode 0x0c03 failed: -110
    
  6. lsusb doesn't show my Bluetooth name:

    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 003 Device 002: ID 13d3:3585 IMC Networks Wireless_Device
    Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 005 Device 002: ID 05e3:0610 Genesys Logic, Inc. Hub
    Bus 005 Device 005: ID 046d:c534 Logitech, Inc. Unifying Receiver
    Bus 005 Device 006: ID 05ac:024f Apple, Inc. Aluminium Keyboard (ANSI)
    Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 006 Device 002: ID 05e3:0625 Genesys Logic, Inc. USB3.2 Hub
    Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    
  7. hcitool dev doesn't find any bluetooth device.

  8. /var/lib/bluetooth is empty.

  9. lspci shows:

    00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14e8
    00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Device 14e9
    00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14ea
    00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14ea
    00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14ee
    00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14ee
    00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14ee
    00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14ee
    00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14ea
    00:03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 19h USB4/Thunderbolt PCIe tunnel
    00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14ea
    00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14ea
    00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14eb
    00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14eb
    00:08.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14eb
    00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 71)
    00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
    00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14f0
    00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14f1
    00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14f2
    00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14f3
    00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14f4
    00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14f5
    00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14f6
    00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14f7
    01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
    02:00.0 Network controller: MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter
    03:00.0 SD Host controller: O2 Micro, Inc. SD/MMC Card Reader Controller (rev 01)
    04:00.0 Non-Volatile memory controller: Phison Electronics Corporation PS5021-E21 PCIe4 NVMe Controller (DRAM-less)
    65:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Phoenix1 (rev c2)
    65:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller
    65:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 19h (Model 74h) CCP/PSP 3.0 Device
    65:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15b9
    65:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15ba
    65:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller
    65:00.7 Signal processing controller: Advanced Micro Devices, Inc. [AMD] Device 164a
    66:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Device 14ec
    66:00.1 Signal processing controller: Advanced Micro Devices, Inc. [AMD] AMD IPU Device
    67:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Device 14ec
    67:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15c0
    67:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15c1
    67:00.5 USB controller: Advanced Micro Devices, Inc. [AMD] Pink Sardine USB4/Thunderbolt NHI controller #1
    

Do you have any ideas about how to fix it?

No network access from within Docker container https://askubuntu.com/questions/1445229/no-network-access-from-within-docker-container

I can't access the Internet or even the local network (a network printer) from within a container. For example, pinging google.com's IP:

docker run --rm busybox ping -c 2 142.250.186.142

outputs:

PING 142.250.186.142 (142.250.186.142): 56 data bytes

--- 142.250.186.142 ping statistics ---
2 packets transmitted, 0 packets received, 100% packet loss

With --network=host, it works:

docker run --rm --network=host busybox ping -c 2 142.250.186.142

Host is Ubuntu 22.10. And it used to work until last week. My colleagues using Windows as an host can ping fine.

I tried:

More details:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.10
Release:        22.10
Codename:       kinetic

$ docker info
Client:
 Context:    default
 Debug Mode: false
 Plugins:
  app: Docker App (Docker Inc., v0.9.1-beta3)
  buildx: Docker Buildx (Docker Inc., v0.9.1-docker)
  compose: Docker Compose (Docker Inc., v2.12.2)
  scan: Docker Scan (Docker Inc., v0.21.0)

Server:
 Containers: 1
  Running: 0
  Paused: 0
  Stopped: 1
 Images: 1
 Server Version: 20.10.21
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: systemd
 Cgroup Version: 2
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: a05d175400b1145e5e6a735a6710579d181e7fb0
 runc version: v1.1.4-0-g5fd4c4d
 init version: de40ad0
 Security Options:
  apparmor
  seccomp
   Profile: default
  cgroupns
 Kernel Version: 5.19.0-26-generic
 Operating System: Ubuntu 22.10
 OSType: linux
 Architecture: x86_64
 CPUs: 8
 Total Memory: 15.4GiB
 Name: boris-ThinkPad-T480
 ID: ZN24:57QW:KT4M:J5H6:BIHZ:BF6I:KDV2:EAM6:CESL:UWNE:43AL:LUAJ
 Docker Root Dir: /var/lib/docker
 Debug Mode: true
  File Descriptors: 24
  Goroutines: 34
  System Time: 2022-12-12T20:08:42.528459605+01:00
  EventsListeners: 0
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

$ docker version
Client: Docker Engine - Community
 Version:           20.10.21
 API version:       1.41
 Go version:        go1.18.7
 Git commit:        baeda1f
 Built:             Tue Oct 25 18:01:58 2022
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.21
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.18.7
  Git commit:       3056208
  Built:            Tue Oct 25 17:59:49 2022
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.12
  GitCommit:        a05d175400b1145e5e6a735a6710579d181e7fb0
 runc:
  Version:          1.1.4
  GitCommit:        v1.1.4-0-g5fd4c4d
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

$ cat /proc/sys/net/ipv4/ip_forward
1

$ iptables -Z && iptables -nvL > before.txt && docker run --rm busybox ping -c 3 142.250.186.142 > ping.txt  &&  iptables -nvL > after.txt && cat before.txt && cat ping.txt && diff before.txt after.txt
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 LIBVIRT_INP  all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 DOCKER-USER  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
    0     0 DOCKER-ISOLATION-STAGE-1  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
    0     0 ACCEPT     all  --  *      docker0  0.0.0.0/0            0.0.0.0/0            ctstate RELATED,ESTABLISHED
    0     0 DOCKER     all  --  *      docker0  0.0.0.0/0            0.0.0.0/0           
    0     0 ACCEPT     all  --  docker0 !docker0  0.0.0.0/0            0.0.0.0/0           
    0     0 ACCEPT     all  --  docker0 docker0  0.0.0.0/0            0.0.0.0/0           
    0     0 LIBVIRT_FWX  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
    0     0 LIBVIRT_FWI  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
    0     0 LIBVIRT_FWO  all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 LIBVIRT_OUT  all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain DOCKER (1 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain DOCKER-ISOLATION-STAGE-1 (1 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 DOCKER-ISOLATION-STAGE-2  all  --  docker0 !docker0  0.0.0.0/0            0.0.0.0/0           
    0     0 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain DOCKER-ISOLATION-STAGE-2 (1 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 DROP       all  --  *      docker0  0.0.0.0/0            0.0.0.0/0           
    0     0 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain DOCKER-USER (1 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain LIBVIRT_FWI (1 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 ACCEPT     all  --  *      virbr0  0.0.0.0/0            192.168.122.0/24     ctstate RELATED,ESTABLISHED
    0     0 REJECT     all  --  *      virbr0  0.0.0.0/0            0.0.0.0/0            reject-with icmp-port-unreachable

Chain LIBVIRT_FWO (1 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 ACCEPT     all  --  virbr0 *       192.168.122.0/24     0.0.0.0/0           
    0     0 REJECT     all  --  virbr0 *       0.0.0.0/0            0.0.0.0/0            reject-with icmp-port-unreachable

Chain LIBVIRT_FWX (1 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 ACCEPT     all  --  virbr0 virbr0  0.0.0.0/0            0.0.0.0/0           

Chain LIBVIRT_INP (1 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 ACCEPT     udp  --  virbr0 *       0.0.0.0/0            0.0.0.0/0            udp dpt:53
    0     0 ACCEPT     tcp  --  virbr0 *       0.0.0.0/0            0.0.0.0/0            tcp dpt:53
    0     0 ACCEPT     udp  --  virbr0 *       0.0.0.0/0            0.0.0.0/0            udp dpt:67
    0     0 ACCEPT     tcp  --  virbr0 *       0.0.0.0/0            0.0.0.0/0            tcp dpt:67

Chain LIBVIRT_OUT (1 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 ACCEPT     udp  --  *      virbr0  0.0.0.0/0            0.0.0.0/0            udp dpt:53
    0     0 ACCEPT     tcp  --  *      virbr0  0.0.0.0/0            0.0.0.0/0            tcp dpt:53
    0     0 ACCEPT     udp  --  *      virbr0  0.0.0.0/0            0.0.0.0/0            udp dpt:68
    0     0 ACCEPT     tcp  --  *      virbr0  0.0.0.0/0            0.0.0.0/0            tcp dpt:68
PING 142.250.186.142 (142.250.186.142): 56 data bytes

--- 142.250.186.142 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
1c1
< Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
---
> Chain INPUT (policy ACCEPT 220 packets, 56220 bytes)
3c3
<     0     0 LIBVIRT_INP  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
---
>   220 56220 LIBVIRT_INP  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
5c5
< Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
---
> Chain FORWARD (policy ACCEPT 3 packets, 252 bytes)
7,8c7,8
<     0     0 DOCKER-USER  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
<     0     0 DOCKER-ISOLATION-STAGE-1  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
---
>     6   504 DOCKER-USER  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
>     6   504 DOCKER-ISOLATION-STAGE-1  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
11c11
<     0     0 ACCEPT     all  --  docker0 !docker0  0.0.0.0/0            0.0.0.0/0           
---
>     3   252 ACCEPT     all  --  docker0 !docker0  0.0.0.0/0            0.0.0.0/0           
13,15c13,15
<     0     0 LIBVIRT_FWX  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
<     0     0 LIBVIRT_FWI  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
<     0     0 LIBVIRT_FWO  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
---
>     3   252 LIBVIRT_FWX  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
>     3   252 LIBVIRT_FWI  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
>     3   252 LIBVIRT_FWO  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
17c17
< Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
---
> Chain OUTPUT (policy ACCEPT 267 packets, 34045 bytes)
19c19
<     0     0 LIBVIRT_OUT  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
---
>   267 34045 LIBVIRT_OUT  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
26,27c26,27
<     0     0 DOCKER-ISOLATION-STAGE-2  all  --  docker0 !docker0  0.0.0.0/0            0.0.0.0/0           
<     0     0 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0           
---
>     3   252 DOCKER-ISOLATION-STAGE-2  all  --  docker0 !docker0  0.0.0.0/0            0.0.0.0/0           
>     6   504 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0           
32c32
<     0     0 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0           
---
>     3   252 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0           
36c36
<     0     0 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0           
---
>     6   504 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0

$ sudo iptables -L -v -n -t  nat
Chain PREROUTING (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         
  129 46233 DOCKER     all  --  *      *       0.0.0.0/0            0.0.0.0/0            ADDRTYPE match dst-type LOCAL

Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         

Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 DOCKER     all  --  *      *       0.0.0.0/0           !127.0.0.0/8          ADDRTYPE match dst-type LOCAL

Chain POSTROUTING (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         
    6   504 MASQUERADE  all  --  *      !docker0  172.17.0.0/16        0.0.0.0/0           
18336 2849K LIBVIRT_PRT  all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain DOCKER (2 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 RETURN     all  --  docker0 *       0.0.0.0/0            0.0.0.0/0           

Chain LIBVIRT_PRT (1 references)
 pkts bytes target     prot opt in     out     source               destination         
   29  2852 RETURN     all  --  *      *       192.168.122.0/24     224.0.0.0/24        
    0     0 RETURN     all  --  *      *       192.168.122.0/24     255.255.255.255     
    2   120 MASQUERADE  tcp  --  *      *       192.168.122.0/24    !192.168.122.0/24     masq ports: 1024-65535
    6  3810 MASQUERADE  udp  --  *      *       192.168.122.0/24    !192.168.122.0/24     masq ports: 1024-65535
    2    64 MASQUERADE  all  --  *      *       192.168.122.0/24    !192.168.122.0/24
kernel panic not syncing: Attempted to kill init! exitcode=0x00000100 (ubuntu 18.04lts) https://askubuntu.com/questions/1390355/kernel-panic-not-syncing-attempted-to-kill-init-exitcode-0x00000100-ubuntu-18

I'm a newbie in ubuntu.

I want to get help because I'm facing a kernel panic problem like below.

enter image description here

So I googled and found some solutions and tried.

Solution1. Tried another version of kernel and its recovery mode.

enter image description here

I tried all of them. And they showed same kernel panic and exitcode=0x00000100.

Solution2. Made Ubuntu 18.04 LTS Live USB and tried to boot with USB.

But my computer displayed nothing then.

Solution3. Tried to boot manually in grub2 command line following this link. https://www.linux.com/training-tutorials/how-rescue-non-booting-grub-2-linux/

But in grub, I couldn't found any sda or other device in /dev directory enter image description here

Thanks for reading and apologize for my poor English.

Controlling fans and undervolting in Acer Nitro 5 with Ubuntu https://askubuntu.com/questions/1300102/controlling-fans-and-undervolting-in-acer-nitro-5-with-ubuntu

I installed Ubuntu on my Acer Nitro 5 || 8GB DDR4 || 1TB NVME SSD || i5-9300H || 4GB GTX 1650 laptop, replacing Windows.

Switching to Linux I think there are many features that I am unable to use like controlling fans and undervolting as in Windows; so is there any way by which I can get access to such features?

Acer Nitro 5

Linux file manager similar to Windows File Explorer (directory tree + file list)? https://askubuntu.com/questions/1291745/linux-file-manager-similar-to-windows-file-explorer-directory-tree-file-list

Which Linux file manager has a UI that mimics Windows File Explorer in a way that it supports a split view with:

  • a directory tree on the left, and
  • a file list on the right?
Help with installing boot grub in Windows 10 https://askubuntu.com/questions/1224848/help-with-installing-boot-grub-in-windows-10

I'm having a hard time trying to install on my Windows 10 the Grub bootloader. I downloaded the Ubuntu 18.04.4-desktop-amd64 ISO then ran the Ubuntu live session, then I ran this command sudo fdisk -l

SSD:

Image of my SSD

According to some internet articles I need to shrink my current SSD at least by 400 MB in order to format a boot partition as EFI FAT32 with a proper flag, and with that I will be able to install GRUB there. I have never used a Linux distro before.

Would someone here give me guidance me with proper commands in order to shrink my current drive which has 223 size, but only has a free space of 33 GIB? I only need a 400 MB boot partition.

Once I have installed Grub, finally I would be able to ran the grub configuration to finally fix the HPET of my motherboard firmware among other things.

With GRUB booting Windows, I can access to the configuration of the motherboard firmware allowed in Asrock, and with that force High Event Precision Timing to Disable Cause in a regular way my motherboard firmware is causing issues with HPET forced enable even if I disabled it, so with the GRUB there is a configuration to force HPET to disable, and force the Windows timer to 3.580 MHz.

Why are upgradable packages not upgraded? https://askubuntu.com/questions/1181852/why-are-upgradable-packages-not-upgraded

Executing sudo apt update ended with

Reading package lists... Done
Building dependency tree       
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.

Executing apt list --upgradable gave me

Listing... Done
onionshare/bionic,bionic 2.2.ppa1-1 all [upgradable from: 2.1-1]
ring-all/unknown 20190927.2.c2af011~dfsg1-1 amd64 [upgradable from: 20190629.2.c07ef23~dfsg1-1]

But executing sudo apt upgrade does not upgrade the upgradable packages:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  1. Why is that? Unmet dependencies possibly?
  2. Can I (manually) upgrade the listed packages, and if so: how?

Update: See this pastebin for a full transcript.

Adding a exception on the client side of OpenVPN https://askubuntu.com/questions/964502/adding-a-exception-on-the-client-side-of-openvpn

I have an openvpn client and it's configuration is stored in a .ovpn file. All my network traffic is going through the VPN tunnel when I connect to it.

I want to add an exception for some of the IPs to not go through the VPN tunnel. I have tried adding route www.google.com 255.255.255.255 192.168.43.1 at the end of the ovpn file to test it. (192.168.43.1 is router IP address)

But, this is making the configuration file invalid. I am just beginning to learn openvpn and I am confused about where to add this line exactly.

Error at startup "No module named 'six'" https://askubuntu.com/questions/963964/error-at-startup-no-module-named-six

I am running Ubuntu 17.04 and for some time now, every time I start my machine I get an error about the package-data-downloader that crashed because of No module named 'six'. See this screenshot:
enter image description here

I am wondering if it might have something to do with my Python3.6 and Anaconda installs. When I run python -V && which python I get:

Python 3.6.2 :: Anaconda, Inc.
/home/user/anaconda3/bin/python

So when I saw that the InterpreterPath was pointing to python3.5, I wondered if it might be related.

If anyone can help me out it would be appreciated.

Qualcomm Atheros AR9485 Wireless Network Adapter not working on Ubuntu 13.10 https://askubuntu.com/questions/419867/qualcomm-atheros-ar9485-wireless-network-adapter-not-working-on-ubuntu-13-10

Solution 1

Hi I recently installed Ubuntu 13.10 on my laptop alongside windows. I have an Atheros AR9485 adapter. It worked well for a few weeks and now won't work anymore although it still works for the windows. I have tried out some of the solutions suggested but it still doesn't work. This so what I have so far done and the answers I get;

$ sudo modprobe -r iwlwifi
Error: missing module name.
FATAL: Error running remove command for iwlwifi

$ sudo modprobe -r iwlwifi.conf
FATAL: Module iwlwifi.conf not found.

$ cd /etc
/etc$ ls

Here I find the directory modprobe.d but modprobe does not exist so I try

$ cd modprobe.d
modprobe.d: No such file or directory

Then I go back to the /etc and try

$ cd /etc
$ cd modprobe.d
/etc/modprobe.d$ ls

I find the file iwlwifi.conf~ and try:

/etc/modprobe.d$ sudo modprobe -r iwlwifi.conf~
FATAL: Module iwlwifi.conf~ not found.

/etc/modprobe.d$ cd ~

$ sudo modprobe.d -r iwlwifi.conf~
sudo: modprobe.d: command not found

I had read a solution that was giving the steps below if I had succeeded. I tried to look for the .conf file and edited it as directed in the last part of this solution but it didn't work and I was unable to go beyond that;

Looks like this hardware has some problem with N configuration in WiFi. Please try:

sudo modprobe -r iwlwifi
sudo modprobe iwlwifi 11n_disable=1

Now try to reconnect, if it helps follow below steps

  1. Look into /etc/modprobe.d whether there are any file like intel-5100-iwlwifi-disable11n.conf then edit the file.

     sudo gedit /etc/modprobe.d/<filename_here>
    

    Edit the line that says

    options iwlwifi 11n_disable=1
    

    to

    options iwlwifi 11n_disable=0
    

    Save and reboot.

  2. If no file exists, create a new file

    gksudo gedit /etc/modprobe.d/iwlwifi.conf
    

    Add a new line:

    options iwlwifi 11n_disable=1
    

    Save and reboot.

Solution 2:

When solution 1 failed, I tried solution 2 as shown here below;

lspci -nnk | grep -iA2 net
lsmod
iwconfig
rfkill list

lspci -nnk | grep -iA2 net

01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI
Express Fast Ethernet controller [10ec:8136] (rev 05)
    Subsystem: Acer Incorporated [ALI] Device [1025:061f]
    Kernel driver in use: r8169
02:00.0 Network controller [0280]: Qualcomm Atheros AR9485 Wireless Network Adapter [168c:0032] (rev 01)
    Subsystem: Foxconn International, Inc. Device [105b:e047]
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader [10ec:5209] (rev 01)

lsmod

Module                  Size  Used by
nls_iso8859_1          12713  1 
parport_pc             32701  0 
ppdev                  17671  0 
bnep                   19564  2 
rfcomm                 69070  0 
bluetooth             371874  10 bnep,rfcomm
vesafb                 13828  1 
lp                     17759  0
parport                42299  3 lp,ppdev,parport_pc
hid_generic            12548  0 
usbhid                 53014  0 
hid                   101512  2 hid_generic,usbhid
usb_storage            62062  1 
rtsx_pci_sdmmc         23527  0 
ahci                   25819  2 
libahci                31898  1 ahci
rtsx_pci               45546  1 rtsx_pci_sdmmc
r8169                  67341  0
mii                    13934  1 r8169

iwconfig

eth0      no wireless extensions.
lo        no wireless extensions.

rfkill list

The last command did not give an output so I could not follow the instructions that were to come as shown below;

Deactivate the hardware encryption of the driver:

Code:

echo "options ath9k nohwcrypt=1" | sudo tee /etc/modprobe.d/ath9k.conf
sudo modprobe -rfv ath9k
sudo modprobe -v ath9k

Any help either along these steps or any other solution will be appreciated.