How do I install the latest version of Ubuntu on a MacBook w/ M3 Chip https://askubuntu.com/questions/1561838/how-do-i-install-the-latest-version-of-ubuntu-on-a-macbook-w-m3-chip

Im interested in installing the latest version of Ubuntu on my MacBook. However, I have an Apple M3 chip, not an intel or amd version. Chip: Apple M3 macOS: Tahoe 26.1

I tried downloading the amd64 version available and it wouldnt work due to my M3 chip.

Wi-Fi Sudden Drop Issue on Ubuntu 24.04 LTS https://askubuntu.com/questions/1561837/wi-fi-sudden-drop-issue-on-ubuntu-24-04-lts

I am experiencing frequent Wi-Fi disconnections on Ubuntu 24.04 LTS. I have tried many possible solutions, but none of them worked.

I am using an HP laptop with a dual-boot setup (Windows and Ubuntu). The Wi-Fi works perfectly and smoothly on Windows, but on Ubuntu I am facing continuous connectivity issues.

I have already tried almost all solutions suggested on Ask Ubuntu and other forums related to dual-boot Wi-Fi problems, but the issue still persists.

Please help me resolve this problem.

I want SDDM to remember and select each user's desktop environment https://askubuntu.com/questions/1561834/i-want-sddm-to-remember-and-select-each-users-desktop-environment

I am using Ubuntu 24.04 with SDDM (Breeze) as login manager.

Some users use XFCE as desktop environment, some use Plasma.... (no autologin)

I would like SDDM to automatically select the last successfully logged in desktop environment for each user.

For instance, if userA used XFCE the last time he logged in, I would like SDDM to automatically select XFCE as desktop environment the next time userA enters his password in SDDM/Breeze

Any idea how to implement this ?

Thanks

Vincent

Give up Ubuntu on Dell 7390? (Random freeze) https://askubuntu.com/questions/1561833/give-up-ubuntu-on-dell-7390-random-freeze

I struggle trying to fix a fault on my Dell Latitude 7390, running Ubuntu Ubuntu 24.04.3 LTS/6.8.0-88-generic.

Symptom: OS stops randomly (10-60 minutes after boot, typically) when the computer is running using it own screen, or an external screen directly via HDMI. When it freezes it does not react to the keyboard and does not answer on ping. The screen does not go black. The only way out is to long press the power button.

The computer works perfectly when connected to an external display through an usb-c hub and HDMI, even if the laptop screen is used in mirror configuration!

I have updated the BIOS to latest level. I cannot see any pattern on when this happens. It could be in the middle of typing a text or it it could be during a long pause. It is not a “suspend” behavior. My experiments (date >> log; sleep 60) show freezing after 28, 52, 49 and 16 minutes.

I read a lot about Wayland and the possibility that this is the problem for me. If so, is there a way to back out of Wayland and whatever was used before (X11?)?

But the real question is: do I have to give up on Ubuntu on my Dell Latitude 7390?

2nd display-Samsung M7 keeps going off when hibernating and disconnected https://askubuntu.com/questions/1561830/2nd-display-samsung-m7-keeps-going-off-when-hibernating-and-disconnected

Since installing Ubuntu 25.00 and above when using the 2nd display Samsung M7 for instance, every time the laptop screen goes into hibernation whether plugged in or not it loses the connection to the second display.

I have to turn off the display in Settings -> Display, then turn back on and reset the position of display 1 and 2 and save.

This was never an issue prior to this release.

Lenovo Legion Pro 5 16ARX8
Ubuntu 25.10
AMD Ryzen 9 7945HX with Radeon graphics × 32
32.0 GiB RAM
NVIDIA GeForce RTX 4070 laptop GPU

GNOME version: 49
Windowing system: Wayland
Kernel version: Linux 6.17.0-7-generic
Connection via HDMI

Let me know if you need any more information.

WPA3 doesn't work in 25.10 https://askubuntu.com/questions/1561828/wpa3-doesnt-work-in-25-10

My router is set to use WPA2 / WPA3 Personal (both are active). WPA3 works well with Android and Windows, but the connection doesn't work in Ubuntu 25.10. If I switch it to WPA2, then there is no problem. Any suggestions?

VirtualBox Debug Build - (0x80004005), drivers not installing, permissions weirdness [duplicate] https://askubuntu.com/questions/1561826/virtualbox-debug-build-0x80004005-drivers-not-installing-permissions-weird

I manually built a debug build of Oracle VirtualBox on Linux 6.8.0-88-generic #89-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 11 01:02:46 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux (Ubuntu 24.04)

It starts up correctly but doing:

make 
sudo make install 
./VirtualBox

leads to:

VirtualBox kernel driver not Installed. 
The vboxdrv kernel module was either not loaded, /dev/vboxdrv is not set up properly, 
or you are using EFI Secure Boot and the module is not signed in the right way for your system. 
If necessary, try setting up the kernel module again by executing '/sbin/vboxconfig' as root (VERR_VM_DRIVER_NOT_INSTALLED).

Resulting code:

NS_ERROR_FAILURE (0x80004005)
Component:
ConsoleWrap
Interface:
IConsole {6ac83d89-6ee7-4e33-8ae6-b257b2e81be8}
  • Secure Boot is disabled.
  • I tried insmod to load them manually and give myself rights to access the devices in /dev, but this resulted in
VirtualBox kernel driver is not accessible, permission problem. 
If you have built VirtualBox yourself, 
make sure that you do not have the vboxdrv kernel module from a different build or installation loaded. 
Also, make sure the vboxdrv udev rule gives you the permission you need to access the device. 
(VERR_VM_DRIVER_NOT_ACCESSIBLE).

Resulting code:

NS_ERROR_FAILURE (0x80004005)
Component:
ConsoleWrap
Interface:
IConsole {6ac83d89-6ee7-4e33-8ae6-b257b2e81be8}

If anybody has an idea how to resolve this to get my debug build to boot a guest let me know. VirtualBox otherwise works correctly. It's just the kernel drivers that are irritating my nerves.

i do the sudo apt-get update but this i got this error [duplicate] https://askubuntu.com/questions/1561821/i-do-the-sudo-apt-get-update-but-this-i-got-this-error
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://dl.winehq.org/wine-builds/ubuntu questing InRelease' doesn't support architecture 'i386'
E: The repository 'https://ppa.launchpadcontent.net/lutris-team/lutris/ubuntu questing Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
N: Some sources can be modernized. Run 'apt modernize-sources' to do so.

is there a way to fix it?

im using kubuntu 25.10

Trouble detecting WiFi adaptor in Ubuntu 24.04 https://askubuntu.com/questions/1560783/trouble-detecting-wifi-adaptor-in-ubuntu-24-04

I recently encountered an issue with my computer’s drivers, primarily relating to wifi detection. I didn’t actively apply any updates or anything, just left my computer running idle for 5 mins and came back to a black screen requiring a reboot. Upon restart, I noticed my computer no longer detects a wifi adapter.

I later realized other issues, for example I cannot change the screen brightness, the audio dial is labeled “dummy output”, and there was suddenly a dependency issue (confirmed with sudo apt-get check) that my linux-tools-6.14.0-37-generic depended on (but could not find) linux-tools-6.14.0- 37.

Note that I cannot connect to the internet in any manner from my laptop, ip link show reveals only a lo connection but no eth0 or anything else. When I run sudo lshw -c network I see network UNCLAIMED for two connections, the network controller and the ethernet controller. Here’s an excerpt: network UNCLAIMED description: Ethernet controller product: RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller vendor: Realtek Semiconductor Co., Ltd.

