How to revert back default LUKS setup in Ubuntu 24.04 after I messed it up? https://askubuntu.com/questions/1560483/how-to-revert-back-default-luks-setup-in-ubuntu-24-04-after-i-messed-it-up

I have a laptop with Ubuntu 24.04.3 with LUKS encryption set up at the time of installation. I wanted to an "key-file in a USB drive" based unlock option in addition to entering the passphrase. To this end I followed the guide LUKS with USB unlock. Unfortunately I made a mistake somewhere and now my laptop does not boot and takes me to the intiranfs prompt.

How do I revert the changes I made to /etc/crypttab and other files using live-USB?

dell pro max 16 premium ma16250 touchpad stops working after installing new kernel https://askubuntu.com/questions/1560480/dell-pro-max-16-premium-ma16250-touchpad-stops-working-after-installing-new-kern

We have these new laptops from dell (max premium 16) and when we install the OS (jammy) on them WiFi/Bluetooth and camera is not working. A solution to fix WiFi/Bluetooth is to install a newer kernel using deb packages from ubuntu (https://kernel.ubuntu.com/mainline/v6.14.1). After installing this the touchpad stops working on the device.

I did try to unload and reload the module, but no luck

I am doing this to get logs:

sudo libinput debug-events --device /dev/input/event7

I don't get anything from touching it, but if I try to press the button I will get the following output randomly

-event7   DEVICE_ADDED            VEN_06CB:00 06CB:CFF9 Touchpad    seat0 default group1  cap:pg  size 149x87mm tap(dl off) left scroll-nat scroll-2fg-edge click-buttonareas-clickfinger dwt-on
libinput error: event7  - VEN_06CB:00 06CB:CFF9 Touchpad: kernel bug: Touch jump detected and discarded.
See https://wayland.freedesktop.org/libinput/doc/1.20.0/touchpad-jumping-cursors.html for details
libinput error: event7  - VEN_06CB:00 06CB:CFF9 Touchpad: kernel bug: Touch jump detected and discarded.
See https://wayland.freedesktop.org/libinput/doc/1.20.0/touchpad-jumping-cursors.html for details
libinput error: event7  - VEN_06CB:00 06CB:CFF9 Touchpad: kernel bug: Touch jump detected and discarded.
See https://wayland.freedesktop.org/libinput/doc/1.20.0/touchpad-jumping-cursors.html for details
libinput error: event7  - VEN_06CB:00 06CB:CFF9 Touchpad: kernel bug: Touch jump detected and discarded.
See https://wayland.freedesktop.org/libinput/doc/1.20.0/touchpad-jumping-cursors.html for details
libinput error: event7  - VEN_06CB:00 06CB:CFF9 Touchpad: kernel bug: Touch jump detected and discarded.
See https://wayland.freedesktop.org/libinput/doc/1.20.0/touchpad-jumping-cursors.html for details
libinput error: event7  - VEN_06CB:00 06CB:CFF9 Touchpad: WARNING: log rate limit exceeded (5 msgs per 24h). Discarding future messages.
Add /etc/haproxy/conf.d directory in the haproxy.service systemd unit file https://askubuntu.com/questions/1560478/add-etc-haproxy-conf-d-directory-in-the-haproxy-service-systemd-unit-file

On Ubuntu 24.04 with HAProxy 2.8.15-0ubuntu0.24.04.1 I use the default /etc/haproxy/haproxy.cfg file for my configuration. Many applications/services offer an option to place config files in a conf.d or appname.d directory.

As I understand it, HAProxy supports supplying the -f argument with a filename or dirname multiple times.

Who could add a /etc/haproxy/conf.d directory and utilize -f /etc/haproxy/conf.d (or /etc/haproxy/conf.d/*.cfg) in the haproxy.service systemd unit file by default? Is there a package maintainer that can improve this?

how to enable manifest v2 in chrome https://askubuntu.com/questions/1560475/how-to-enable-manifest-v2-in-chrome

i have google-chrome-stable 142.0.7444.175-1 installed, and im trying to use manifests v2

when i open chromes from the shortcut, it runs a exec commands that i think is configured here /usr/share/applications/google-chrome.desktop there is three different configs [Desktop Entry], [Desktop Action new-window], [Desktop Action new-private-window]

the exec commands looks like this Exec=/usr/bin/google-chrome-stable %U for the [Desktop Entry], and similar for the other exec commands. i tried adding flags to the exec commands config, and i do not think that it worked, i didn't test a manifests, but i looked at the chrome://flags, and it didn't tell me about v2

these are the flags i tried to add, and it looked like this

Exec=/usr/bin/google-chrome-stable --enable-features=AllowLegacyMV2Extensions --disable-features=ExtensionManifestV2Unsupported,ExtensionManifestV2Disabled,ExtensionsManifestV3Only %U

well here is the entire file, well most of the file, this page is have problems understanding korean, so i have to remove that

[Desktop Entry]
Version=1.0
Name=Google Chrome
# Only KDE 4 seems to use GenericName, so we reuse the KDE strings.
# From Ubuntu's language-pack-kde-XX-base packages, version 9.04-20090413.
GenericName=Web Browser
GenericName[ar]=متصفح الشبكة
GenericName[bg]=Уеб браузър
GenericName[ca]=Navegador web
GenericName[cs]=WWW prohlížeč
GenericName[da]=Browser
GenericName[de]=Web-Browser
GenericName[el]=Περιηγητής ιστού
GenericName[en_GB]=Web Browser
GenericName[es]=Navegador web
GenericName[et]=Veebibrauser
GenericName[fi]=WWW-selain
GenericName[fr]=Navigateur Web
GenericName[gu]=વેબ બ્રાઉઝર
GenericName[he]=דפדפן אינטרנט
GenericName[hi]=वेब ब्राउज़र
GenericName[hu]=Webböngésző
GenericName[it]=Browser Web
GenericName[ja]=ウェブブラウザ
GenericName[kn]=ಜಾಲ ವೀಕ್ಷಕ
GenericName[ko]= removed removed
GenericName[lt]=Žiniatinklio naršyklė
GenericName[lv]=Tīmekļa pārlūks
GenericName[ml]=വെബ് ബ്രൌസര്‍
GenericName[mr]=वेब ब्राऊजर
GenericName[nb]=Nettleser
GenericName[nl]=Webbrowser
GenericName[pl]=Przeglądarka WWW
GenericName[pt]=Navegador Web
GenericName[pt_BR]=Navegador da Internet
GenericName[ro]=Navigator de Internet
GenericName[ru]=Веб-браузер
GenericName[sl]=Spletni brskalnik
GenericName[sv]=Webbläsare
GenericName[ta]=இணைய உலாவி
GenericName[th]=เว็บเบราว์เซอร์
GenericName[tr]=Web Tarayıcı
GenericName[uk]=Навігатор Тенет
GenericName[zh_CN]=网页浏览器
GenericName[zh_HK]=網頁瀏覽器
GenericName[zh_TW]=網頁瀏覽器
# Not translated in KDE, from Epiphany 2.26.1-0ubuntu1.
GenericName[bn]=ওয়েব ব্রাউজার
GenericName[fil]=Web Browser
GenericName[hr]=Web preglednik
GenericName[id]=Browser Web
GenericName[or]=ଓ୍ବେବ ବ୍ରାଉଜର
GenericName[sk]=WWW prehliadač
GenericName[sr]=Интернет прегледник
GenericName[te]=మహాతల అన్వేషి
GenericName[vi]=Bộ duyệt Web
# Gnome and KDE 3 uses Comment.
Comment=Access the Internet
Comment[ar]=الدخول إلى الإنترنت
Comment[bg]=Достъп до интернет
Comment[bn]=ইন্টারনেটটি অ্যাক্সেস করুন
Comment[ca]=Accedeix a Internet
Comment[cs]=Přístup k internetu
Comment[da]=Få adgang til internettet
Comment[de]=Internetzugriff
Comment[el]=Πρόσβαση στο Διαδίκτυο
Comment[en_GB]=Access the Internet
Comment[es]=Accede a Internet.
Comment[et]=Pääs Internetti
Comment[fi]=Käytä internetiä
Comment[fil]=I-access ang Internet
Comment[fr]=Accéder à Internet
Comment[gu]=ઇંટરનેટ ઍક્સેસ કરો
Comment[he]=גישה אל האינטרנט
Comment[hi]=इंटरनेट तक पहुंच स्थापित करें
Comment[hr]=Pristup Internetu
Comment[hu]=Internetelérés
Comment[id]=Akses Internet
Comment[it]=Accesso a Internet
Comment[ja]=インターネットにアクセス
Comment[kn]=ಇಂಟರ್ನೆಟ್ ಅನ್ನು ಪ್ರವೇಶಿಸಿ
Comment[ko]=removed removed
Comment[lt]=Interneto prieiga
Comment[lv]=Piekļūt internetam
Comment[ml]=ഇന്റര്‍‌നെറ്റ് ആക്‌സസ് ചെയ്യുക
Comment[mr]=इंटरनेटमध्ये प्रवेश करा
Comment[nb]=Gå til Internett
Comment[nl]=Verbinding maken met internet
Comment[or]=ଇଣ୍ଟର୍ନେଟ୍ ପ୍ରବେଶ କରନ୍ତୁ
Comment[pl]=Skorzystaj z internetu
Comment[pt]=Aceder à Internet
Comment[pt_BR]=Acessar a internet
Comment[ro]=Accesaţi Internetul
Comment[ru]=Доступ в Интернет
Comment[sk]=Prístup do siete Internet
Comment[sl]=Dostop do interneta
Comment[sr]=Приступите Интернету
Comment[sv]=Gå ut på Internet
Comment[ta]=இணையத்தை அணுகுதல்
Comment[te]=ఇంటర్నెట్‌ను ఆక్సెస్ చెయ్యండి
Comment[th]=เข้าถึงอินเทอร์เน็ต
Comment[tr]=İnternet'e erişin
Comment[uk]=Доступ до Інтернету
Comment[vi]=Truy cập Internet
Comment[zh_CN]=访问互联网
Comment[zh_HK]=連線到網際網路
Comment[zh_TW]=連線到網際網路
#Exec=/usr/bin/google-chrome-stable %U
Exec=/usr/bin/google-chrome-stable --enable-features=AllowLegacyMV2Extensions --disable-features=ExtensionManifestV2Unsupported,ExtensionManifestV2Disabled,ExtensionsManifestV3Only %U
StartupNotify=true
Terminal=false
Icon=google-chrome
Type=Application
Categories=Network;WebBrowser;
MimeType=application/pdf;application/rdf+xml;application/rss+xml;application/xhtml+xml;application/xhtml_xml;application/xml;image/gif;image/jpeg;image/png;image/webp;text/html;text/xml;x-scheme-handler/http;x-scheme-handler/https;
Actions=new-window;new-private-window;

[Desktop Action new-window]
Name=New Window
Name[am]=አዲስ መስኮት
Name[ar]=نافذة جديدة
Name[bg]=Нов прозорец
Name[bn]=নতুন উইন্ডো
Name[ca]=Finestra nova
Name[cs]=Nové okno
Name[da]=Nyt vindue
Name[de]=Neues Fenster
Name[el]=Νέο Παράθυρο
Name[en_GB]=New Window
Name[es]=Nueva ventana
Name[et]=Uus aken
Name[fa]=پنجره جدید
Name[fi]=Uusi ikkuna
Name[fil]=New Window
Name[fr]=Nouvelle fenêtre
Name[gu]=નવી વિંડો
Name[hi]=नई विंडो
Name[hr]=Novi prozor
Name[hu]=Új ablak
Name[id]=Jendela Baru
Name[it]=Nuova finestra
Name[iw]=חלון חדש
Name[ja]=新規ウインドウ
Name[kn]=ಹೊಸ ವಿಂಡೊ
Name[ko]=removed removed
Name[lt]=Naujas langas
Name[lv]=Jauns logs
Name[ml]=പുതിയ വിന്‍ഡോ
Name[mr]=नवीन विंडो
Name[nl]=Nieuw venster
Name[no]=Nytt vindu
Name[pl]=Nowe okno
Name[pt]=Nova janela
Name[pt_BR]=Nova janela
Name[ro]=Fereastră nouă
Name[ru]=Новое окно
Name[sk]=Nové okno
Name[sl]=Novo okno
Name[sr]=Нови прозор
Name[sv]=Nytt fönster
Name[sw]=Dirisha Jipya
Name[ta]=புதிய சாளரம்
Name[te]=క్రొత్త విండో
Name[th]=หน้าต่างใหม่
Name[tr]=Yeni Pencere
Name[uk]=Нове вікно
Name[vi]=Cửa sổ Mới
Name[zh_CN]=新建窗口
Name[zh_TW]=開新視窗
Exec=/usr/bin/google-chrome-stable --enable-features=AllowLegacyMV2Extensions --disable-features=ExtensionManifestV2Unsupported,ExtensionManifestV2Disabled,ExtensionsManifestV3Only

[Desktop Action new-private-window]
Name=New Incognito Window
Name[ar]=نافذة جديدة للتصفح المتخفي
Name[bg]=Нов прозорец „инкогнито“
Name[bn]=নতুন ছদ্মবেশী উইন্ডো
Name[ca]=Finestra d'incògnit nova
Name[cs]=Nové anonymní okno
Name[da]=Nyt inkognitovindue
Name[de]=Neues Inkognito-Fenster
Name[el]=Νέο παράθυρο για ανώνυμη περιήγηση
Name[en_GB]=New Incognito window
Name[es]=Nueva ventana de incógnito
Name[et]=Uus inkognito aken
Name[fa]=پنجره جدید حالت ناشناس
Name[fi]=Uusi incognito-ikkuna
Name[fil]=Bagong Incognito window
Name[fr]=Nouvelle fenêtre de navigation privée
Name[gu]=નવી છુપી વિંડો
Name[hi]=नई गुप्त विंडो
Name[hr]=Novi anoniman prozor
Name[hu]=Új Inkognitóablak
Name[id]=Jendela Penyamaran baru
Name[it]=Nuova finestra di navigazione in incognito
Name[iw]=חלון חדש לגלישה בסתר
Name[ja]=新しいシークレット ウィンドウ
Name[kn]=ಹೊಸ ಅಜ್ಞಾತ ವಿಂಡೋ
Name[ko]=removed removed
Name[lt]=Naujas inkognito langas
Name[lv]=Jauns inkognito režīma logs
Name[ml]=പുതിയ വേഷ പ്രച്ഛന്ന വിന്‍ഡോ
Name[mr]=नवीन गुप्त विंडो
Name[nl]=Nieuw incognitovenster
Name[no]=Nytt inkognitovindu
Name[pl]=Nowe okno incognito
Name[pt]=Nova janela de navegação anónima
Name[pt_BR]=Nova janela anônima
Name[ro]=Fereastră nouă incognito
Name[ru]=Новое окно в режиме инкогнито
Name[sk]=Nové okno inkognito
Name[sl]=Novo okno brez beleženja zgodovine
Name[sr]=Нови прозор за прегледање без архивирања
Name[sv]=Nytt inkognitofönster
Name[ta]=புதிய மறைநிலைச் சாளரம்
Name[te]=క్రొత్త అజ్ఞాత విండో
Name[th]=หน้าต่างใหม่ที่ไม่ระบุตัวตน
Name[tr]=Yeni Gizli pencere
Name[uk]=Нове вікно в режимі анонімного перегляду
Name[vi]=Cửa sổ ẩn danh mới
Name[zh_CN]=新建隐身窗口
Name[zh_TW]=新增無痕式視窗
Exec=/usr/bin/google-chrome-stable --enable-features=AllowLegacyMV2Extensions --disable-features=ExtensionManifestV2Unsupported,ExtensionManifestV2Disabled,ExtensionsManifestV3Only --incognito

i also looked at this file

 cat /usr/bin/google-chrome-stable 
#!/bin/bash
#
# Copyright 2011 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# Let the wrapped binary know that it has been run through the wrapper.
export CHROME_WRAPPER="`readlink -f "$0"`"

HERE="`dirname "$CHROME_WRAPPER"`"

# We include some xdg utilities next to the binary, and we want to prefer them
# over the system versions when we know the system versions are very old. We
# detect whether the system xdg utilities are sufficiently new to be likely to
# work for us by looking for xdg-settings. If we find it, we leave $PATH alone,
# so that the system xdg utilities (including any distro patches) will be used.
if ! command -v xdg-settings &> /dev/null; then
  # Old xdg utilities. Prepend $HERE to $PATH to use ours instead.
  export PATH="$HERE:$PATH"
else
  # Use system xdg utilities. But first create mimeapps.list if it doesn't
  # exist; some systems have bugs in xdg-mime that make it fail without it.
  xdg_app_dir="${XDG_DATA_HOME:-$HOME/.local/share/applications}"
  mkdir -p "$xdg_app_dir"
  [ -f "$xdg_app_dir/mimeapps.list" ] || touch "$xdg_app_dir/mimeapps.list"
fi

export CHROME_VERSION_EXTRA="stable"

# We don't want bug-buddy intercepting our crashes. http://crbug.com/24120
export GNOME_DISABLE_CRASH_DIALOG=SET_BY_GOOGLE_CHROME

# Sanitize std{in,out,err} because they'll be shared with untrusted child
# processes (http://crbug.com/376567).
exec < /dev/null
exec > >(exec cat)
exec 2> >(exec cat >&2)

# Note: exec -a below is a bashism.
exec -a "$0" "$HERE/chrome" "$@"

and yeah im not sure what i should actually do so i can use manifest v2, or if i even should use manifest v2... i also want it to work from the desktop shortcut

it could be i actually want to edit /usr/bin/google-chrome-stable or it could be i just use firefoxs

thank you

hp 2510 printer only shows print to file https://askubuntu.com/questions/1560474/hp-2510-printer-only-shows-print-to-file

I am dual booting W 11 and Ubuntu 24.04.3, all updates are current, on a Dell 7060 computer with a HP 2510 printer. Ubuntu is my main OS. My problem is the printer works in W 11 but has lost the print from printer in Ubuntu. Two days ago I could print anything in Ubuntu but yestertday the only option I had was Print to File. I have tried everything I can find but nothing works. Yesterday I uninstalled and reinstalled several times but still I only have print to file. Am I missing something that isn't being downloaded in HPLIP? Thanks for any advice.

Ubuntu not displaying on Thinkpad boot menu https://askubuntu.com/questions/1560473/ubuntu-not-displaying-on-thinkpad-boot-menu

I am attempting to dual boot Ubuntu onto my Lenovo Thinkpad P14 Gen 4 (AMD). Windows 11 will be my primary OS, but I wanted to experiment with dual boot, and wanted to do it this way as opposed to a VM.

I followed the tutorial at this link https://ubuntu.com/tutorials/install-ubuntu-desktop#3-create-a-bootable-usb-stick, and I am stuck on the F12 boot menu. The displayed drive shows the NVMe and USB HDD, however Ubuntu does not show up as a bootable OS.

To troubleshoot:

Weird warnings when powering up Ubuntu Server https://askubuntu.com/questions/1560472/weird-warnings-when-powering-up-ubuntu-server

I'm using Ubuntu Server 24.04.

I don't know exactly when this appeared first. Maybe after messing with ethtool. At least that's when I saw it on the laptop screen.

I have an external HDD with a permanent mount is /etc/fstab. Everything seems fine there.

Imgur link for said errors: https://imgur.com/a/QWgbMAY

Samba share with different permission based on IP https://askubuntu.com/questions/1560469/samba-share-with-different-permission-based-on-ip

I'd like to set up a Samba-share that is read-only for all devices in my LAN, except for a select few devices (based on IP address) that have write access. I explicitly want to keep the read/write access IP-based as this works best with my devices and network configuration.

I did not find a way to do this in a single share definition, so I tried a solution with two definitions for the same share (seen elsewhere as suggestion), see below. This does not work, however, as the first definition is overruled by the second. In the current order that means that no devices have access to the share except the few with write-access (that part works). When flipped, only the read-only share works and the devices that should have write-access get no access whatsoever.

How can I solve this issue?

Running Ubuntu Server 24.04 with samba 4.19.5.

[Public]
    comment = Public share - Read only
    path = /media/nas-public
    browseable = yes
    writeable = no
    public = yes
    hosts allow = 192.168.50. EXCEPT 192.168.50.102, 192.168.50.103, 192.168.50.104, 10.8.0.0/2

[Public]
    comment = Public share - Writeable
    path = /media/nas-public
    browseable = yes
    writeable = yes
    public = yes
    force user = user
    hosts allow = 192.168.50.102, 192.168.50.103, 192.168.50.104, 10.8.0.0/24
Ubuntu 24.04.3 LTS freezing up https://askubuntu.com/questions/1560467/ubuntu-24-04-3-lts-freezing-up

I'm using a new laptop. It's the ASUS TUF a14 with Ryzen AI9 370hx + Nvidia GeForce RTX 4060.

After installing Ubuntu I faced a problem today where I was using the Firefox browser and was about to close it when everything froze. My keyboard wasn't working, neither was the touchpad. What could be the reason for this?

Before I faced a similar freeze up issue. When I was fractional scaling my screen to 150% using the display settings, the fractional scaling wouldn't work and the laptop froze after applying the settings.

What could be the issue, and can someone help me with this? Personally I suspect it's the graphics drivers or a hardware compatibility issue.

Clevis with tmp 2 cannot start docker service https://askubuntu.com/questions/1560465/clevis-with-tmp-2-cannot-start-docker-service

clevis tmp 2 successfully auto decrypts the disk and boots Ubuntu, however it did not start the docker services.

Prior to using clevis and tmp 2, docker container was able to start after reboot without login in to the OS.

But once I installed clevis, luks and TMP 2 and successfully auto decrypt the disk and booted to Ubuntu (without login in), it didn't start the docker container. I did a curl command to call a rest API from another PC and I got connection error.

Strangely, once I logged in to Ubuntu (without issuing any sudo command) , I was able to issue a curl command from another PC and I got a returned of JSON data. This shows that the docker service only starts once I have logged in. I'm using Ubuntu 24.04.

Could anybody tell me where did I go wrong? Thanks

No Sound (Dummy Output) Issue in Ubuntu 25.10 | Intel Lunar Lake-M HD Audio https://askubuntu.com/questions/1560460/no-sound-dummy-output-issue-in-ubuntu-25-10-intel-lunar-lake-m-hd-audio

After sound miraculously worked suddenly in 25.04, I have now the same problem like before in 25.10 (upgrade):

Sound shows just dummy output after boot. When loading a card profile manually ( pactl set-card-profile alsa_card.pci-0000_00_1f.3-platform-sof_sdw pro-audio ) there is no speaker in the sound test window.

Ubuntu 25.10, Linux ith-Yoga 6.17.0-7-generic,

inxi -A
Audio:
  Device-1: Intel Lunar Lake-M HD Audio driver: sof-audio-pci-intel-lnl
  API: ALSA v: k6.17.0-7-generic status: kernel-api
  Server-1: PipeWire v: 1.4.7 status: active

It might be a kernel problem (Regression in kernel 6.17.8)


Suddenly sound works but no speakers in test.

Changing mouse cursor style in 25.10 has no effect on most applications https://askubuntu.com/questions/1560459/changing-mouse-cursor-style-in-25-10-has-no-effect-on-most-applications

In Ubuntu 25.10 GNOME / Wayland (physical machine) it seems that it is not possible to change the cursor style for all applications.

When I try to change the cursor style from gnome-tweaksAppearanceStylesCursor to something else than Adwaita (default) all GNOME applications and most non-GNOME applications like Thunar, VirtualBox, Remmina, Google Chrome, MS Edge, etc. still continue to use the default style.

The style change seems to have effect only on some applications like Firefox, Thunderbird, Geany, or LibreOffice; but not in general.

There are some similar reports that suggest logging out and re-logging into the desktop session, but this makes no difference in my case.


Note: This problem may be related to the problem of an Ubuntu 25.10 GNOME / Wayland VirtualBox guest where the mouse pointer does not change when hovering over window borders, so making resizing windows difficult.

Automatic Date and Time Ubuntu 24.04.3 https://askubuntu.com/questions/1560458/automatic-date-and-time-ubuntu-24-04-3

In Ubuntu 24.04.3 I have in the settings the Automatic Date & Time and Automatic Timezone. I can change manually via GUI, configure the continents and cities with sudo dpkg-reconfigure tzdata but I can't make it be automatic and since I travel quite a lot It kind of bothers me not having that automatic change and having to change it everytime.
(Don't know if it matters but I'm using a dual boot system where windows is really just a fail safe)

This is the timedatectl output while I'm South Africa and still displays Portugal's time/zone

timedatectl
               Local time: Thu 2025-12-04 09:09:12 WET
           Universal time: Thu 2025-12-04 09:09:12 UTC
                 RTC time: Thu 2025-12-04 09:09:12
                Time zone: Europe/Lisbon (WET, +0000)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: no

Any tips or is this a known issue?

Ubuntu server 24.04: Changed some ethtool settings on ubuntu server and it stopped working correctly https://askubuntu.com/questions/1560436/ubuntu-server-24-04-changed-some-ethtool-settings-on-ubuntu-server-and-it-stopp

On another post I accidentally wrote I had version 20.04. It is not so and I have 24.04. My mistake. The post got closed.

A few days ago I decided to work to bring an old laptop I have into a movie server. It worked great until today when a speed test reported 100mb/s of download. It should be 1000mb/s as it was the days before. The cable is correct. I searched forums and some guy recommend to paste this ethtool command:

ethtool -s (network-id) speed 1000 duplex full autoneg off

What it only did was to immediately disconnect me from SSH and not let me connect again. It messed up a lot of things that some I was able to fix it by myself.

I have 3 problems:

  1. The boot process is suddenly very long, about 4 minutes. It was about a minute before.

  2. There seems to be a couple problems at the login screen. See attached: https://imgur.com/a/QWgbMAY

  3. The problem with the network speed continues. I've discovered that it has normal 1 GB speeds and after some time it caps at exactly 100mbs. I speculate it's some power-saving setting. I've already edited "HandleLidSwitch" on logind.conf.

Ubuntu 24.04.3 install any AMD driver https://askubuntu.com/questions/1560432/ubuntu-24-04-3-install-any-amd-driver

After years I had problem with the AMD driver. Discord crashed while I was sharing my webcam. I tried to update or change to the Ubuntu driver, but I am stuck.

$dpkg -l | grep amdgpu
ii  libdrm-amdgpu1:amd64                                     2.4.122-1~ubuntu0.24.04.2                   amd64        Userspace interface to amdgpu-specific kernel DRM services -- runtime
ii  libdrm-amdgpu1:i386                                      2.4.122-1~ubuntu0.24.04.2                   i386         Userspace interface to amdgpu-specific kernel DRM services -- runtime
ii  xserver-xorg-video-amdgpu                                23.0.0-1ubuntu0.24.04.1                     amd64        X.Org X server -- AMDGPU display driver
$dpkg -l | grep mesa
ii  libegl-mesa0:amd64                                       25.0.7-0ubuntu0.24.04.2                     amd64        free implementation of the EGL API -- Mesa vendor library
ii  libegl-mesa0:i386                                        25.0.7-0ubuntu0.24.04.2                     i386         free implementation of the EGL API -- Mesa vendor library
ii  libgl1-mesa-dev:amd64                                    25.0.7-0ubuntu0.24.04.2                     amd64        transitional dummy package
ii  libgl1-mesa-dri:amd64                                    25.0.7-0ubuntu0.24.04.2                     amd64        free implementation of the OpenGL API -- DRI modules
ii  libgl1-mesa-dri:i386                                     25.0.7-0ubuntu0.24.04.2                     i386         free implementation of the OpenGL API -- DRI modules
ii  libglu1-mesa:amd64                                       9.0.2-1.1build1                             amd64        Mesa OpenGL utility library (GLU)
ii  libglu1-mesa-dev:amd64                                   9.0.2-1.1build1                             amd64        Mesa OpenGL utility library -- development files
ii  libglw1-mesa-dev:amd64                                   8.0.0-3                                     amd64        GL widget library for Athena and Motif -- development files
ii  libglw1t64-mesa:amd64                                    8.0.0-3                                     amd64        GL widget library for Athena and Motif -- runtime
ii  libglx-mesa0:amd64                                       25.0.7-0ubuntu0.24.04.2                     amd64        free implementation of the OpenGL API -- GLX vendor library
ii  libglx-mesa0:i386                                        25.0.7-0ubuntu0.24.04.2                     i386         free implementation of the OpenGL API -- GLX vendor library
ii  libosmesa6:amd64                                         25.0.7-0ubuntu0.24.04.2                     amd64        Mesa Off-screen rendering extension
ii  libosmesa6:i386                                          25.0.7-0ubuntu0.24.04.2                     i386         Mesa Off-screen rendering extension
ii  mesa-common-dev:amd64                                    25.0.7-0ubuntu0.24.04.2                     amd64        Developer documentation for Mesa
ii  mesa-drm-shim:amd64                                      25.0.7-0ubuntu0.24.04.2                     amd64        DRM shim libraries
ii  mesa-libgallium:amd64                                    25.0.7-0ubuntu0.24.04.2                     amd64        shared infrastructure for Mesa drivers
ii  mesa-libgallium:i386                                     25.0.7-0ubuntu0.24.04.2                     i386         shared infrastructure for Mesa drivers
ii  mesa-opencl-icd:amd64                                    25.0.7-0ubuntu0.24.04.2                     amd64        free implementation of the OpenCL API -- ICD runtime
ii  mesa-utils                                               9.0.0-2                                     amd64        Miscellaneous Mesa utilities -- symlinks
ii  mesa-utils-bin:amd64                                     9.0.0-2                                     amd64        Miscellaneous Mesa utilities -- native applications
ii  mesa-va-drivers:amd64                                    25.0.7-0ubuntu0.24.04.2                     amd64        Mesa VA-API video acceleration drivers
ii  mesa-va-drivers:i386                                     25.0.7-0ubuntu0.24.04.2                     i386         Mesa VA-API video acceleration drivers
ii  mesa-vdpau-drivers:amd64                                 25.0.7-0ubuntu0.24.04.2                     amd64        Mesa VDPAU video acceleration drivers
ii  mesa-vdpau-drivers:i386                                  25.0.7-0ubuntu0.24.04.2                     i386         Mesa VDPAU video acceleration drivers
ii  mesa-vulkan-drivers:amd64                                25.0.7-0ubuntu0.24.04.2                     amd64        Mesa Vulkan graphics drivers
ii  mesa-vulkan-drivers:i386                                 25.0.7-0ubuntu0.24.04.2                     i386         Mesa Vulkan graphics drivers
ii  mesaflash                                                3.4.6-1                                     amd64        Mesa Electronics utility tool

ls /etc/modprobe.d/
alsa-base.conf                      blacklist-ath_pci.conf  blacklist-firewire.conf     blacklist-modem.conf  blacklist-rare-network.conf  intel-microcode-blacklist.conf
amd64-microcode-blacklist.conf.bak  blacklist.conf          blacklist-framebuffer.conf  blacklist-oss.conf    dkms.conf.bak                iwlwifi.conf
ls /etc/apt/sources.list.d/
spotify.list.distUpgrade  spotify.list.save  spotify.sources  third-party.sources  ubuntu-esm-apps.sources  ubuntu-esm-infra.sources  ubuntu.sources

vulkaninfo --summary
ERROR: [Loader Message] Code 0 : loader_get_json: Failed to open JSON file amd_icd64.json
WARNING: [Loader Message] Code 0 : loader_parse_icd_manifest: Can not find 'ICD' object in ICD JSON file /etc/vulkan/icd.d/amd_icd64.json. Skipping ICD JSON
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
==========
VULKANINFO
==========

Vulkan Instance Version: 1.3.275


Instance Extensions: count = 24
-------------------------------
VK_EXT_acquire_drm_display             : extension revision 1
VK_EXT_acquire_xlib_display            : extension revision 1
VK_EXT_debug_report                    : extension revision 10
VK_EXT_debug_utils                     : extension revision 2
VK_EXT_direct_mode_display             : extension revision 1
VK_EXT_display_surface_counter         : extension revision 1
VK_EXT_headless_surface                : extension revision 1
VK_EXT_surface_maintenance1            : extension revision 1
VK_EXT_swapchain_colorspace            : extension revision 5
VK_KHR_device_group_creation           : extension revision 1
VK_KHR_display                         : extension revision 23
VK_KHR_external_fence_capabilities     : extension revision 1
VK_KHR_external_memory_capabilities    : extension revision 1
VK_KHR_external_semaphore_capabilities : extension revision 1
VK_KHR_get_display_properties2         : extension revision 1
VK_KHR_get_physical_device_properties2 : extension revision 2
VK_KHR_get_surface_capabilities2       : extension revision 1
VK_KHR_portability_enumeration         : extension revision 1
VK_KHR_surface                         : extension revision 25
VK_KHR_surface_protected_capabilities  : extension revision 1
VK_KHR_wayland_surface                 : extension revision 6
VK_KHR_xcb_surface                     : extension revision 6
VK_KHR_xlib_surface                    : extension revision 6
VK_LUNARG_direct_driver_loading        : extension revision 1

Instance Layers: count = 7
--------------------------
VK_LAYER_INTEL_nullhw             INTEL NULL HW                1.1.73   version 1
VK_LAYER_MESA_device_select       Linux device selection layer 1.4.303  version 1
VK_LAYER_MESA_overlay             Mesa Overlay layer           1.4.303  version 1
VK_LAYER_VALVE_steam_fossilize_32 Steam Pipeline Caching Layer 1.3.207  version 1
VK_LAYER_VALVE_steam_fossilize_64 Steam Pipeline Caching Layer 1.3.207  version 1
VK_LAYER_VALVE_steam_overlay_32   Steam Overlay Layer          1.3.207  version 1
VK_LAYER_VALVE_steam_overlay_64   Steam Overlay Layer          1.3.207  version 1

Devices:
========
GPU0:
        apiVersion         = 1.4.305
        driverVersion      = 25.0.7
        vendorID           = 0x1002
        deviceID           = 0x67df
        deviceType         = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
        deviceName         = Radeon RX 580 Series (RADV POLARIS10)
        driverID           = DRIVER_ID_MESA_RADV
        driverName         = radv
        driverInfo         = Mesa 25.0.7-0ubuntu0.24.04.2
        conformanceVersion = 1.4.0.0
        deviceUUID         = 00000000-2d00-0000-0000-000000000000
        driverUUID         = 414d442d-4d45-5341-2d44-525600000000
GPU1:
        apiVersion         = 1.4.305
        driverVersion      = 0.0.1
        vendorID           = 0x10005
        deviceID           = 0x0000
        deviceType         = PHYSICAL_DEVICE_TYPE_CPU
        deviceName         = llvmpipe (LLVM 20.1.2, 256 bits)
        driverID           = DRIVER_ID_MESA_LLVMPIPE
        driverName         = llvmpipe
        driverInfo         = Mesa 25.0.7-0ubuntu0.24.04.2 (LLVM 20.1.2)
        conformanceVersion = 1.3.1.1
        deviceUUID         = 6d657361-3235-2e30-2e37-2d3075627500
        driverUUID         = 6c6c766d-7069-7065-5555-494400000000
$vkcube
Selected GPU 0: Radeon RX 580 Series (RADV POLARIS10), type: DiscreteGpu
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
Could not find both graphics and present queues

glxgears is working, but makes a noise on the speaker (tested this with the old driver, was not so intense. I'm not sure if it's related.)

At the moment the aim is to be able to use Discord, Steam, and Lutris again. The main window does not launch, just frees the display until I close it.

I tried to uninstall all packages, remove the PPAs that I do not need, and reboot and update and install the packages for AMD support, but that did not work too well. What have I missed? I would like to continue using Ubuntu until Ubuntu 26.04 before doing a clean install.

Edit: The Ask output, I checked the motherboard GPU, should not be configured to be used, as far as I can tell. @user7215 or what are you looking for?

lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Starship/Matisse IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge
00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:05.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:07.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:07.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B]
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B]
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 61)
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] Matisse/Vermeer Data Fabric: Device 18h; Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 7
20:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse Switch Upstream
21:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
21:05.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
21:07.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
21:08.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
21:09.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
21:0a.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
26:00.0 SATA controller: ASMedia Technology Inc. ASM1061/ASM1062 Serial ATA Controller (rev 02)
27:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev 15)
29:00.0 Network controller: Intel Corporation Dual Band Wireless-AC 3168NGW [Stone Peak] (rev 10)
2a:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP
2a:00.1 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
2a:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
2b:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51)
2c:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51)
2d:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] (rev e7)
2d:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]
2e:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function
2f:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP
2f:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
2f:00.4 Audio device: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller
Access to folders shared using Samba https://askubuntu.com/questions/1560406/access-to-folders-shared-using-samba

I've got what I think is a noob problem. After several hours of trial and error I've managed to add one folder to Samba which is now accessible in Windows after entering credentials to Samba server. Then, I decided to add more folders to be shared via Samba.

Unfortunately, even though I can see the folders after connecting to Samba, I can only access the very first folder I added (i.e. folder named "sharing").

I've tried to replicate the steps that led me to successfully set up the first folder (using these guides: https://www.antixforum.com/forums/topic/how-to-create-a-samba-shared-folder-your-private-network/ and https://phoenixnap.com/kb/ubuntu-samba) but so far have been unsucessful.

What am I doing wrong? Why is only one folder accessible, while others aren't?

Below you'll find my smb.conf file. The "sharing" folder is the only one that is accessible in Windows.

[global]
server string = samba_server
workgroup = WORKGROUP
security = user
map to guest = Bad User
name resolve order = bcast host
ntlm auth = yes
usershare allow guests = yes

[sharing]
path = /home/sharing
force user = smbuser
force group = smbgroup
create mask = 0664
force create mode = 0664
directory mask = 0775
force directory mode = 0775
public = yes
writable = yes

[Windows]
path = /home/michal/Windows
force user = smbuser
force group = smbgroup
create mask = 0664
force create mode = 0664
directory mask = 0775
force directory mode = 0775
public = yes
writable = yes

[One Touch]
path = "/media/michal/One Touch"
force user = smbuser
force group = smbgroup
create mask = 0664
force create mode = 0664
directory mask = 0775
force directory mode = 0775
public = yes
writable = yes

[Seagate]
path = /media/michal/Seagate
force user = smbuser
force group = smbgroup
create mask = 0664
force create mode = 0664
directory mask = 0775
force directory mode = 0775
public = yes
writable = yes

FIX:

After trial and error, I've changed the above to the following, and the folders and files are now accessible in Windows. Unfortunately, it seems that I had to let go of some security, as the files are accessible without a password now.

[global]
server string = FILESERVER
workgroup = WORKGROUP
security = user
dns proxy = no

[OneTouch]
path = /media/michal/One Touch
valid users = michal
writable = yes
browseable = yes
read only = no
guest ok = no

[Seagate]
path = /media/michal/Seagate
valid users = michal
writable = yes
browseable = yes
read only = no
guest ok = no
">R>" appears in Oh-my-zsh prompt with agnostic theme for only one repo https://askubuntu.com/questions/1560392/r-appears-in-oh-my-zsh-prompt-with-agnostic-theme-for-only-one-repo

I have THIS BUG only in one project, that's driving me crazy and I don't know what else to do to fix it:

bug

After uploading pending changes to GitHub, the bug persists:

bug_persist

But in the other projects looks good:

no_bug

no_bug2

The bug in question only appears here and it displays that >R> which I'm not sure which glyph it refers to.

To give you some context:

  • My operating system is Ubuntu 24.04.3 LTS

  • When I run it echo "\ue0b0 \u00b1 \ue0a0 \u27a6 \u2718 \u26a1 \u2699" it shows me this:

    echo_fonts

  • In the terminal preferences I have this:

    terminal_preferences

  • I've tried different fonts that I downloaded from here: https://github.com/powerline/fonts

    git clone https://github.com/powerline/fonts.git
    cd fonts 
    ./install.sh
    sudo fc-cache -fv  //to refresh the cache without having to restart
    
  • As you can see, they appear for me. I've tried several and none of them fix the bug.

    fonts

Any ideas on how to fix it? Thanks in advance 😊

Postman fails to start https://askubuntu.com/questions/1560325/postman-fails-to-start

I'm unable since today to start the Postman application that I installed using snap.
I've been running it since years now and it won't start anymore.
I tried starting it from the terminal and it gives me this error +a large stack trace with references to ERR: Display.cpp:1083 ...

A JavaScript error occurred in the main process
Uncaught Exception:
Error: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /snap/postman/362/usr/share/postman/resources/app/node_modules/native_modules/build/Release/pty.node)
    at process.func [as dlopen] (node:electron/js2c/node_init:2:2559)
    at Module._extensions..node (node:internal/modules/cjs/loader:1602:18)
    at Object.func [as .node] (node:electron/js2c/node_init:2:2559)
    at Module.load (node:internal/modules/cjs/loader:1295:32)
    at Module._load (node:internal/modules/cjs/loader:1111:12)
    at c._load (node:electron/js2c/node_init:2:16955)
    at Module.require (node:internal/modules/cjs/loader:1318:19)
    at require (node:internal/modules/helpers:179:18)
    at ./node_modules/node-pty/build/Release/pty.node (/snap/postman/362/usr/share/postman/resources/app/main.js:12:124700)
    at __webpack_require__ (/snap/postman/362/usr/share/postman/resources/app/main.js:751:653121)

I've already run sudo apt update and sudo apt upgrade as well as sudo apt install libc6, but it says it's the latest version. It's running on Ubuntu 22.04.5 LTS.

Ubuntu Server installer fails on Intel Arrow Lake (Ultra 9 285K) + Supermicro X14SAZ-F https://askubuntu.com/questions/1557302/ubuntu-server-installer-fails-on-intel-arrow-lake-ultra-9-285k-supermicro-x1

Hardware:

  • CPU: Intel Core Ultra 9 285K (Arrow Lake)
  • Motherboard: Supermicro X14SAZ-F (BIOS 1.0, dated 04/17/2025)

Problem: All Ubuntu installer ISOs freeze immediately after GRUB while only printing 1 (or 2 depending on TPM) lines:

EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path
EFI stub: Measured initrd data into PCR 9

Complete lockup - no keyboard, no output, inoperative numlock, despite testing with earlyprintk.

AlmaLinux 10 (kernel 6.12.0) boots perfectly from USB installer, so the Hardware and Bios are fine.

Tested (all failed):

  • Ubuntu 22.04.5, 24.04.3 (standard + HWE 6.14), 25.10
  • Boot parameters tried:
    • nomodeset
    • nomodeset acpi=off
    • nomodeset noapic acpi=off
    • nomodeset acpi=off noapic nolapic nosmp
    • nomodeset intel_iommu=off iommu=off
    • nomodeset debug ignore_loglevel earlyprintk=vga,keep (no extra output)
    • nomodeset earlyprintk=efifb debug (no extra output)
    • gfxpayload=text
    • Various video= parameters
    • dis_ucode_ldr
  • Multiple displays, TPM on/off

Any ideas welcome.

ModemManager "couldn't check support for device" "not supported by any plugin" https://askubuntu.com/questions/1502369/modemmanager-couldnt-check-support-for-device-not-supported-by-any-plugin

I couldn't find any questions with solutions on this site or on Google for the following info message in the syslog

Feb  3 21:15:17 XXXXX ModemManager[860]: <info>  [base-manager] couldn't check support for device '/sys/devices/pci0000:00/0000:00:1f.6': not supported by any plugin
Feb  3 21:15:17 XXXXX ModemManager[860]: <info>  [base-manager] couldn't check support for device '/sys/devices/pci0000:00/0000:00:1c.2/0000:02:00.0': not supported by any plugin

Ubuntu version: "Ubuntu 22.04.3 LTS"

What I'm trying to do: Switch Linux server (running on Dell Latitude laptop) from Google Nest to Nokia Wifi 6 router (model XS-2426X-A).

I may not be making the correct assumption that it's the support message that is the cause of the internet connectivity issues. I was able to make the same switch a few days ago on a Ubuntu 20.04 server, Dell Inspiron, running these same steps:

  1. Edit the netplan yaml to point to the new router ssid
  2. Run sudo netplan try

On the older device that succeeded, the ModemManager info message never showed up.

After running these steps on the server with the newer OS, it is visible in the device list of the Nokia wifi app. I started wondering if it's a firewall issue because of this message in the syslog

kernel: [1021318.200175] [UFW BLOCK] IN=wlp2s0 OUT= MAC=xxxx SRC=xxxxxx DST=xxxxx LEN=112 TC=0 HOPLIMIT=64 FLOWLBL=601761 PROTO=ICMPv6 TYPE=1 CODE=3 [SRC=xxxxxx DST=xxxxx LEN=64 TC=0 HOPLIMIT=254 FLOWLBL=0 PROTO=ICMPv6 TYPE=136 CODE=0 ]

But then a similar UFW block message showed up in the syslog of the older server after the switch, and it persists today, with the application there running fine and communicating with the internet.

Should I look for plugins to be installed for this Nokia device, or is it something else that's keeping the application on the newer machine from talking to the internet?

Cannot upgrade from Ubuntu 20.04.6 LTS to Ubuntu 22.04.3 LTS https://askubuntu.com/questions/1487700/cannot-upgrade-from-ubuntu-20-04-6-lts-to-ubuntu-22-04-3-lts

I execute the command:

sudo do-release-upgrade

and I get this output:

Checking for a new Ubuntu release
Failed to connect to https://changelogs.ubuntu.com/meta-release-lts. Check your Internet connection or proxy settings
There is no development version of an LTS available.
To upgrade to the latest non-LTS development release 
set Prompt=normal in /etc/update-manager/release-upgrades.

I can correctly curl https://changelogs.ubuntu.com/meta-release-lts

This is the update command:

sudo apt update
 
Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://packages.microsoft.com/repos/code stable InRelease                                                                                                                                                  
Hit:3 https://download.docker.com/linux/ubuntu focal InRelease                                                                                                                                                   
Hit:4 https://deb.opera.com/opera-stable stable InRelease                                                                                                                                                        
Get:5 https://dl.yarnpkg.com/debian stable InRelease [17,1 kB]                                                                                                                                                   
Hit:6 https://deb.termius.com squeeze InRelease                                                                                                                                                                  
Hit:7 https://apt.releases.hashicorp.com focal InRelease                                                                                                                                                         
Hit:8 https://baltocdn.com/helm/stable/debian all InRelease                                                                                                                                                      
Hit:9 https://packages.cloud.google.com/apt cloud-sdk InRelease                                                                                                                                         
Hit:10 https://packages.microsoft.com/ubuntu/20.04/prod focal InRelease                                                                                                           
Get:12 https://packages.microsoft.com/repos/ms-teams stable InRelease [5.931 B]                                                                             
Hit:13 http://archive.ubuntu.com/ubuntu focal InRelease                                                                                                                   
Hit:11 https://prod-cdn.packages.k8s.io/repositories/isv:/kubernetes:/core:/stable:/v1.28/deb  InRelease                              
Get:14 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]                                        
Hit:15 https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/focal pgadmin4 InRelease        
Get:16 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Get:17 http://archive.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:18 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [274 kB]
Get:19 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 DEP-11 Metadata [414 kB]
Get:20 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [944 B]
Get:21 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 DEP-11 Metadata [8.000 B]
Get:22 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 DEP-11 Metadata [30,5 kB]
Get:23 http://archive.ubuntu.com/ubuntu focal-security/main amd64 DEP-11 Metadata [59,8 kB]
Get:24 http://archive.ubuntu.com/ubuntu focal-security/universe amd64 DEP-11 Metadata [96,3 kB]
Get:25 http://archive.ubuntu.com/ubuntu focal-security/multiverse amd64 DEP-11 Metadata [940 B]
Fetched 1.244 kB in 4s (320 kB/s)      
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.

Info related to the base-files:

apt-cache policy base-files
base-files:
  Installed: 11ubuntu5.7
  Candidate: 11ubuntu5.7
  Version table:
 *** 11ubuntu5.7 500
        500 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     11ubuntu5 500
        500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages

Setting prompt=normal I get this result:

sudo do-release-upgrade -c

Checking for a new Ubuntu release
Failed to connect to https://changelogs.ubuntu.com/meta-release. 
Check your Internet connection or proxy settings
No new release found.

I solved the issue adding:

export SSL_CERT_DIR=/etc/ssl/certs

to ~/.bashrc

and adding:

Defaults        env_keep += "SSL_CERT_DIR"

with:

sudo visudo
CUPS fails to start due to dependency on Ubuntu 20.04.2 Server https://askubuntu.com/questions/1341312/cups-fails-to-start-due-to-dependency-on-ubuntu-20-04-2-server

Trying to install cups on Ubuntu 20.04.2 Server, so that I can use it as a print server.

Installation via:

sudo apt install cups

appears to succeed.

sudo systemctl start cups

executes without producing an error message. But I cannot access the web interface at localhost:631, and:

sudo systemctl status cups

returns:

● cups.service - CUPS Scheduler
     Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
     Active: inactive (dead) (Result: exit-code) since Fri 2021-05-28 22:07:21 UTC; 1min 38s ago
TriggeredBy: ● cups.path
             ● cups.socket
       Docs: man:cupsd(8)
   Main PID: 2340 (code=exited, status=1/FAILURE)

May 28 22:07:21 computer systemd[1]: cups.service: Scheduled restart job, restart counter is at 30.
May 28 22:07:21 computer systemd[1]: Stopped CUPS Scheduler.
May 28 22:07:21 computer systemd[1]: Dependency failed for CUPS Scheduler.
May 28 22:07:21 computer systemd[1]: cups.service: Job cups.service/start failed with result 'dependency'.

Google has not produced any useful information. What do I need to do to fix this (command line only)?

Sssd.service Ubuntu 20.04 Desktop Problem https://askubuntu.com/questions/1315875/sssd-service-ubuntu-20-04-desktop-problem

I tried the installs on Ubuntu 18 and 16 Desktop and Server versions and it worked. I think the only problem is with ubuntu 20.04 Desktop. Device MacBook Pro 2015 13 inches.

Şub 12 17:16:35 User systemd[1]: sssd-sudo.socket: Job sssd-sudo.socket/start failed with result 'dependency'.
Şub 12 17:16:37 User systemd[1]: sssd-sudo.socket: Bound to unit sssd.service, but unit isn't active.
-- Subject: A start job for unit sssd-sudo.socket has failed
-- A start job for unit sssd-sudo.socket has finished with a failure.

systemctl restart sssd* --all
Failed to restart sssd-pac.service: Operation refused, unit sssd-pac.service may be requested by dependency only (it is configured to refuse manual start/stop).
See system logs and 'systemctl status sssd-pac.service' for details.
Failed to restart sssd-sudo.service: Operation refused, unit sssd-sudo.service may be requested by dependency only (it is configured to refuse manual start/stop).
See system logs and 'systemctl status sssd-sudo.service' for details.
Failed to restart sssd-nss.service: Operation refused, unit sssd-nss.service may be requested by dependency only (it is configured to refuse manual start/stop).
See system logs and 'systemctl status sssd-nss.service' for details.
Failed to restart sssd-ssh.service: Operation refused, unit sssd-ssh.service may be requested by dependency only (it is configured to refuse manual start/stop).
See system logs and 'systemctl status sssd-ssh.service' for details.
Failed to restart sssd-autofs.service: Operation refused, unit sssd-autofs.service may be requested by dependency only (it is configured to refuse manual start/stop).
See system logs and 'systemctl status sssd-autofs.service' for details.
Failed to restart sssd-pam.service: Operation refused, unit sssd-pam.service may be requested by dependency only (it is configured to refuse manual start/stop).
See system logs and 'systemctl status sssd-pam.service' for details.
A dependency job for sssd-nss.socket failed. See 'journalctl -xe' for details.
A dependency job for sssd-ssh.socket failed. See 'journalctl -xe' for details.
A dependency job for sssd-pam.socket failed. See 'journalctl -xe' for details.
A dependency job for sssd-pac.socket failed. See 'journalctl -xe' for details.
A dependency job for sssd-pam-priv.socket failed. See 'journalctl -xe' for details.
A dependency job for sssd-sudo.socket failed. See 'journalctl -xe' for details.
A dependency job for sssd-autofs.socket failed. See 'journalctl -xe' for details.
netplan error, unknown key nameservers https://askubuntu.com/questions/1158891/netplan-error-unknown-key-nameservers

I have an error, but not a spelling error.

Here is my netplan config:

network:
  ethernets:
    ens32:
      addresses: [172.16.120.74/16]
      nameservers:
        addresses: [127.0.0.53, 172.16.1.5]
  renderer: networkd
  version: '2'

This displays the error:

Error in network definition //etc/netplan/99.clw_netcfg.yaml line 3 column 6: unknown key nameservers

Does anyone have any ideas?

sed with PCRE (like grep -P) https://askubuntu.com/questions/1050693/sed-with-pcre-like-grep-p

I am happy that grep does support Perl Compatible Regular Expressions with the -P option.

Is there a reason why the tool sed does not have this feature?

mht file : extract to html,js and resources https://askubuntu.com/questions/1020359/mht-file-extract-to-html-js-and-resources

Is there any tools/ commands to extract a mht file to its component html, js, css and other resource files on Ubuntu 16.04 ? One of my bank'suse this format and though I can open it in chrome was wanted to convert it to html.

Save as saves the html but the styling does not stay.

boot-repair NVMe drive after gparted copy https://askubuntu.com/questions/697446/boot-repair-nvme-drive-after-gparted-copy

I'm trying to migrate to my new NVMe Samsung 950 pro.

chroot /mnt/boot-sav/nvme0n1p3 update-grub
grub-probe: error: cannot find a GRUB drive for /dev/sda1.  Check your device.map.

Process:

  • Copied/pasted via Gparted (lastest gparted live-cd)
  • Ran boot-repair (with 15.10 ubuntu desktop)
  • failed on update-grub

http://paste.ubuntu.com/13244403/

Old drive had:

  • sda1 fat32 EFI
  • sda2 ntfs
  • unallocated (had to shrink a small amount for new drive)
  • sda3 ext4
  • sda4 linux-swap

My first guess is that I'm no longer using an sd, but an nvm prefixed device.

Any thoughts/help is appreciated.

sudo fdisk -l

Device             Start       End   Sectors   Size Type
/dev/nvme0n1p1      2048    206847    204800   100M Microsoft basic data
/dev/nvme0n1p2    206848 487878655 487671808 232.6G Microsoft basic data
/dev/nvme0n1p3 487878656 864057343 376178688 179.4G Linux filesystem
/dev/nvme0n1p4 864057344 897484799  33427456    16G Linux swap

Device     Boot   Start     End Sectors  Size Id Type
/dev/sda1  *          0 2301535 2301536  1.1G  0 Empty
/dev/sda2       2279532 2284075    4544  2.2M  c W95 FAT32 (LBA)

Update 11/14/15

This is the latest attempt:

sudo mount /dev/nvme0n1p3 /mnt
sudo mount /dev/nvme0n1p1 /mnt/boot/efi

for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done

sudo cp --remove-destination /etc/resolv.conf /mnt/etc/resolv.conf

sudo chroot /mnt
grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot 

Results:

Installation finished. No error reported.

$ update-grub
grub-probe: error: cannot find a GRUB drive for /dev/sda1.  Check your device.map.

When I look in /boot/grub I do NOT have a device.map. I read that I don't need one for grub2, but I generated one, ran update-grub and ran into the same message as above.

I attempt to reboot anyway, and my EFI only shows a Windows Boot Manager as a bootable item, for which it lands on a windows recovery screen. The Ubuntu partition isn't listed as a bootable drive in EFI.

Problems reading filesystem of recorded DVD-R https://askubuntu.com/questions/432700/problems-reading-filesystem-of-recorded-dvd-r

I am experiencing problems when trying to read DVD-Rs or DVD+Rs recorded by different TV DVD Recorders. Usually the problem is that when I try to manually Mount the dvd with the udf option (with auto option same output):

   giankun@giankun-imedia-S3810:~$ sudo mount -o ro -t udf  /dev/sr0 /media/giankun/dvd
   mount: tipo fs errato, opzione non valida, superblocco su /dev/sr0 danneggiato,
   codepage o programma ausiliario mancante, o altro errore
   In alcuni casi si possono trovare informazioni utili in syslog. Provare
   ad esempio 'dmesg | tail'

Which says "fs type wrong, invalid option, superblock on /dev/sr0 damaged, etc. And dmesg | tail

   [ 2525.446871] UDF-fs: error (device sr0): udf_read_tagged: read failed, block=36641552,       location=0
   [ 2525.446878] UDF-fs: warning (device sr0): udf_fill_super: No fileset found
   [ 2892.059449] nouveau E[     DRM] DDC responded, but no EDID for VGA-1
   [ 4317.181251] UDF-fs: error (device sr0): __udf_read_inode: (ino 2145710) failed !bh
   [ 4317.282267] UDF-fs: error (device sr0): __udf_read_inode: (ino 2145709) failed !bh
   [ 4317.383362] UDF-fs: error (device sr0): __udf_read_inode: (ino 2145708) failed !bh
   [ 4317.484452] UDF-fs: error (device sr0): __udf_read_inode: (ino 2145707) failed !bh
   [ 4317.484464] UDF-fs: Failed to read VAT inode from the last recorded block (2145710), retrying with the last block of the device (2145711).
   [ 4317.485948] UDF-fs: error (device sr0): udf_read_tagged: read failed, block=36641552, location=0
   [ 4317.485954] UDF-fs: warning (device sr0): udf_fill_super: No fileset found

And this when I try to mount as iso9660

   giankun@giankun-imedia-S3810:~$ sudo mount -o ro -t iso9660 /dev/sr0 /media/giankun/dvd
   mount: tipo fs errato, opzione non valida, superblocco su /dev/sr0 danneggiato,
   codepage o programma ausiliario mancante, o altro errore
   In alcuni casi si possono trovare informazioni utili in syslog. Provare
   ad esempio 'dmesg | tail'

with relative dmesg | tail

   [ 4395.151558] ISOFS: Unable to identify CD-ROM format.

I think this is not a problem with my hardware because on the same machine W7 (I have dual boot) can read the disks and extract the files (most of those disks must then be decrypted since they are CPRM encoded coming from a Japanese DVD recorder). However the drive is an ATAPI DVD A DH16ABSH. I already tried switching to IDE mode from AHCI (bios setting) but nothing worked.

I must add any other disk (including DATA DVD and original Video DVDs) is correctly mounted. Is there a way to Mount these particular disks? Is this a known bug (I have found some short references of people having the same problem online, but no solutions like in this discussion)?

Here is what I can exctract from one of those disks by Nero, KB, and a Windows util I downloaded:

Nero:

Disc Information (E:\)
------------------
Type                                                                              : :DVD-R
Capacity                                                                          : 487:54.50  (828 MB)
Tracks                                                                            : 3
Sessions                                                                          : 1

File System                                                                       : , UDF
Title                                                                             : n/a
Date                                                                              : n/a
Publisher                                                                         : n/a
Application                                                                       : n/a

KB:

Medium

Type:   DVD-R Sequential
Media ID:   MXL RG04
Capacity:   487:54:50 min (4,2 GiB)
Used Capacity:  487:54:50 min (4,2 GiB)
Remaining:  00:00:00 min (0 B)
Rewritable: no
Appendable: no
Empty:  no
Layers: 1
Sessions:   1
Supported writing speeds:   6.0x (8310 KB/s)
8.0x (11080 KB/s)
12.0x (16620 KB/s)
16.0x (22160 KB/s)
ISO9660 Filesystem Info

System Id:  -
Volume Id:  -
Volume Set Id:  -
Publisher Id:   -
Preparer Id:    -
Application Id: -
Volume Size:    0 B (0 B * 0 blocks = 0 B)
Tracks

Type    Attributes  First-Last Sector   Length
1   (Data)  no copy/uninterrupted   0 - 543 544 (00:07:19)
2   (Data)  no copy/uninterrupted   560 - 831   272 (00:03:47)
3   (Data)  no copy/uninterrupted   848 - 2195599   2194752 (487:43:27)

Dvd Info:

----------------------------------------------------------------------------
Unique Disc Identifier : [DVD-R:MXL RG04]
----------------------------------------------------------------------------
Disc & Book Type :       [DVD-R] - [DVD-R]
Manufacturer Name :      [Hitachi Maxell Ltd.]
Manufacturer ID :        [MXL RG04]
Blank Disc Capacity :    [2,298,496 Sectors = 4.71 GB (4.38 GiB)]
----------------------------------------------------------------------------
[ DVD Identifier V5.2.0 - http://DVD.Identifier.CDfreaks.com ]
----------------------------------------------------------------------------


** INFO : Hex Dump Of 'Media Code'-Block Listed Below
** INFO : 4-Byte Header Preceding 'Media Code'-Block Discarded
** INFO : Format 0Eh - Pre-Recorded Information In Lead-In
0000 : 01 40 c1 fd 9e d8 52 00  02 85 0e 0d 99 ab 80 00   .@....R.........
0010 : 03 4d 58 4c 20 52 47 00  04 30 34 00 00 00 00 00   .MXL RG..04.....
0020 : 05 88 80 00 00 00 02 00  06 09 0b 15 87 78 90 00   .............x..
0030 : 07 88 80 00 00 00 00 00  08 08 13 0d 11 0c 08 00   ................
0040 : 09 95 07 0e 0b 78 88 00  0a a0 00 20 00 20 10 00   .....x..... . ..
0050 : 0b 09 19 17 97 88 85 00  0c b6 89 2b 82 30 23 00   ...........+.0#.
0060 : 0d 00 00 d0 00 00 00 00  00 00                     ..........      

** INFO : Hex Dump Of 'Control Data Zone'-Block Listed Below
** INFO : 4-Byte Header Preceding 'CDZ'-Block Discarded
** INFO : Format 10h - Physical Format Information Of Control Data Zone
0000 : 25 0f 02 00 00 03 00 00  00 26 12 7f 00 00 00 00   %........&......
Can I disable updatedb.mlocate? https://askubuntu.com/questions/268130/can-i-disable-updatedb-mlocate

On ubuntu server here and I'm trying to unpack 300M image files from a compressed file format using Java.

My unpack rate is 0.5Mbytes/sec, abysmal (34 days to unpack 1.5TB at this rate).

I'm trying to figure out why, and the only oddity I notice is that updatedb.mlocate is always working when I'm doing the unpack process. I want to turn it off to see if it's getting in the way, but I don't understand much about what it is.

top

top - 05:16:52 up 1 day,  5:15,  3 users,  load average: 2.00, 2.01, 1.83
Tasks:  83 total,   1 running,  82 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.4%us,  0.8%sy,  0.0%ni,  8.4%id, 90.2%wa,  0.0%hi,  0.0%si,  0.2%st
Mem:   1737420k total,  1722680k used,    14740k free,  1241260k buffers
Swap:   917500k total,      160k used,   917340k free,   165448k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
22901 davidpar  20   0 1051m  56m 4992 S    3  3.3   0:47.84 java
 2221 root      20   0 32348  26m  268 D    1  1.6  27:57.86 updatedb.mlocat
   25 root      20   0     0    0    0 S    0  0.0  10:10.77 kswapd0
  678 root      20   0 15864  444  268 S    0  0.0   0:19.45 irqbalance
  849 davidpar  20   0 26560 1676  332 S    0  0.1  17:17.49 screen

iotop

Total DISK READ: 4.07 M/s | Total DISK WRITE: 789.62 K/s
  TID  PRIO  USER     DISK READ  DISK WRITE  SWAPIN     IO>    COMMAND
 2221 idle root     1556.98 K/s    6.36 K/s  0.00 % 99.61 % updatedb.mlocate
22902 be/4 davidpar    2.54 M/s  671.93 K/s  0.00 % 96.96 % java -cp /home/davidparks21/fruggutils/lib/FruggMapreduceJobs.~educe.UnpackImages /mnt/local/imagebinaries-r-00010 /mnt/ebs1/
  547 be/3 root        0.00 B/s   87.47 K/s  0.00 %  0.30 % [jbd2/xvdf-8]
  177 be/3 root        0.00 B/s    3.98 K/s  0.00 %  0.15 % [jbd2/xvda1-8]
How to set up multiple hard drives as one volume? https://askubuntu.com/questions/7002/how-to-set-up-multiple-hard-drives-as-one-volume

I am about to set up box to basically be a file server. I plan on having multiple drives in the box, and would like to set them all up so that they appear to be a single drive. So I could essentially have it mounted at say /media and not really care which drive gets used. I am not sure what the correct terminology for doing this is, so my Google fu is useless in this situation.

So how do I set up multiple hard drives to appear as one single drive?