I tried to fix this dependency issue by downloading linux-tools-6.14.0-37 from ubuntuupdates.org (note the only “linux-tools-6.14.0-37” file I could fine was listed for 25.04 Plucky not 24.04 Noble but it seemed to work nonetheless) and then running sudo dpkg -i <file.deb>, after which the dependency issue seems to be resolved. I also tried reinstalling the linux-modules-extra drivers following the advice of 22.04.1 Network Unclaimed (this fixed a similar issue I had a month previously), but saw no changes after rebooting.

I have run the wireless-info script and put the output in https://pastebin.com/1c7RZYKL.

##### release ###########################
 
Distributor ID: Ubuntu
Description:    Ubuntu 24.04.3 LTS
Release:    24.04
Codename:   noble
 
##### kernel ############################
 
Linux 6.14.0-37-generic #37~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 20 10:25:38 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
 
Parameters: ro, amdgpu.backlight=0, quiet, splash, loglevel=3, vt.handoff=7
 
##### desktop ###########################
 
Ubuntu
 
##### lspci #############################
 
00:14.3 Network controller [0280]: Intel Corporation Comet Lake PCH CNVi WiFi [8086:06f0]
    DeviceName: Onboard - Ethernet
    Subsystem: Intel Corporation Dual Band Wi-Fi 6(802.11ax) AX201 160MHz 2x2 [Harrison Peak] [8086:0074]
    Kernel modules: iwlwifi
 
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
    Subsystem: Micro-Star International Co., Ltd. [MSI] RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1462:12a7]
    Kernel modules: r8169
 
##### lsusb #############################
 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 004: ID 1038:1122 SteelSeries ApS SteelSeries KLC
Bus 001 Device 005: ID 5986:211c Bison Electronics Inc. HD Webcam
Bus 001 Device 006: ID 8087:0026 Intel Corp. AX201 Bluetooth
Bus 001 Device 011: ID 18d1:4ee1 Google Inc. Nexus/Pixel Device (MTP)
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 
##### PCMCIA card info ##################
 
##### rfkill ############################
 
##### secure boot #######################
 
SecureBoot disabled
 
##### lsmod #############################
 
wmi                    28672  1 video
 
##### dkms #############################
 
./wireless-info: line 206: dkms: command not found
 
##### interfaces ########################
 
##### ifconfig ##########################
 
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback <MAC address> brd <MAC address>
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute 
       valid_lft forever preferred_lft forever
 
##### iwconfig ##########################
 
lo        no wireless extensions.
 
##### route #############################
 
##### resolv.conf #######################
 
[777 root '/etc/resolv.conf' -> '../run/systemd/resolve/stub-resolv.conf']
 
nameserver 127.0.0.53
options edns0 trust-ad
search .
 
##### network managers ##################
 
Installed:
 
    NetworkManager
 
Running:
 
root        1582       1  0 13:13 ?        00:00:00 /usr/sbin/NetworkManager --no-daemon
 
##### NetworkManager info ###############
 
##### NetworkManager.state ##############
 
[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
 
##### NetworkManager config #############
 
[[/etc/NetworkManager/conf.d/default-wifi-powersave-on.conf]]
[connection]
wifi.powersave = 3
 
[[/etc/NetworkManager/NetworkManager.conf]]
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false
[device]
wifi.scan-rand-mac-address=no
 
[[/usr/lib/NetworkManager/conf.d/10-dns-resolved.conf]]
[main]
dns=systemd-resolved
 
[[/usr/lib/NetworkManager/conf.d/10-globally-managed-devices.conf]]
[keyfile]
unmanaged-devices=*,except:type:wifi,except:type:gsm,except:type:cdma
 
[[/usr/lib/NetworkManager/conf.d/20-connectivity-ubuntu.conf]]
[connectivity]
uri=http://connectivity-check.ubuntu.com./
 
[[/usr/lib/NetworkManager/conf.d/no-mac-addr-change.conf]]
[device-31-mac-addr-change]
match-device=driver:eagle_sdio,driver:wl
wifi.scan-rand-mac-address=no
 
##### NetworkManager profiles ###########
 
##### Netplan config ####################
 
grep: /etc/netplan/90-NM-0743eca1-812b-4ce3-b8e1-6ba37143d0cb.yaml: Permission denied
grep: /etc/netplan/90-NM-127f2d2e-6a85-4945-ac65-5b70d4e371f6.yaml: Permission denied
grep: /etc/netplan/90-NM-29d5cf0a-c47e-44f3-997c-f4dc3f16f10a.yaml: Permission denied
grep: /etc/netplan/90-NM-39d0880f-456d-42c2-a8e4-a8e4c4fa5e58.yaml: Permission denied
grep: /etc/netplan/90-NM-572dc3d8-4ab7-4e89-8cb0-fb54caf48ce1.yaml: Permission denied
grep: /etc/netplan/90-NM-6bbcb812-4cff-4f4c-b387-14e2b79fe509.yaml: Permission denied
grep: /etc/netplan/90-NM-7ac69f4c-17ca-4321-985d-1ac22e009a03.yaml: Permission denied
grep: /etc/netplan/90-NM-7d2e5125-e7ab-429e-93b6-b68a637b58df.yaml: Permission denied
grep: /etc/netplan/90-NM-8095af92-6c55-4496-a5d6-d3dfdc36239b.yaml: Permission denied
grep: /etc/netplan/90-NM-84f2977c-66d3-4875-b531-449cd88f3ba1.yaml: Permission denied
grep: /etc/netplan/90-NM-9cf857a5-c76f-4d79-a857-1e1b17c09c9e.yaml: Permission denied
grep: /etc/netplan/90-NM-a654e30a-80be-4d7a-bf3d-6d7022ef3b6b.yaml: Permission denied
grep: /etc/netplan/90-NM-af6a8520-d94a-469f-9398-2262f78640dd.yaml: Permission denied
grep: /etc/netplan/90-NM-f4d6fa90-fef6-401c-b638-544e37d5100e.yaml: Permission denied
grep: /etc/netplan/90-NM-f7b8d3ef-b3f6-4215-9ec8-cd20eb93e642.yaml: Permission denied
grep: /lib/netplan/00-network-manager-all.yaml: Permission denied
 
##### iw reg get ########################
 
'iw' is not installed (package "iw").
 
##### iwlist channels ###################
 
lo        no frequency information.
 
##### iwlist scan #######################
 
lo        Interface doesn't support scanning.
 
##### module infos ######################
 
##### module parameters #################
 
##### /etc/modules ######################
 
##### modprobe options ##################
 
[/etc/modprobe.d/amd64-microcode-blacklist.conf]
blacklist microcode
 
[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci
 
[/etc/modprobe.d/blacklist.conf]
blacklist evbug
blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist prism54
blacklist bcm43xx
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac
 
[/etc/modprobe.d/blacklist-rare-network.conf]
alias net-pf-3 off
alias net-pf-6 off
alias net-pf-9 off
alias net-pf-11 off
alias net-pf-12 off
alias net-pf-19 off
alias net-pf-21 off
alias net-pf-36 off
 
[/etc/modprobe.d/intel-microcode-blacklist.conf]
blacklist microcode
 
[/etc/modprobe.d/iwlwifi.conf]
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211
 
##### rc.local ##########################
 
grep: /etc/rc.local: No such file or directory
 
##### pm-utils ##########################
 
##### udev rules ########################
 
##### dmesg #############################
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
VLC fails network stream in Ubuntu 22.04 https://askubuntu.com/questions/1560218/vlc-fails-network-stream-in-ubuntu-22-04

I use VLC to monitor a DVR via RTSP. Suddenly it stopped connecting. I have tried everything I can find, but it still fails to connect.

VLC version is 3.0.16 Vetinari. It used to work, then about a week ago, it started to fail, giving:

"Your input can't be opened: VLC is unable to open the MRL rtsp://192.168.1.195:554/ch04/0. Check the log for details."

I have tried removing and reinstalling, both with Symantic and sudo apt install, which I think means snap. I tried sudo apt-get install, but it makes no difference. I have a log output, very long, but I cannot understand what it is telling. I can post it if it would help.

This first started on my daily-use Desktop, for a day the backup laptop worked, then it also failed. I assume there was some kind of update that borked it. The laptop has 3.0.20 Vetinari.

EDIT

I followed the instructions in Sotirov's answer, but it did not solve the problem. After doing exactly what I was told, the command: vlc rtsp://192.168.1.195:554/ch04/0 led to the usual hint as to how to get 'help', and also it opened vlc with, again, the same fault as before.

Rebooting made no difference. I am thinking of seeing if I can install an earlier version of vlc, to see if that helps. I think this is 'editing my question post'. If not, I can only apologise. Results:

david@desktop-2:~$ which vlc
/usr/bin/vlc
david@desktop-2:~$ vlc rtsp://192.168.1.195:554/ch04/0
VLC media player 3.0.16 Vetinari (revision 3.0.13-8-g41878ff4f2)
VLC media player 3.0.16 Vetinari
Command Line Interface initialized. Type `help' for help.

and it waited for input. This time, it did not launch vlc, which it did before.

Results from just now:

david@desktop-2:~$ sudo apt remove vlc
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'vlc' is not installed, so not removed
0 to upgrade, 0 to newly install, 0 to remove and 11 not to upgrade.
david@desktop-2:~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 to upgrade, 0 to newly install, 0 to remove and 11 not to upgrade.
david@desktop-2:~$ sudo snap install vlc
snap "vlc" is already installed, see 'snap help refresh'
david@desktop-2:~$ snap refresh
All snaps up to date.
david@desktop-2:~$ vlc rtsp://192.168.1.195:554/ch04/0
VLC media player 3.0.16 Vetinari (revision 3.0.13-8-g41878ff4f2)
VLC media player 3.0.16 Vetinari Command Line Interface initialized.
Type `help' for help.

I rebooted, and then did the same command:

david@desktop-2:~$ vlc rtsp://192.168.1.195:554/ch04/0
VLC media player 3.0.16 Vetinari (revision 3.0.13-8-g41878ff4f2)
VLC media player 3.0.16 Vetinari
Command Line Interface initialized. Type `help' for help.

I just repeated the whole list of commands again, including: sudo snap install vlc. Then rebooted. Output of next attempt:

david@desktop-2:~$ which vlc
/usr/bin/vlc
david@desktop-2:~$ vlc rtsp://192.168.1.195:554/ch04/0
VLC media player 3.0.16 Vetinari (revision 3.0.13-8-g41878ff4f2)
VLC media player 3.0.16 Vetinari Command Line Interface initialized.
Type `help' for help.

It did not launch VLC.

Result of latest instruction /snap/bin/vlc rtsp://192.168.1.195:554/ch04/0: There was no response, it's still just sitting there waiting for something. It only changed when I stopped it with Ctrl-C.

/snap/bin/vlc does nothing, cursor sits there flashing. So, yes, it seems that the snap version is not being installed despite the command to do so being correct. Is there another way to install it? A snap-store, or similar? But I just checked with Navigator, and the file /snap/bin/vlc exists.

I tried something else.

  1. Using Synaptic, I removed everthing vlc.
  2. Back at the terminal, I then did this:
david@desktop-2:~$ sudo snap install vlc
[sudo] password for david: 
snap "vlc" is already installed, see 'snap help refresh'
david@desktop-2:~$ 
david@desktop-2:~$ sudo snap refresh
All snaps up to date.
david@desktop-2:~$ sudo snap remove vlc
vlc removed (snap data snapshot saved)
david@desktop-2:~$ sudo snap install vlc
vlc 3.0.20-1-g2617de71b6 from VideoLAN✓ installed
david@desktop-2:~$ /snap/bin/vlc rtsp://192.168.1.195:554/ch04/0
^C   {NO ACTION}.
david@desktop-2:~$ vlc
bash: /usr/bin/vlc: No such file or directory
david@desktop-2:~$ cd /snap/bin
david@desktop-2:/snap/bin$ ls
firefox              get-iplayer.get-iplayer-cgi
firefox.geckodriver  snap-store
geckodriver          snap-store.ubuntu-software
get-iplayer          snap-store.ubuntu-software-local-file
get_iplayer          vlc
get_iplayer.cgi      zoom-client
firefox              get-iplayer.get-iplayer-cgi
firefox.geckodriver  snap-store
geckodriver          snap-store.ubuntu-software
get-iplayer          snap-store.ubuntu-software-local-file
get_iplayer          **vlc**
get_iplayer.cgi      zoom-client

Is there any point in removing vlc from /snap/bin, and then re-installing? At he moment, vlc is said to be installed, but does not open. /snap/bin/vlc exists, but does not launch. As far as I know, I have followed the instructions to remove the old vlc and install the snap version. But it does not work. The only thing I can think of is to install an older version.

Update now I am hopefully allowed to post again, after my un-announced suspension. I followed the instructions to remove and purge the 'old' version(s) of vlc, then after a reboot, successfuly installed the snap version. It would not launch. I tried this several times, rebooting each time, but the result was always the same. So I re-installed the apt version, which does everything I want except Network Streaming. Oh well, it was worth trying. Bye, and thanks for not much.

restart rsync and the same files get copied AGAIN https://askubuntu.com/questions/1557417/restart-rsync-and-the-same-files-get-copied-again

Just recently I got to creating backups, having lived without for far too long...

What I wanted to achieve was to backup two locations

  • /home/$USER/ (zfs on a 4TB NVME)
  • /media/$USER/SSD_8TB/ (etx4)

These to have backups at /media/$USER/HDD_24TB/rsync/,
each in its separate folder; home-$USER/ and SSD_8TB/

Now a simplistic set of arguments to rsync would be rsync -avP end let it be that; simple and doing its job.
Add -z for compressing data for very slow transfers, e.g. serials or slow mobile modem/router

But as I aim at using the same script for all my backups, these two devices being the first attempts: So the command line grew to include all [possibly useful (or not)] options.

What it ended up be was:

$ rsync --exclude=lost+found/ -rxlHAWXS \
--numeric-ids --info=progress2 --stats --no-inc-recursive \
$from $into

... in that particular order.

But; After several runs that took a long time, finally adding -vv - I realized that this ALWAYS copied the same files, even when running several launches just after each other, with no changes to the actual files.

So, what to do?


$ rsync --version
rsync  version 3.2.7  protocol version 31
Copyright (C) 1996-2022 by Andrew Tridgell, Wayne Davison, and others.
Web site: https://rsync.samba.org/
Capabilities:
    64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints,
    socketpairs, symlinks, symtimes, hardlinks, hardlink-specials,
    hardlink-symlinks, IPv6, atimes, batchfiles, inplace, append, ACLs,
    xattrs, optional secluded-args, iconv, prealloc, stop-at, no crtimes
Optimizations:
    SIMD-roll, no asm-roll, openssl-crypto, no asm-MD5
Checksum list:
    xxh128 xxh3 xxh64 (xxhash) md5 md4 sha1 none
Compress list:
    zstd lz4 zlibx zlib none
Daemon auth list:
    sha512 sha256 sha1 md5 md4

rsync comes with ABSOLUTELY NO WARRANTY.  This is free software, and you
are welcome to redistribute it under certain conditions.  See the GNU
General Public Licence for details.

$ . /etc/os-release ; echo $PRETTY_NAME
Ubuntu 24.04.3 LTS

$ pro status
SERVICE          ENTITLED  STATUS       DESCRIPTION
anbox-cloud      yes       disabled     Scalable Android in the cloud
esm-apps         yes       enabled      Expanded Security Maintenance for Applications
esm-infra        yes       enabled      Expanded Security Maintenance for Infrastructure
landscape        yes       disabled     Management and administration tool for Ubuntu
livepatch        yes       disabled     Canonical Livepatch service

For a list of all Ubuntu Pro services, run 'pro status --all'
Enable services with: pro enable 

     Account: spamcollector@minim.nu
Subscription: Ubuntu Pro - free personal subscription

$
Ubuntu Server can't change timezone https://askubuntu.com/questions/1556048/ubuntu-server-cant-change-timezone

New install of Server 25.04 the timezone is currently UTC. timedatectl list-timezones shows US/Pacific as a valid choice (and is what I want :-). However this command: sudo timedatectl set-timezone US/Pacific gets this result: Failed to set time zone: Invalid or not installed time zone 'US/Pacific'.

What could cause this? Seems like any timezone listed in list-timezones should work. I've seen posts about some issue with the tzdata stuff in recent releases, but no direct matches.

Thanks in advance for any help.

AppImages won't run on 24.04 https://askubuntu.com/questions/1524005/appimages-wont-run-on-24-04

Regardless of what AppImage it is, attempting to run it produces a result similar to this:

[192808:0821/033305.658883:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /tmp/.mount_balenamyajdO/chrome-sandbox is owned by root and has mode 4755. /tmp/.mount_balenamyajdO/balena-etcher: line 10: 192808 Trace/breakpoint trap (core dumped) "${script_dir}"/balena-etcher.bin "$@"

Zero exceptions found. I am running XUbuntu 24.04 on a Ryzen 5 3600. Everything worked perfectly until I "upgraded" from XUbuntu 22.04.

Why do I get two copies of my printer? https://askubuntu.com/questions/1496960/why-do-i-get-two-copies-of-my-printer

My printer is attached via ethernet to my LAN. When I install it I get two copies shown. Why is that?

enter image description here

"Can't mark 'ubuntu-desktop' for upgrade" while trying to upgrade to LTS 22.04 https://askubuntu.com/questions/1428922/cant-mark-ubuntu-desktop-for-upgrade-while-trying-to-upgrade-to-lts-22-04

When I do sudo do-release-upgrade to update to the next LTS, I get

Could not calculate the upgrade 

An unresolvable problem occurred while calculating the upgrade. 

The cause seems to be this (from /var/log/dist-upgrade/main.log):

WARNING Can't mark 'ubuntu-desktop' for upgrade (E:Unable to correct problems, you have held broken packages.)
ERROR Dist-upgrade failed: 'Broken packages after upgrade: ubuntu-desktop'

How do I resolve this problem? /var/log/dist-upgrade/apt.log displays too many broken packages, and I am lost on how to proceed. I know I should not delete ubuntu-desktop, what should I do?

Note, I did sudo apt update and sudo apt upgrade. Nothing reports broken packages other than do-release-upgrade. I do not think I have broken package in current version, it seems more like upgrading would cause some broken links.

Configure two ethernet interface on Ubuntu https://askubuntu.com/questions/1422727/configure-two-ethernet-interface-on-ubuntu

I'm trying to configure two Ethernet connections on the same computer running on Ubuntu but every attempts that I have made doesn't allow me to enable both Ethernet connections at the same time and I don't understand why. To have a better understanding of what I want to do, here is a description of the three involved computers represented at the following picture:

1

  • Computer A: my personal computer (running on windows) which is connected to internet
  • Computer B: a computer running on Ubuntu 22.04, connected via Ethernet to internet and to the computer C
  • C : a Ubuntu server 22.04 which is only connected to the computer B via Ethernet

I want to have access to the computer C from the computer A with SSH. I already have set static ips on computers B and C:

  • On computer B: xx.yy.zz.101 for the Ethernet port linked to the Ethernet port of the computer C
  • On computer B: xx.yy.zz.100 for the Ethernet port connected to internet
  • On computer C: xx.yy.zz.102 for the Ethernet port linked to the Ethernet port of the computer B

So, I should be able to access first from computer A to computer B with the command:

ssh xx.yy.zz.100

and then from computer B to C with the command:

ssh xx.yy.zz.102

Nevertheless, I can do only one of the two connections (depending on which one is active). The netplan configuration file of the computer B is:

---
network:
  version: 2
  ethernets:
    enp35s0: # Connection to computer C
      dhcp4: false
      addresses: [xx.yy.zz.101/24] # Need to configure a static ip
      gateway4: xx.yy.zz.1
    enp42s0: # Connection to internet
      dhcp4: false
      addresses: [xx.yy.zz.100/24] # Need to configure a static ip
      gateway4: xx.yy.zz.1
      nameservers:
      - addresses: [a.b.c.d, e.f.g.h]

and the command "ip a" shows:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group    default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp35s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 00:13:3b:0f:8f:36 brd ff:ff:ff:ff:ff:ff
    inet 10.102.100.101/24 brd 10.102.100.255 scope global enp35s0
       valid_lft forever preferred_lft forever
    inet6 fe80::213:3bff:fe0f:8f36/64 scope link 
       valid_lft forever preferred_lft forever
3: enp36s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 00:13:3b:0f:8f:37 brd ff:ff:ff:ff:ff:ff
4: enp42s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 2c:f0:5d:9a:e0:2c brd ff:ff:ff:ff:ff:ff
    inet 10.102.100.100/24 brd 10.102.100.255 scope global enp42s0
       valid_lft forever preferred_lft forever
    inet6 fe80::2ef0:5dff:fe9a:e02c/64 scope link 
       valid_lft forever preferred_lft forever

Can you help me to understand why the two Ethernet interfaces can't be used at the same time? I already tried several options, like using the routes option with some priority but I have never succeeded to do what I want so I don't know which is simple way to do what I want.

easyrsa: No such file or directory after make-cadir https://askubuntu.com/questions/1397149/easyrsa-no-such-file-or-directory-after-make-cadir

I was told to do

sudo make-cadir /etc/openvpn/easy-rsa
sudo du
cd /etc/openvpn/easy-rsa
./easyrsa init-pki
./easyrsa build-ca

by this manual. Unfortunately I got

root@myhost:/etc/openvpn/easy-rsa# ./easyrsa init-pki
bash: ./easyrsa: No such file or directory

Why and how to fix?

Where do I find core dump files, and how do I view and analyze the backtrace (stack trace) in one? https://askubuntu.com/questions/1349047/where-do-i-find-core-dump-files-and-how-do-i-view-and-analyze-the-backtrace-st

When I run my C program on Ubuntu 20.04, I get this run-time error:

Segmentation fault (core dumped)

I really need to find and view the core file, but I can't find it anywhere. Where is it, and how do I view the backtrace in it?

rpi4 - Ubuntu 20.04.2 LTS - NFS drive not mounting on boot https://askubuntu.com/questions/1347996/rpi4-ubuntu-20-04-2-lts-nfs-drive-not-mounting-on-boot

I have been having an issue getting an NFS share to automatically mount on boot for a handful of rpi4's all running Ubuntu 20.04.2 LTS.

If I run a sudo mount -a the drive successfully mounts with no issues.

I have tried a variety of fstab options with no success. Below is the current config:

192.168.1.100:/mnt/media /mnt/media nfs _netdev,auto,nfsvers=4 0 0

Running sudo cat /var/log/syslog | grep nfs returns the following:

Jun 24 18:59:01 test-01 kernel: [ 7.865019] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).

Jun 24 18:59:01 test-01 systemd[1]: nfs-config.service: Succeeded.

Jun 24 18:59:03 test-01 kernel: [ 18.820306] FS-Cache: Netfs 'nfs' registered for caching

Jun 24 18:59:03 test-01 mount[1754]: mount.nfs: Network is unreachable

I am not sure if it is trying to mount before the network is online, but i thought the _netdev option prevented this.

Ubuntu 20.04 KVM, netplan with bonding, vlan and bridges https://askubuntu.com/questions/1290879/ubuntu-20-04-kvm-netplan-with-bonding-vlan-and-bridges

I am preparing migration of an UBUNTU 16.04.7 server with 5 NIC's to 20.04. My testing server has 4 NIC's: 2 onboard and 2 as Intel Pro NIC. Configured in 00-installer-config.yaml. The first NIC is configured as:

  version: 2
  renderer: networkd
  ethernets:
    enp65s0f0:
      addresses: [10.1.11.230/24]
      gateway4: 10.1.11.11
      nameservers:
        addresses: [10.1.11.11, 1.1.1.1]
    enp193s0f0:
      optional: true
    enp193s0f1:
      optional: true
    enp65s0f1:
      optional: true

This part works. The next 3 NIC's are going to be bond0, with vlans on top and bridges:

  bonds:
    bond0:
      interfaces: [enp193s0f0, enp193s0f1, enp65s0f1]
      parameters:
        mode: 802.3ad
        lacp-rate: fast
        mii-monitor-interval: 100
        min-links: 1
  vlans:
    vlan1:
      id: 1
      link: bond0
    vlan11:
      id: 11
      link: bond0
    vlan240:
      id: 240
      link: bond0
  bridges:
    br100:
      interfaces: [vlan1]
    br11:
      interfaces: [vlan11]
    br240:
      interfaces: [vlan240]

The bond0 does not work. I have searched and tried all kinds of variations with ordering of NIC's, dhcp4: false, dhcp6: false, optional:true only using the IntelPro NIC's for the bonding. I have reviewed answers on this and other forums, but no solution so far yet.

  • What's wrong with my configuration? Anything missing?
  • Is the architecture I am aiming at still supported? I want my KVM guests to use a bridge so they can communicate with each other without needing the physical switch and without needing VLAN to be configured in the guests. This worked perfectly in Ub16.04.

My switch is a HP V1910-24G and has 4 other working trunks (LACP/802.3ad), with the Ub16.04 (4 NIC's)server and 3 QNAP NAS's with each a double NIC.

See the following outputs on my Ubuntu 20.04 with the above netplan config:

networkctl list
IDX LINK       TYPE     OPERATIONAL SETUP     
  1 lo         loopback carrier     unmanaged 
  2 enp65s0f0  ether    routable    configured
  3 enp65s0f1  ether    enslaved    configured
  4 enp193s0f0 ether    enslaved    configured
  5 enp193s0f1 ether    enslaved    configured
  6 bond0      bond     degraded    configured
  7 br100      bridge   degraded    configured
  8 br11       bridge   degraded    configured
  9 br240      bridge   degraded    configured
 10 vlan.240   vlan     carrier     unmanaged 
 11 vlan.11    vlan     carrier     unmanaged 
 12 vlan.1     vlan     carrier     unmanaged 
 13 virbr0     bridge   no-carrier  unmanaged 
 14 virbr0-nic ether    off         unmanaged 
 17 vnet0      ether    degraded    unmanaged 

 ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp65s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
    link/ether d0:50:99:d4:bc:e3 brd ff:ff:ff:ff:ff:ff
3: enp65s0f1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master bond0 state UP mode DEFAULT group default qlen 1000
    link/ether 16:3d:9c:75:6b:c5 brd ff:ff:ff:ff:ff:ff
4: enp193s0f0: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc fq_codel master bond0 state UP mode DEFAULT group default qlen 1000
    link/ether 16:3d:9c:75:6b:c5 brd ff:ff:ff:ff:ff:ff
5: enp193s0f1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc fq_codel master bond0 state UP mode DEFAULT group default qlen 1000
    link/ether 16:3d:9c:75:6b:c5 brd ff:ff:ff:ff:ff:ff
6: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
    link/ether 16:3d:9c:75:6b:c5 brd ff:ff:ff:ff:ff:ff
7: br100: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
    link/ether 16:3d:9c:75:6b:c5 brd ff:ff:ff:ff:ff:ff
8: br11: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
    link/ether 16:3d:9c:75:6b:c5 brd ff:ff:ff:ff:ff:ff
9: br240: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
    link/ether 16:3d:9c:75:6b:c5 brd ff:ff:ff:ff:ff:ff
10: vlan.240@bond0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br240 state UP mode DEFAULT group default qlen 1000
    link/ether 16:3d:9c:75:6b:c5 brd ff:ff:ff:ff:ff:ff
11: vlan.11@bond0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br11 state UP mode DEFAULT group default qlen 1000
    link/ether 16:3d:9c:75:6b:c5 brd ff:ff:ff:ff:ff:ff
12: vlan.1@bond0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br100 state UP mode DEFAULT group default qlen 1000
    link/ether 16:3d:9c:75:6b:c5 brd ff:ff:ff:ff:ff:ff
13: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default qlen 1000
    link/ether 52:54:00:f4:49:5c brd ff:ff:ff:ff:ff:ff
14: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc fq_codel master virbr0 state DOWN mode DEFAULT group default qlen 1000
    link/ether 52:54:00:f4:49:5c brd ff:ff:ff:ff:ff:ff
17: vnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master br11 state UNKNOWN mode DEFAULT group default qlen 1000
    link/ether fe:54:00:d2:56:7d brd ff:ff:ff:ff:ff:ff

 netplan --debug apply
** (generate:11473): DEBUG: 13:54:31.627: Processing input file /etc/netplan/00-installer-config.yaml..
** (generate:11473): DEBUG: 13:54:31.628: starting new processing pass
** (generate:11473): DEBUG: 13:54:31.628: We have some netdefs, pass them through a final round of validation
** (generate:11473): DEBUG: 13:54:31.628: vlan240: setting default backend to 1
** (generate:11473): DEBUG: 13:54:31.628: Configuration is valid
** (generate:11473): DEBUG: 13:54:31.628: bond0: setting default backend to 1
** (generate:11473): DEBUG: 13:54:31.628: Configuration is valid
** (generate:11473): DEBUG: 13:54:31.628: br11: setting default backend to 1
** (generate:11473): DEBUG: 13:54:31.628: Configuration is valid
** (generate:11473): DEBUG: 13:54:31.628: enp65s0f1: setting default backend to 1
** (generate:11473): DEBUG: 13:54:31.628: Configuration is valid
** (generate:11473): DEBUG: 13:54:31.628: enp65s0f0: setting default backend to 1
** (generate:11473): DEBUG: 13:54:31.628: Configuration is valid
** (generate:11473): DEBUG: 13:54:31.628: vlan11: setting default backend to 1
** (generate:11473): DEBUG: 13:54:31.628: Configuration is valid
** (generate:11473): DEBUG: 13:54:31.628: enp193s0f1: setting default backend to 1
** (generate:11473): DEBUG: 13:54:31.628: Configuration is valid
** (generate:11473): DEBUG: 13:54:31.628: br100: setting default backend to 1
** (generate:11473): DEBUG: 13:54:31.628: Configuration is valid
** (generate:11473): DEBUG: 13:54:31.628: vlan1: setting default backend to 1
** (generate:11473): DEBUG: 13:54:31.628: Configuration is valid
** (generate:11473): DEBUG: 13:54:31.628: enp193s0f0: setting default backend to 1
** (generate:11473): DEBUG: 13:54:31.628: Configuration is valid
** (generate:11473): DEBUG: 13:54:31.628: br240: setting default backend to 1
** (generate:11473): DEBUG: 13:54:31.628: Configuration is valid
** (generate:11473): DEBUG: 13:54:31.628: Generating output files..
** (generate:11473): DEBUG: 13:54:31.629: openvswitch: definition enp65s0f0 is not for us (backend 1)
** (generate:11473): DEBUG: 13:54:31.629: NetworkManager: definition enp65s0f0 is not for us (backend 1)
** (generate:11473): DEBUG: 13:54:31.629: openvswitch: definition enp193s0f0 is not for us (backend 1)
** (generate:11473): DEBUG: 13:54:31.629: NetworkManager: definition enp193s0f0 is not for us (backend 1)
** (generate:11473): DEBUG: 13:54:31.629: openvswitch: definition enp193s0f1 is not for us (backend 1)
** (generate:11473): DEBUG: 13:54:31.629: NetworkManager: definition enp193s0f1 is not for us (backend 1)
** (generate:11473): DEBUG: 13:54:31.629: openvswitch: definition enp65s0f1 is not for us (backend 1)
** (generate:11473): DEBUG: 13:54:31.629: NetworkManager: definition enp65s0f1 is not for us (backend 1)
** (generate:11473): DEBUG: 13:54:31.629: openvswitch: definition bond0 is not for us (backend 1)
** (generate:11473): DEBUG: 13:54:31.629: NetworkManager: definition bond0 is not for us (backend 1)
** (generate:11473): DEBUG: 13:54:31.629: openvswitch: definition vlan1 is not for us (backend 1)
** (generate:11473): DEBUG: 13:54:31.629: NetworkManager: definition vlan1 is not for us (backend 1)
** (generate:11473): DEBUG: 13:54:31.629: openvswitch: definition vlan11 is not for us (backend 1)
** (generate:11473): DEBUG: 13:54:31.629: NetworkManager: definition vlan11 is not for us (backend 1)
** (generate:11473): DEBUG: 13:54:31.629: openvswitch: definition vlan240 is not for us (backend 1)
** (generate:11473): DEBUG: 13:54:31.629: NetworkManager: definition vlan240 is not for us (backend 1)
** (generate:11473): DEBUG: 13:54:31.629: openvswitch: definition br100 is not for us (backend 1)
** (generate:11473): DEBUG: 13:54:31.629: NetworkManager: definition br100 is not for us (backend 1)
** (generate:11473): DEBUG: 13:54:31.629: openvswitch: definition br11 is not for us (backend 1)
** (generate:11473): DEBUG: 13:54:31.629: NetworkManager: definition br11 is not for us (backend 1)
** (generate:11473): DEBUG: 13:54:31.629: openvswitch: definition br240 is not for us (backend 1)
** (generate:11473): DEBUG: 13:54:31.629: NetworkManager: definition br240 is not for us (backend 1)
(generate:11473): GLib-DEBUG: 13:54:31.629: posix_spawn avoided (fd close requested) 
(generate:11473): GLib-DEBUG: 13:54:31.630: posix_spawn avoided (fd close requested) 
DEBUG:netplan generated networkd configuration changed, restarting networkd
DEBUG:enp65s0f0 not found in {}
DEBUG:enp193s0f0 not found in {'enp65s0f0': {'addresses': ['10.1.11.230/24'], 'gateway4': '10.1.11.11', 'nameservers': {'addresses': ['10.1.11.11', '1.1.1.1']}}}
DEBUG:enp193s0f1 not found in {'enp65s0f0': {'addresses': ['10.1.11.230/24'], 'gateway4': '10.1.11.11', 'nameservers': {'addresses': ['10.1.11.11', '1.1.1.1']}}, 'enp193s0f0': {'optional': True}}
DEBUG:enp65s0f1 not found in {'enp65s0f0': {'addresses': ['10.1.11.230/24'], 'gateway4': '10.1.11.11', 'nameservers': {'addresses': ['10.1.11.11', '1.1.1.1']}}, 'enp193s0f0': {'optional': True}, 'enp193s0f1': {'optional': True}}
DEBUG:br100 not found in {}
DEBUG:br11 not found in {'br100': {'interfaces': ['vlan1']}}
DEBUG:br240 not found in {'br100': {'interfaces': ['vlan1']}, 'br11': {'interfaces': ['vlan11']}}
DEBUG:bond0 not found in {}
DEBUG:vlan1 not found in {}
DEBUG:vlan11 not found in {'vlan1': {'id': 1, 'link': 'bond0'}}
DEBUG:vlan240 not found in {'vlan1': {'id': 1, 'link': 'bond0'}, 'vlan11': {'id': 11, 'link': 'bond0'}}
DEBUG:Merged config:
network:
  bonds:
    bond0:
      interfaces:
      - enp193s0f0
      - enp193s0f1
      - enp65s0f1
      parameters:
        lacp-rate: fast
        mii-monitor-interval: 100
        min-links: 1
        mode: 802.3ad
  bridges:
    br100:
      interfaces:
      - vlan1
    br11:
      interfaces:
      - vlan11
    br240:
      interfaces:
      - vlan240
  ethernets:
    enp193s0f0:
      optional: true
    enp193s0f1:
      optional: true
    enp65s0f0:
      addresses:
      - 10.1.11.230/24
      gateway4: 10.1.11.11
      nameservers:
        addresses:
        - 10.1.11.11
        - 1.1.1.1
    enp65s0f1:
      optional: true
  ovs_ports: {}
  vlans:
    vlan1:
      id: 1
      link: bond0
    vlan11:
      id: 11
      link: bond0
    vlan240:
      id: 240
      link: bond0
  wifis: {}

DEBUG:no netplan generated NM configuration exists
DEBUG:enp65s0f0 not found in {}
DEBUG:enp193s0f0 not found in {'enp65s0f0': {'addresses': ['10.1.11.230/24'], 'gateway4': '10.1.11.11', 'nameservers': {'addresses': ['10.1.11.11', '1.1.1.1']}}}
DEBUG:enp193s0f1 not found in {'enp65s0f0': {'addresses': ['10.1.11.230/24'], 'gateway4': '10.1.11.11', 'nameservers': {'addresses': ['10.1.11.11', '1.1.1.1']}}, 'enp193s0f0': {'optional': True}}
DEBUG:enp65s0f1 not found in {'enp65s0f0': {'addresses': ['10.1.11.230/24'], 'gateway4': '10.1.11.11', 'nameservers': {'addresses': ['10.1.11.11', '1.1.1.1']}}, 'enp193s0f0': {'optional': True}, 'enp193s0f1': {'optional': True}}
DEBUG:br100 not found in {}
DEBUG:br11 not found in {'br100': {'interfaces': ['vlan1']}}
DEBUG:br240 not found in {'br100': {'interfaces': ['vlan1']}, 'br11': {'interfaces': ['vlan11']}}
DEBUG:bond0 not found in {}
DEBUG:vlan1 not found in {}
DEBUG:vlan11 not found in {'vlan1': {'id': 1, 'link': 'bond0'}}
DEBUG:vlan240 not found in {'vlan1': {'id': 1, 'link': 'bond0'}, 'vlan11': {'id': 11, 'link': 'bond0'}}
DEBUG:Merged config:
network:
  bonds:
    bond0:
      interfaces:
      - enp193s0f0
      - enp193s0f1
      - enp65s0f1
      parameters:
        lacp-rate: fast
        mii-monitor-interval: 100
        min-links: 1
        mode: 802.3ad
  bridges:
    br100:
      interfaces:
      - vlan1
    br11:
      interfaces:
      - vlan11
    br240:
      interfaces:
      - vlan240
  ethernets:
    enp193s0f0:
      optional: true
    enp193s0f1:
      optional: true
    enp65s0f0:
      addresses:
      - 10.1.11.230/24
      gateway4: 10.1.11.11
      nameservers:
        addresses:
        - 10.1.11.11
        - 1.1.1.1
    enp65s0f1:
      optional: true
  ovs_ports: {}
  vlans:
    vlan1:
      id: 1
      link: bond0
    vlan11:
      id: 11
      link: bond0
    vlan240:
      id: 240
      link: bond0
  wifis: {}

DEBUG:Skipping non-physical interface: lo
DEBUG:device enp65s0f0 operstate is up, not changing
DEBUG:Skipping composite member enp65s0f1
DEBUG:Skipping composite member enp193s0f0
DEBUG:Skipping composite member enp193s0f1
DEBUG:Skipping non-physical interface: bond0
DEBUG:Skipping non-physical interface: br100
DEBUG:Skipping non-physical interface: br11
DEBUG:Skipping non-physical interface: br240
DEBUG:Skipping non-physical interface: vlan.240
DEBUG:Skipping non-physical interface: vlan.11
DEBUG:Skipping non-physical interface: vlan.1
DEBUG:Skipping non-physical interface: virbr0
DEBUG:Skipping non-physical interface: virbr0-nic
DEBUG:Skipping non-physical interface: vnet0
DEBUG:{}
DEBUG:netplan triggering .link rules for lo
DEBUG:netplan triggering .link rules for enp65s0f0
DEBUG:netplan triggering .link rules for enp65s0f1
DEBUG:netplan triggering .link rules for enp193s0f0
DEBUG:netplan triggering .link rules for enp193s0f1
DEBUG:netplan triggering .link rules for bond0
DEBUG:netplan triggering .link rules for br100
DEBUG:netplan triggering .link rules for br11
DEBUG:netplan triggering .link rules for br240
DEBUG:netplan triggering .link rules for vlan.240
DEBUG:netplan triggering .link rules for vlan.11
DEBUG:netplan triggering .link rules for vlan.1
DEBUG:netplan triggering .link rules for virbr0
DEBUG:netplan triggering .link rules for virbr0-nic
DEBUG:netplan triggering .link rules for vnet0
DEBUG:enp65s0f0 not found in {}
DEBUG:enp193s0f0 not found in {'enp65s0f0': {'addresses': ['10.1.11.230/24'], 'gateway4': '10.1.11.11', 'nameservers': {'addresses': ['10.1.11.11', '1.1.1.1']}}}
DEBUG:enp193s0f1 not found in {'enp65s0f0': {'addresses': ['10.1.11.230/24'], 'gateway4': '10.1.11.11', 'nameservers': {'addresses': ['10.1.11.11', '1.1.1.1']}}, 'enp193s0f0': {'optional': True}}
DEBUG:enp65s0f1 not found in {'enp65s0f0': {'addresses': ['10.1.11.230/24'], 'gateway4': '10.1.11.11', 'nameservers': {'addresses': ['10.1.11.11', '1.1.1.1']}}, 'enp193s0f0': {'optional': True}, 'enp193s0f1': {'optional': True}}
DEBUG:br100 not found in {}
DEBUG:br11 not found in {'br100': {'interfaces': ['vlan1']}}
DEBUG:br240 not found in {'br100': {'interfaces': ['vlan1']}, 'br11': {'interfaces': ['vlan11']}}
DEBUG:bond0 not found in {}
DEBUG:vlan1 not found in {}
DEBUG:vlan11 not found in {'vlan1': {'id': 1, 'link': 'bond0'}}
DEBUG:vlan240 not found in {'vlan1': {'id': 1, 'link': 'bond0'}, 'vlan11': {'id': 11, 'link': 'bond0'}}
DEBUG:Merged config:
network:
  bonds:
    bond0:
      interfaces:
      - enp193s0f0
      - enp193s0f1
      - enp65s0f1
      parameters:
        lacp-rate: fast
        mii-monitor-interval: 100
        min-links: 1
        mode: 802.3ad
  bridges:
    br100:
      interfaces:
      - vlan1
    br11:
      interfaces:
      - vlan11
    br240:
      interfaces:
      - vlan240
  ethernets:
    enp193s0f0:
      optional: true
    enp193s0f1:
      optional: true
    enp65s0f0:
      addresses:
      - 10.1.11.230/24
      gateway4: 10.1.11.11
      nameservers:
        addresses:
        - 10.1.11.11
        - 1.1.1.1
    enp65s0f1:
      optional: true
  ovs_ports: {}
  vlans:
    vlan1:
      id: 1
      link: bond0
    vlan11:
      id: 11
      link: bond0
    vlan240:
      id: 240
      link: bond0
  wifis: {}


I am at the end of my options and ready to remove cloud-init/netplan and revert to the working configuration I had in 16.04. Thanks for reading this far.

Frank

Error installing Ubuntu Server 18.04 with vmworkstation 12.0 "kernel panic - not syncing: corrupted stack end detected inside scheduler" https://askubuntu.com/questions/1056560/error-installing-ubuntu-server-18-04-with-vmworkstation-12-0-kernel-panic-not

I am getting an error

Kernel Panic - not syncing: corrupted stack end detected inside scheduler

This is on vmworkstation12 while installing Ubuntu Server 18.04.

Any pointers on what this could be?

error on screen in VM

Firefox profiles with different icons in Ubuntu dock https://askubuntu.com/questions/1000818/firefox-profiles-with-different-icons-in-ubuntu-dock

Ubuntu 17.10 (xorg), GNOME 3.26.2, Firefox 58.0 (64 bit).

I have a few Firefox profiles setup. When I run each profile, I would like it to be a separate icon on the dock. How do I make that happen? Right now what happens is that they are all grouped in the standard Firefox icon.

"Vmware Kernel Module Updater" problem in Ubuntu 16.04 LTS https://askubuntu.com/questions/996754/vmware-kernel-module-updater-problem-in-ubuntu-16-04-lts

Every time I am trying to launch Vmware-Workstation, I am getting this error message: Before you can run Vmware, several modules must be compiled and loaded into the running kernel.

After clicking on Install button, I get this: Stopping Vmware Services..

Unable to start services. See log file /tmp/vmware-root/vmware-27309.log for details.

I have tried everything to resolve this error but didn't succeeded. Even formatted my laptop and again reinstall ubuntu 16.04 LTS and Vmware-Workstation 12 Pro but this also doesn't make any difference.

This error is really annoying. Someone please help me out...

WiFi device is hard blocked https://askubuntu.com/questions/956734/wifi-device-is-hard-blocked

My WiFi is hard blocked according to rfkill list. I have tried rfkill unblock all (although it's used for soft block/unblock).

I have checked my BIOS settings, and WiFi is not disabled there. I am not even able to turn on the WiFi service through the function key when the OS is loaded. I believe the device is working fine because all indicators blink on boot.

I am using Lenovo Thinkpad. If anyone has any solution, please suggest.

Output of lspci -knn | grep Net -A3:

project-mach@projectmach-ThinkPad-T430s:~$ lspci -knn | grep Net -A3
00:19.0 Ethernet controller [0200]: Intel Corporation 82579LM Gigabit Network Connection [8086:1502] (rev 04)
    Subsystem: Lenovo 82579LM Gigabit Network Connection [17aa:21f3]
    Kernel driver in use: e1000e
    Kernel modules: e1000e
0:1a.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series 
Chipset Family USB Enhanced Host Controller #2 [8086:1e2d] (rev 04)

--

03:00.0 Network controller [02800]: Intel Corporation Centrino Ultimate-N 
6300 [8086:4238] (rev 3e)
    Subsystem: Intel Corporation Centrino Ultimate-N 6300 3x3 AGN [8086:1111]
    Kernel driver in use: iwlwifi
    Kernel modules: iwlwifi

Ouptut of rfkill list:

project-mach@projectmach-ThinkPad-T430s:~$ rfkill list
0: tpacpi_bluetooth_sw: Bluetooth
    Soft blocked: yes
    Hard blocked: yes
1: tpacpi_wwan_sw: Wireless WAN
    Soft blocked: no
    Hard blocked: yes
2: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: yes
Unable to load dynamic library '/usr/lib/php/20151012/php_soap.dll' from sessionclean cron https://askubuntu.com/questions/846166/unable-to-load-dynamic-library-usr-lib-php-20151012-php-soap-dll-from-session

HP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/php_soap.dll' - /usr/lib/php/20151012/php_soap.dll: cannot open shared object file: No such file or directory in Unknown on line 0

I just noticed I am getting this warning with the sessionclean cron. I have php7 installed on ubuntu 16.04.

How can I resolve this error? Is my sessionclean old in trying to use dlls?

How to disable apt key checking for private repositories under Ubuntu 14.04? https://askubuntu.com/questions/708902/how-to-disable-apt-key-checking-for-private-repositories-under-ubuntu-14-04

Under Ubuntu 14.04 I cannot get this to work.

Our PCI auditor told us we can not have direct outbound access to the Ubuntu repo's, so I mirror them with reprepro. Likewise, we do not have outbound access to keyserver.ubuntu.com.

I have tried adding each of the following to /etc/apt/apt.conf.d/99local:

APT::Get::AllowUnauthenticated "true";
APT{Ignore {"gpg-pubkey"; }};
APT { Get { AllowUnauthenticated "1"; }; };

And an "apt-get update" still returns, after reading the packages:

W: GPG error: hkp://sa1.dal.some-company.com trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 082BCA0181FE8E68
W: GPG error: hkp://sa1.dal.some-company.com trusty-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 082BCA0181FE8E68
W: GPG error: hkp://sa1.dal.some-company.com trusty-security InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 082BCA0181FE8E68
W: GPG error: hkp://sa1.dal.some-company.com trusty-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 082BCA0181FE8E68

How can get this to work? Nothing I've found in the documentation on how to disable key checking works.

wlan0 after reboot not working - but works fine every time if manually setup https://askubuntu.com/questions/558522/wlan0-after-reboot-not-working-but-works-fine-every-time-if-manually-setup

A lot of related posts seem to be hardware specific or due to hardware issues, which I don't appear to be having, since everything works fine so long as I setup wlan0 after boot and after logging in.

I'm a n00b to ubuntu server, so I'm hoping there's just a configuration issue at play here.

I simply want the wireless to connect after boot so I can ssh into the box and work remotely all the time.

If I setup /etc/network/interfaces with wlan0, either with static settings or dhcp, then the card appears to be setup with an IP address (according to ifconfig), but ip addr says wlan0 is DOWN, and commands to ask it to come up don't seem to do anything.

If I rem out the settings in /etc/network/interfaces, reboot, login on the actual machine, ip addr shows wlan0 to be UP, then I run sudo dhclient wlan0 then everything is fine.

An answer here: No Wi-Fi after system reboot implied there could be timing issues during boot that are at play, and that seems to fit, but I'm not sure how to troubleshoot that.

Here's /etc/network/interfaces

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

auto wlan0
iface wlan0 inet static
address 192.168.1.13
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 192.168.1.1
pre-up  /etc/init.d/wpa.sh start
post-down /etc/init.d/wpa.sh stop

I tried chili555's suggestions. The changes to /etc/network/interfaces didn't affect anything. After boot, ip addr shows wlan0 to be DOWN, and various commands listed here to try and bring it up don't work.

I couldn't capture all of the output from sudo ifup -v wlan0 even with various 2>&1 >file redirects, the parts not captured was from wpa_supplicant. It didn't indicate any errors that I could tell, here's the rest from the sudo ifup command (the sudo ifdown seemed to work fine with little output):

OK
ip addr add 192.168.1.13/255.255.255.0 broadcast 192.168.1.255    dev wlan0 label wlan0
ip link set dev wlan0   up
 ip route add default via 192.168.1.1  dev wlan0
run-parts --verbose /etc/network/if-up.d
run-parts: executing /etc/network/if-up.d/000resolvconf
run-parts: executing /etc/network/if-up.d/ethtool
run-parts: executing /etc/network/if-up.d/ntpdate
run-parts: executing /etc/network/if-up.d/openssh-server
run-parts: executing /etc/network/if-up.d/upstart
run-parts: executing /etc/network/if-up.d/wpasupplicant

But ip addr afterwards is still DOWN and I'm unable to connect. I tried sudo ip link set wlan0 up (with and without the dev bit), also sudo ifconfig wlan0 up - nothing seemed to change anything.

Running sudo dhclient ip just hangs a while then times out. There's already a static ip assigned, dunno if that would matter.

When I leave wlan0 unconfigured in /etc/network/interfaces then restart, here's what ip addr shows after boot:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: p12p1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether f0:4d:a2:4c:6a:c4 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 00:21:6a:c7:12:38 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::221:6aff:fec7:1238/64 scope link
       valid_lft forever preferred_lft forever

then running sudo dhclient wlan0 connects everything and here's the subsequent ip addr output:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: p12p1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether f0:4d:a2:4c:6a:c4 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 00:21:6a:c7:12:38 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.13/24 brd 192.168.1.255 scope global wlan0
       valid_lft forever preferred_lft forever
    inet6 fe80::221:6aff:fec7:1238/64 scope link
       valid_lft forever preferred_lft forever
x11vnc server - creating multiple zombie processes - how do I stop it? https://askubuntu.com/questions/385527/x11vnc-server-creating-multiple-zombie-processes-how-do-i-stop-it

Recently started using x11vnc server on Ubuntu (10.04) for remote access over internet from win$ PC using SSL/SSH vnc viewer.

Thought I had it config'd ok then noticed many zombie processes for x11vnc, like 20+ in sys monitor sometimes.

I'm using terminal cmd: x11vnc -rfbversion 3.6 -rfbport 5900 -rfbauth /home/xxxx/.vnc/passwd -forever -bg -gui tray to start it.

How can I stop/avoid it creating the zombies every connect/disconnect?

Multiple page scan using scanimage https://askubuntu.com/questions/383568/multiple-page-scan-using-scanimage

What command to use in the terminal to scan multiple pages? I normally use scanimage > myimage.pnm for 1 page scanning.