Assistance with Syntax errors https://askubuntu.com/questions/1560681/assistance-with-syntax-errors

I am running LM (linux mint) and am attempting to retrieve my wifes password from her keepass database. (.kbdx) She lost her password to gain access and she tried close to 50 different variations of our commonly used passwords but no joy.

I found a program called JohnTheRipper and I found a website where it has a user friendly tutorial on how to attempt to retrieve your database password. Everything seemed to be going smoothly until I reached the point in the tutorial where the author posted a script to run to combine several password lists into one list and eliminate overlap of the various lists.

Whever I start to run the script (combine_wordlists.sh) it starts out fine but then I receive an error:

"line 59: syntax error near unexpected token `then'."

I am inexperienced with scripting and the proper syntax and I'm not an expert on terminal but I know enough to get by. I am hoping that you can assist me in what to change in this script in order to get it to run properly. Here is the script:

#!/bin/bash

# Wordlist Combiner Script
# Recursively finds all .txt files, combines them, and removes duplicates
# Usage: ./combine_wordlists.sh [directory] [output_file]

set -euo pipefail

# Default values
SEARCH_DIR="${1:-.}"
OUTPUT_FILE="${2:-combined_wordlist.txt}"
TEMP_FILE=$(mktemp)
STATS_FILE=$(mktemp)

# Colors for output
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
BLUE='\033[0;34m'
NC='\033[0m' # No Color

# Function to print colored output
print_status() {
    echo -e "${BLUE}[INFO]${NC} $1"
}

print_success() {
    echo -e "${GREEN}[SUCCESS]${NC} $1"
}

print_warning() {
    echo -e "${YELLOW}[WARNING]${NC} $1"
}

print_error() {
    echo -e "${RED}[ERROR]${NC} $1"
}

# Function to cleanup temp files
cleanup() {
    rm -f "$TEMP_FILE" "$STATS_FILE"
}

# Set trap to cleanup on exit
trap cleanup EXIT

# Validate input directory
if [[ ! -d "$SEARCH_DIR" ]]; then
    print_error "Directory '$SEARCH_DIR' does not exist!"
    exit 1
fi

print_status "Starting wordlist combination process..."
print_status "Search directory: $SEARCH_DIR"
print_status "Output file: $OUTPUT_FILE"

# Find all .txt files recursively
print_status "Scanning for .txt files..."
mapfile -t txt_files < <(find "$SEARCH_DIR" -type f -name "*.txt" -readable) if [[ ${#txt_files[@]} -eq 0 ]]; then print_warning "No .txt files found in '$SEARCH_DIR'" exit 0 fi print_success "Found ${#txt_files[@]} .txt files" # Show found files echo print_status "Files to be processed:" for file in "${txt_files[@]}"; do size=$(stat -f%z "$file" 2>/dev/null || stat -c%s "$file" 2>/dev/null || echo "unknown")
    lines=$(wc -l < "$file" 2>/dev/null || echo "0")
    printf "  %-50s %10s bytes, %8s lines\n" "$file" "$size" "$lines"
done

echo
read -p "Continue with combining these files? (y/N): " -n 1 -r
echo
if [[ ! $REPLY =~ ^[Yy]$ ]]; then
    print_warning "Operation cancelled by user"
    exit 0
fi

# Combine all files
print_status "Combining files..."
total_lines_before=0
file_count=0

for file in "${txt_files[@]}"; do
    if [[ -r "$file" ]]; then
        lines=$(wc -l < "$file") total_lines_before=$((total_lines_before + lines)) file_count=$((file_count + 1)) print_status "Processing: $file ($lines lines)" cat "$file" >> "$TEMP_FILE"
    else
        print_warning "Skipping unreadable file: $file"
    fi
done

echo
print_success "Combined $file_count files with $total_lines_before total lines"

# Remove duplicates and count them
print_status "Removing duplicates..."
lines_before=$(wc -l < "$TEMP_FILE") # Sort and remove duplicates, preserving original line order for first occurrence sort "$TEMP_FILE" | uniq > "$OUTPUT_FILE"
lines_after=$(wc -l < "$OUTPUT_FILE") duplicates_removed=$((lines_before - lines_after)) # Generate statistics echo print_success "=== WORDLIST COMBINATION COMPLETE ===" echo printf "%-25s: %'d\n" "Files processed" "$file_count" printf "%-25s: %'d\n" "Total lines before" "$total_lines_before" printf "%-25s: %'d\n" "Lines after dedup" "$lines_after" printf "%-25s: %'d\n" "Duplicates removed" "$duplicates_removed" if [[ $total_lines_before -gt 0 ]]; then duplicate_percentage=$(( (duplicates_removed * 100) / total_lines_before )) printf "%-25s: %d%%\n" "Duplicate percentage" "$duplicate_percentage" fi echo printf "%-25s: %s\n" "Output file" "$OUTPUT_FILE" printf "%-25s: %s\n" "Output file size" "$(du -h "$OUTPUT_FILE" | cut -f1)" # Show sample of the output echo print_status "Sample from combined wordlist (first 10 lines):" head -10 "$OUTPUT_FILE" | sed 's/^/ /' echo print_status "Sample from combined wordlist (last 10 lines):" tail -10 "$OUTPUT_FILE" | sed 's/^/ /' # Check for empty lines empty_lines=$(grep -c '^$' "$OUTPUT_FILE" || echo "0") if [[ $empty_lines -gt 0 ]]; then echo print_warning "Found $empty_lines empty lines in the output file" read -p "Remove empty lines? (y/N): " -n 1 -r echo if [[ $REPLY =~ ^[Yy]$ ]]; then grep -v '^$' "$OUTPUT_FILE" > "$TEMP_FILE" && mv "$TEMP_FILE" "$OUTPUT_FILE"
        new_lines=$(wc -l < "$OUTPUT_FILE")
        print_success "Removed $empty_lines empty lines. New total: $new_lines lines"
    fi
fi

# Final validation
if [[ -s "$OUTPUT_FILE" ]]; then
    print_success "Combined wordlist successfully created: $OUTPUT_FILE"
else
    print_error "Output file is empty! Something went wrong."
    exit 1
fi

echo
print_status "You can now use this wordlist with John the Ripper:"
echo "  ./john --format=KeePass --wordlist=$OUTPUT_FILE --fork=\$(nproc) Test3.hash"

Thank you

How to fix terrible theme in Qt6 apps installed via snap? https://askubuntu.com/questions/1560676/how-to-fix-terrible-theme-in-qt6-apps-installed-via-snap

I created a software called QuickBib, and I also made a snap package. Here is the yml file for snap. It is a python app using pyqt6.

The snap package gets a theme that looks like Windows 95. The APT package, of course, uses the correct system theme. Even the flatpak adheres to the system theme.

How to fix the theme in the snap package of my app?

I am using Kubuntu 24.04.

Upgrade (22.04 -> 24.04) failed and left my computer in a broken state (no gui, no internet) https://askubuntu.com/questions/1560675/upgrade-22-04-24-04-failed-and-left-my-computer-in-a-broken-state-no-gui

Basic timeline:

  • I chose the "upgrade" option from the gui pop-up letting me know there was a newer version available.

  • That ran for a bit, then gave me a message that it failed (I don't remember any details of the message, I mentally categorized it as "deal with that later")

  • I noticed something was wrong with my internet, and the setting was missing from the quick menu

  • I rebooted to see if that would resolve it

  • It wouldn't boot into a gui, only into the terminal

  • I started exploring in the terminal, and quickly found that I in fact don't have internet connectivity (eg, any install attempt of any package results in "failed to fetch")

  • I booted from a 24.04 usb, which worked fine

  • I was able to mount the old partition, explore files, etc; it's all still there

  • I used the option, from the usb stick, to install 24.04 side-by-side

  • That install went fine, and I now have two (relevant) partitions, one with 22.04 and one with 24.04. 24.04 works as expected but has none of my installed software, files, etc, and 22.04 boots into the terminal and has no internet connectivity

I would like to actually repair and upgrade the 22.04 installation and go back to using that partition as primary, but I'm not sure how to go about doing so. Fixing the internet on that partition seems like my first priority.

Output of ip link show when booted on the 22.04 partition:

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: enp12s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether d4:93:90:2d:0e:56 brd ff:ff:ff:ff:ff:ff
3: wlp0s20f3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether b0:dc:ef:02:43:10 brd ff:ff:ff:ff:ff:ff

Output of ip link show when booted on the 24.04 partition:

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: enp12s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
    link/ether d4:93:90:2d:0e:56 brd ff:ff:ff:ff:ff:ff
3: wlp0s20f3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DORMANT group default qlen 1000
    link/ether b0:dc:ef:02:43:10 brd ff:ff:ff:ff:ff:ff

I'm way out of practice on network config via cli and haven't had much luck googling to try to figure out how to get the internet up and running, but I imagine that if I can get online, so that I can manually upgrade/install packages using apt, I probably could manage to get the system repaired from there.

Edit to add additional outputs:

sudo lshw -C network:

  *-network DISABLED
       description: Wireless interface
       product: Intel Corporation
       vendor: Intel Corporation
       physical id: 14.3
       bus info: pci@0000:00:14.3
       logical name: wlp0s20f3
       version: 01
       serial: b0:dc:ef:02:43:10
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=6.16.3-76061603-generic firmware=89.4d42c933.0 so-a0-gf-a0-89.uc latency=0 link=no multicast=yes wireless=IEEE 802.11
       resources: irq:17 memory:be390000-be393fff
  *-network DISABLED
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:0c:00.0
       logical name: enp12s0
       version: 15
       serial: d4:93:90:2d:0e:56
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical
       configuration: broadcast=yes driver=r8169 driverversion=6.16.3-76061603-generic latency=0 link=no multicast=yes
       resources: irq:17 ioport:d000(size=256) memory:be504000-be504fff memory:be500000-be503fff

sudo lspci -vnn | awk -vRS= '/\[02[08]0\]/':

00:14.3 Network controller [0280]: Intel Corporation Device [8086:51f1] (rev 01)
    Subsystem: Intel Corporation Device [8086:0094]
    Flags: bus master, fast devsel, latency 0, IRQ 17, IOMMU group 7
    Memory at be390000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: [c8] Power Management version 3
    Capabilities: [d0] MSI: Enable- Count=1/1 Maskable- 64bit+
    Capabilities: [40] Express Root Complex Integrated Endpoint, MSI 00
    Capabilities: [80] MSI-X: Enable+ Count=16 Masked-
    Capabilities: [100] Latency Tolerance Reporting
    Capabilities: [164] Vendor Specific Information: ID=0010 Rev=0 Len=014 <?>
    Kernel driver in use: iwlwifi
    Kernel modules: iwlwifi
0c:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
    Subsystem: CLEVO/KAPOK Computer RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1558:7755]
    Flags: bus master, fast devsel, latency 0, IRQ 17, IOMMU group 14
    I/O ports at d000 [size=256]
    Memory at be504000 (64-bit, non-prefetchable) [size=4K]
    Memory at be500000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: [40] Power Management version 3
    Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
    Capabilities: [70] Express Endpoint, MSI 01
    Capabilities: [b0] MSI-X: Enable+ Count=4 Masked-
    Capabilities: [100] Advanced Error Reporting
    Capabilities: [140] Virtual Channel
    Capabilities: [160] Device Serial Number 01-00-00-00-68-4c-e0-00
    Capabilities: [170] Latency Tolerance Reporting
    Capabilities: [178] L1 PM Substates
    Kernel driver in use: r8169
    Kernel modules: r8169

ip link show after sudo ip link set wlp0s20f3 up (verified with ping that this did not bring internet back):

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: enp12s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether d4:93:90:2d:0e:56 brd ff:ff:ff:ff:ff:ff
3: wlp0s20f3: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default qlen 1000
    link/ether b0:dc:ef:02:43:10 brd ff:ff:ff:ff:ff:ff
Why does OpenVPN on my Xubuntu notebook close the tunnel right after establishing it? https://askubuntu.com/questions/1560674/why-does-openvpn-on-my-xubuntu-notebook-close-the-tunnel-right-after-establishin

I installed OpenVPN client

OpenVPN 2.6.14 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] [DCO]
library versions: OpenSSL 3.0.13 30 Jan 2024, LZO 2.10
DCO version: N/A

from the Ubuntu repositories on my Xubuntu notebook:

Linux Yoga 6.14.0-36-generic #36~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Oct 15 15:45:17 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Unfortunately I can't get it working correctly. Whenever I try to connect to a server, the tunnel is closed immediately after it was established. In order to rule out any server problems, I tried to connect to a public server (https://www.vpnbook.com/). I set the verbose level of the client to 5 (maximum) and got the following log:

2025-12-04 11:56:27 us=538873 Note: --cipher is not set. OpenVPN versions before 2.5 defaulted to BF-CBC as fallback when cipher negotiation failed in this case. If you need this fallback please add '--data-ciphers-fallback BF-CBC' to your configuration and/or add BF-CBC to --data-ciphers.
2025-12-04 11:56:27 us=538927 Note: '--allow-compression' is not set to 'no', disabling data channel offload.
2025-12-04 11:56:27 us=538951 Current Parameter Settings:
2025-12-04 11:56:27 us=538958   config = '/home/dieter/Daten/Muell/vpnbook-openvpn-de220/vpnbook-de220-tcp443.ovpn'
2025-12-04 11:56:27 us=538964   mode = 0
2025-12-04 11:56:27 us=538970   persist_config = DISABLED
2025-12-04 11:56:27 us=538976   persist_mode = 1
2025-12-04 11:56:27 us=538982   show_ciphers = DISABLED
2025-12-04 11:56:27 us=538987   show_digests = DISABLED
2025-12-04 11:56:27 us=538993   show_engines = DISABLED
2025-12-04 11:56:27 us=538999   genkey = DISABLED
2025-12-04 11:56:27 us=539004   genkey_filename = '[UNDEF]'
2025-12-04 11:56:27 us=539010   key_pass_file = '[UNDEF]'
2025-12-04 11:56:27 us=539015   show_tls_ciphers = DISABLED
2025-12-04 11:56:27 us=539021   connect_retry_max = 0
2025-12-04 11:56:27 us=539027 Connection profiles [0]:
2025-12-04 11:56:27 us=539033   proto = tcp-client
2025-12-04 11:56:27 us=539039   local = '[UNDEF]'
2025-12-04 11:56:27 us=539045   local_port = '[UNDEF]'
2025-12-04 11:56:27 us=539051   remote = '51.75.145.220'
2025-12-04 11:56:27 us=539057   remote_port = '443'
2025-12-04 11:56:27 us=539062   remote_float = DISABLED
2025-12-04 11:56:27 us=539068   bind_defined = DISABLED
2025-12-04 11:56:27 us=539073   bind_local = DISABLED
2025-12-04 11:56:27 us=539079   bind_ipv6_only = DISABLED
2025-12-04 11:56:27 us=539085   connect_retry_seconds = 1
2025-12-04 11:56:27 us=539090   connect_timeout = 120
2025-12-04 11:56:27 us=539096   socks_proxy_server = '[UNDEF]'
2025-12-04 11:56:27 us=539102   socks_proxy_port = '[UNDEF]'
2025-12-04 11:56:27 us=539108   tun_mtu = 1500
2025-12-04 11:56:27 us=539113   tun_mtu_defined = ENABLED
2025-12-04 11:56:27 us=539119   link_mtu = 1500
2025-12-04 11:56:27 us=539124   link_mtu_defined = DISABLED
2025-12-04 11:56:27 us=539130   tun_mtu_extra = 0
2025-12-04 11:56:27 us=539136   tun_mtu_extra_defined = DISABLED
2025-12-04 11:56:27 us=539141   tls_mtu = 1250
2025-12-04 11:56:27 us=539147   mtu_discover_type = -1
2025-12-04 11:56:27 us=539153   fragment = 0
2025-12-04 11:56:27 us=539159   mssfix = 1492
2025-12-04 11:56:27 us=539164   mssfix_encap = ENABLED
2025-12-04 11:56:27 us=539170   mssfix_fixed = DISABLED
2025-12-04 11:56:27 us=539176   explicit_exit_notification = 0
2025-12-04 11:56:27 us=539181   tls_auth_file = '[UNDEF]'
2025-12-04 11:56:27 us=539187   key_direction = not set
2025-12-04 11:56:27 us=539193   tls_crypt_file = '[UNDEF]'
2025-12-04 11:56:27 us=539198   tls_crypt_v2_file = '[UNDEF]'
2025-12-04 11:56:27 us=539204 Connection profiles END
2025-12-04 11:56:27 us=539210   remote_random = DISABLED
2025-12-04 11:56:27 us=539215   ipchange = '[UNDEF]'
2025-12-04 11:56:27 us=539221   dev = 'tun1'
2025-12-04 11:56:27 us=539227   dev_type = '[UNDEF]'
2025-12-04 11:56:27 us=539232   dev_node = '[UNDEF]'
2025-12-04 11:56:27 us=539238   tuntap_options.disable_dco = ENABLED
2025-12-04 11:56:27 us=539243   lladdr = '[UNDEF]'
2025-12-04 11:56:27 us=539249   topology = 1
2025-12-04 11:56:27 us=539255   ifconfig_local = '[UNDEF]'
2025-12-04 11:56:27 us=539260   ifconfig_remote_netmask = '[UNDEF]'
2025-12-04 11:56:27 us=539266   ifconfig_noexec = DISABLED
2025-12-04 11:56:27 us=539272   ifconfig_nowarn = DISABLED
2025-12-04 11:56:27 us=539277   ifconfig_ipv6_local = '[UNDEF]'
2025-12-04 11:56:27 us=539283   ifconfig_ipv6_netbits = 0
2025-12-04 11:56:27 us=539288   ifconfig_ipv6_remote = '[UNDEF]'
2025-12-04 11:56:27 us=539294   shaper = 0
2025-12-04 11:56:27 us=539300   mtu_test = 0
2025-12-04 11:56:27 us=539305   mlock = DISABLED
2025-12-04 11:56:27 us=539311   keepalive_ping = 0
2025-12-04 11:56:27 us=539317   keepalive_timeout = 0
2025-12-04 11:56:27 us=539323   inactivity_timeout = 0
2025-12-04 11:56:27 us=539328   session_timeout = 0
2025-12-04 11:56:27 us=539340   inactivity_minimum_bytes = 0
2025-12-04 11:56:27 us=539346   ping_send_timeout = 0
2025-12-04 11:56:27 us=539352   ping_rec_timeout = 0
2025-12-04 11:56:27 us=539357   ping_rec_timeout_action = 0
2025-12-04 11:56:27 us=539363   ping_timer_remote = DISABLED
2025-12-04 11:56:27 us=539369   remap_sigusr1 = 0
2025-12-04 11:56:27 us=539374   persist_tun = ENABLED
2025-12-04 11:56:27 us=539380   persist_local_ip = DISABLED
2025-12-04 11:56:27 us=539385   persist_remote_ip = DISABLED
2025-12-04 11:56:27 us=539391   persist_key = ENABLED
2025-12-04 11:56:27 us=539396   passtos = DISABLED
2025-12-04 11:56:27 us=539402   resolve_retry_seconds = 20
2025-12-04 11:56:27 us=539408   resolve_in_advance = DISABLED
2025-12-04 11:56:27 us=539413   username = '[UNDEF]'
2025-12-04 11:56:27 us=539419   groupname = '[UNDEF]'
2025-12-04 11:56:27 us=539425   chroot_dir = '[UNDEF]'
2025-12-04 11:56:27 us=539430   cd_dir = '[UNDEF]'
2025-12-04 11:56:27 us=539436   writepid = '[UNDEF]'
2025-12-04 11:56:27 us=539441   up_script = '[UNDEF]'
2025-12-04 11:56:27 us=539447   down_script = '[UNDEF]'
2025-12-04 11:56:27 us=539452   down_pre = DISABLED
2025-12-04 11:56:27 us=539458   up_restart = DISABLED
2025-12-04 11:56:27 us=539463   up_delay = DISABLED
2025-12-04 11:56:27 us=539469   daemon = DISABLED
2025-12-04 11:56:27 us=539475   log = ENABLED
2025-12-04 11:56:27 us=539480   suppress_timestamps = DISABLED
2025-12-04 11:56:27 us=539494   machine_readable_output = DISABLED
2025-12-04 11:56:27 us=539501   nice = 0
2025-12-04 11:56:27 us=539506   verbosity = 5
2025-12-04 11:56:27 us=539512   mute = 0
2025-12-04 11:56:27 us=539518   gremlin = 0
2025-12-04 11:56:27 us=539523   status_file = '[UNDEF]'
2025-12-04 11:56:27 us=539529   status_file_version = 1
2025-12-04 11:56:27 us=539535   status_file_update_freq = 60
2025-12-04 11:56:27 us=539540   occ = ENABLED
2025-12-04 11:56:27 us=539546   rcvbuf = 0
2025-12-04 11:56:27 us=539552   sndbuf = 0
2025-12-04 11:56:27 us=539558   mark = 0
2025-12-04 11:56:27 us=539564   sockflags = 0
2025-12-04 11:56:27 us=539569   fast_io = ENABLED
2025-12-04 11:56:27 us=539575   comp.alg = 2
2025-12-04 11:56:27 us=539581   comp.flags = 1
2025-12-04 11:56:27 us=539593   route_script = '[UNDEF]'
2025-12-04 11:56:27 us=539599   route_default_gateway = '[UNDEF]'
2025-12-04 11:56:27 us=539605   route_default_metric = 0
2025-12-04 11:56:27 us=539611   route_noexec = DISABLED
2025-12-04 11:56:27 us=539617   route_delay = 2
2025-12-04 11:56:27 us=539622   route_delay_window = 30
2025-12-04 11:56:27 us=539628   route_delay_defined = ENABLED
2025-12-04 11:56:27 us=539634   route_nopull = DISABLED
2025-12-04 11:56:27 us=539642   route_gateway_via_dhcp = DISABLED
2025-12-04 11:56:27 us=539649   allow_pull_fqdn = DISABLED
2025-12-04 11:56:27 us=539655   [redirect_default_gateway local=0]
2025-12-04 11:56:27 us=539661   management_addr = '[UNDEF]'
2025-12-04 11:56:27 us=539667   management_port = '[UNDEF]'
2025-12-04 11:56:27 us=539673   management_user_pass = '[UNDEF]'
2025-12-04 11:56:27 us=539678   management_log_history_cache = 250
2025-12-04 11:56:27 us=539684   management_echo_buffer_size = 100
2025-12-04 11:56:27 us=539690   management_client_user = '[UNDEF]'
2025-12-04 11:56:27 us=539696   management_client_group = '[UNDEF]'
2025-12-04 11:56:27 us=539702   management_flags = 0
2025-12-04 11:56:27 us=539707   shared_secret_file = '[UNDEF]'
2025-12-04 11:56:27 us=539713   key_direction = not set
2025-12-04 11:56:27 us=539719   ciphername = 'BF-CBC'
2025-12-04 11:56:27 us=539725   ncp_ciphers = 'AES-256-GCM:AES-128-GCM:CHACHA20-POLY1305'
2025-12-04 11:56:27 us=539731   authname = 'SHA1'
2025-12-04 11:56:27 us=539737   engine = DISABLED
2025-12-04 11:56:27 us=539743   replay = ENABLED
2025-12-04 11:56:27 us=539749   mute_replay_warnings = DISABLED
2025-12-04 11:56:27 us=539754   replay_window = 64
2025-12-04 11:56:27 us=539760   replay_time = 15
2025-12-04 11:56:27 us=539766   packet_id_file = '[UNDEF]'
2025-12-04 11:56:27 us=539772   test_crypto = DISABLED
2025-12-04 11:56:27 us=539781   tls_server = DISABLED
2025-12-04 11:56:27 us=539787   tls_client = ENABLED
2025-12-04 11:56:27 us=539793   ca_file = '[INLINE]'
2025-12-04 11:56:27 us=539799   ca_path = '[UNDEF]'
2025-12-04 11:56:27 us=539804   dh_file = '[UNDEF]'
2025-12-04 11:56:27 us=539810   cert_file = '[INLINE]'
2025-12-04 11:56:27 us=539816   extra_certs_file = '[UNDEF]'
2025-12-04 11:56:27 us=539822   priv_key_file = '[INLINE]'
2025-12-04 11:56:27 us=539828   pkcs12_file = '[UNDEF]'
2025-12-04 11:56:27 us=539833   cipher_list = '[UNDEF]'
2025-12-04 11:56:27 us=539839   cipher_list_tls13 = '[UNDEF]'
2025-12-04 11:56:27 us=539845   tls_cert_profile = '[UNDEF]'
2025-12-04 11:56:27 us=539850   tls_verify = '[UNDEF]'
2025-12-04 11:56:27 us=539856   tls_export_peer_cert_dir = '[UNDEF]'
2025-12-04 11:56:27 us=539862   verify_x509_type = 0
2025-12-04 11:56:27 us=539868   verify_x509_name = '[UNDEF]'
2025-12-04 11:56:27 us=539874   crl_file = '[UNDEF]'
2025-12-04 11:56:27 us=539879   ns_cert_type = 0
2025-12-04 11:56:27 us=539885   remote_cert_ku[i] = 0
2025-12-04 11:56:27 us=539891   remote_cert_ku[i] = 0
2025-12-04 11:56:27 us=539897   remote_cert_ku[i] = 0
2025-12-04 11:56:27 us=539902   remote_cert_ku[i] = 0
2025-12-04 11:56:27 us=539908   remote_cert_ku[i] = 0
2025-12-04 11:56:27 us=539914   remote_cert_ku[i] = 0
2025-12-04 11:56:27 us=539919   remote_cert_ku[i] = 0
2025-12-04 11:56:27 us=539925   remote_cert_ku[i] = 0
2025-12-04 11:56:27 us=539931   remote_cert_ku[i] = 0
2025-12-04 11:56:27 us=539937   remote_cert_ku[i] = 0
2025-12-04 11:56:27 us=539942   remote_cert_ku[i] = 0
2025-12-04 11:56:27 us=539948   remote_cert_ku[i] = 0
2025-12-04 11:56:27 us=539954   remote_cert_ku[i] = 0
2025-12-04 11:56:27 us=539959   remote_cert_ku[i] = 0
2025-12-04 11:56:27 us=539965   remote_cert_ku[i] = 0
2025-12-04 11:56:27 us=539971   remote_cert_ku[i] = 0
2025-12-04 11:56:27 us=539976   remote_cert_eku = '[UNDEF]'
2025-12-04 11:56:27 us=539982   ssl_flags = 192
2025-12-04 11:56:27 us=539988   tls_timeout = 2
2025-12-04 11:56:27 us=539994   renegotiate_bytes = -1
2025-12-04 11:56:27 us=539999   renegotiate_packets = 0
2025-12-04 11:56:27 us=540005   renegotiate_seconds = 3600
2025-12-04 11:56:27 us=540011   handshake_window = 60
2025-12-04 11:56:27 us=540016   transition_window = 3600
2025-12-04 11:56:27 us=540022   single_session = DISABLED
2025-12-04 11:56:27 us=540028   push_peer_info = DISABLED
2025-12-04 11:56:27 us=540034   tls_exit = DISABLED
2025-12-04 11:56:27 us=540040   tls_crypt_v2_metadata = '[UNDEF]'
2025-12-04 11:56:27 us=540046   pkcs11_protected_authentication = DISABLED
2025-12-04 11:56:27 us=540052   pkcs11_protected_authentication = DISABLED
2025-12-04 11:56:27 us=540057   pkcs11_protected_authentication = DISABLED
2025-12-04 11:56:27 us=540063   pkcs11_protected_authentication = DISABLED
2025-12-04 11:56:27 us=540069   pkcs11_protected_authentication = DISABLED
2025-12-04 11:56:27 us=540075   pkcs11_protected_authentication = DISABLED
2025-12-04 11:56:27 us=540080   pkcs11_protected_authentication = DISABLED
2025-12-04 11:56:27 us=540086   pkcs11_protected_authentication = DISABLED
2025-12-04 11:56:27 us=540092   pkcs11_protected_authentication = DISABLED
2025-12-04 11:56:27 us=540098   pkcs11_protected_authentication = DISABLED
2025-12-04 11:56:27 us=540103   pkcs11_protected_authentication = DISABLED
2025-12-04 11:56:27 us=540109   pkcs11_protected_authentication = DISABLED
2025-12-04 11:56:27 us=540115   pkcs11_protected_authentication = DISABLED
2025-12-04 11:56:27 us=540120   pkcs11_protected_authentication = DISABLED
2025-12-04 11:56:27 us=540126   pkcs11_protected_authentication = DISABLED
2025-12-04 11:56:27 us=540132   pkcs11_protected_authentication = DISABLED
2025-12-04 11:56:27 us=540138   pkcs11_private_mode = 00000000
2025-12-04 11:56:27 us=540144   pkcs11_private_mode = 00000000
2025-12-04 11:56:27 us=540150   pkcs11_private_mode = 00000000
2025-12-04 11:56:27 us=540156   pkcs11_private_mode = 00000000
2025-12-04 11:56:27 us=540161   pkcs11_private_mode = 00000000
2025-12-04 11:56:27 us=540167   pkcs11_private_mode = 00000000
2025-12-04 11:56:27 us=540176   pkcs11_private_mode = 00000000
2025-12-04 11:56:27 us=540182   pkcs11_private_mode = 00000000
2025-12-04 11:56:27 us=540187   pkcs11_private_mode = 00000000
2025-12-04 11:56:27 us=540193   pkcs11_private_mode = 00000000
2025-12-04 11:56:27 us=540199   pkcs11_private_mode = 00000000
2025-12-04 11:56:27 us=540204   pkcs11_private_mode = 00000000
2025-12-04 11:56:27 us=540210   pkcs11_private_mode = 00000000
2025-12-04 11:56:27 us=540216   pkcs11_private_mode = 00000000
2025-12-04 11:56:27 us=540222   pkcs11_private_mode = 00000000
2025-12-04 11:56:27 us=540227   pkcs11_private_mode = 00000000
2025-12-04 11:56:27 us=540233   pkcs11_cert_private = DISABLED
2025-12-04 11:56:27 us=540239   pkcs11_cert_private = DISABLED
2025-12-04 11:56:27 us=540244   pkcs11_cert_private = DISABLED
2025-12-04 11:56:27 us=540250   pkcs11_cert_private = DISABLED
2025-12-04 11:56:27 us=540256   pkcs11_cert_private = DISABLED
2025-12-04 11:56:27 us=540261   pkcs11_cert_private = DISABLED
2025-12-04 11:56:27 us=540267   pkcs11_cert_private = DISABLED
2025-12-04 11:56:27 us=540272   pkcs11_cert_private = DISABLED
2025-12-04 11:56:27 us=540278   pkcs11_cert_private = DISABLED
2025-12-04 11:56:27 us=540284   pkcs11_cert_private = DISABLED
2025-12-04 11:56:27 us=540289   pkcs11_cert_private = DISABLED
2025-12-04 11:56:27 us=540295   pkcs11_cert_private = DISABLED
2025-12-04 11:56:27 us=540300   pkcs11_cert_private = DISABLED
2025-12-04 11:56:27 us=540306   pkcs11_cert_private = DISABLED
2025-12-04 11:56:27 us=540312   pkcs11_cert_private = DISABLED
2025-12-04 11:56:27 us=540318   pkcs11_cert_private = DISABLED
2025-12-04 11:56:27 us=540323   pkcs11_pin_cache_period = -1
2025-12-04 11:56:27 us=540329   pkcs11_id = '[UNDEF]'
2025-12-04 11:56:27 us=540335   pkcs11_id_management = DISABLED
2025-12-04 11:56:27 us=540342   server_network = 0.0.0.0
2025-12-04 11:56:27 us=540349   server_netmask = 0.0.0.0
2025-12-04 11:56:27 us=540360   server_network_ipv6 = ::
2025-12-04 11:56:27 us=540367   server_netbits_ipv6 = 0
2025-12-04 11:56:27 us=540373   server_bridge_ip = 0.0.0.0
2025-12-04 11:56:27 us=540379   server_bridge_netmask = 0.0.0.0
2025-12-04 11:56:27 us=540399   server_bridge_pool_start = 0.0.0.0
2025-12-04 11:56:27 us=540405   server_bridge_pool_end = 0.0.0.0
2025-12-04 11:56:27 us=540410   ifconfig_pool_defined = DISABLED
2025-12-04 11:56:27 us=540416   ifconfig_pool_start = 0.0.0.0
2025-12-04 11:56:27 us=540422   ifconfig_pool_end = 0.0.0.0
2025-12-04 11:56:27 us=540428   ifconfig_pool_netmask = 0.0.0.0
2025-12-04 11:56:27 us=540434   ifconfig_pool_persist_filename = '[UNDEF]'
2025-12-04 11:56:27 us=540440   ifconfig_pool_persist_refresh_freq = 600
2025-12-04 11:56:27 us=540445   ifconfig_ipv6_pool_defined = DISABLED
2025-12-04 11:56:27 us=540451   ifconfig_ipv6_pool_base = ::
2025-12-04 11:56:27 us=540457   ifconfig_ipv6_pool_netbits = 0
2025-12-04 11:56:27 us=540463   n_bcast_buf = 256
2025-12-04 11:56:27 us=540468   tcp_queue_limit = 64
2025-12-04 11:56:27 us=540474   real_hash_size = 256
2025-12-04 11:56:27 us=540479   virtual_hash_size = 256
2025-12-04 11:56:27 us=540485   client_connect_script = '[UNDEF]'
2025-12-04 11:56:27 us=540491   learn_address_script = '[UNDEF]'
2025-12-04 11:56:27 us=540496   client_disconnect_script = '[UNDEF]'
2025-12-04 11:56:27 us=540502   client_crresponse_script = '[UNDEF]'
2025-12-04 11:56:27 us=540507   client_config_dir = '[UNDEF]'
2025-12-04 11:56:27 us=540513   ccd_exclusive = DISABLED
2025-12-04 11:56:27 us=540518   tmp_dir = '/tmp'
2025-12-04 11:56:27 us=540524   push_ifconfig_defined = DISABLED
2025-12-04 11:56:27 us=540530   push_ifconfig_local = 0.0.0.0
2025-12-04 11:56:27 us=540536   push_ifconfig_remote_netmask = 0.0.0.0
2025-12-04 11:56:27 us=540542   push_ifconfig_ipv6_defined = DISABLED
2025-12-04 11:56:27 us=540548   push_ifconfig_ipv6_local = ::/0
2025-12-04 11:56:27 us=540553   push_ifconfig_ipv6_remote = ::
2025-12-04 11:56:27 us=540559   enable_c2c = DISABLED
2025-12-04 11:56:27 us=540565   duplicate_cn = DISABLED
2025-12-04 11:56:27 us=540570   cf_max = 0
2025-12-04 11:56:27 us=540579   cf_per = 0
2025-12-04 11:56:27 us=540618   cf_initial_max = 100
2025-12-04 11:56:27 us=540627   cf_initial_per = 10
2025-12-04 11:56:27 us=540632   max_clients = 1024
2025-12-04 11:56:27 us=540638   max_routes_per_client = 256
2025-12-04 11:56:27 us=540644   auth_user_pass_verify_script = '[UNDEF]'
2025-12-04 11:56:27 us=540649   auth_user_pass_verify_script_via_file = DISABLED
2025-12-04 11:56:27 us=540655   auth_token_generate = DISABLED
2025-12-04 11:56:27 us=540660   force_key_material_export = DISABLED
2025-12-04 11:56:27 us=540666   auth_token_lifetime = 0
2025-12-04 11:56:27 us=540671   auth_token_secret_file = '[UNDEF]'
2025-12-04 11:56:27 us=540677   port_share_host = '[UNDEF]'
2025-12-04 11:56:27 us=540682   port_share_port = '[UNDEF]'
2025-12-04 11:56:27 us=540688   vlan_tagging = DISABLED
2025-12-04 11:56:27 us=540693   vlan_accept = all
2025-12-04 11:56:27 us=540699   vlan_pvid = 1
2025-12-04 11:56:27 us=540705   client = ENABLED
2025-12-04 11:56:27 us=540710   pull = ENABLED
2025-12-04 11:56:27 us=540716   auth_user_pass_file = 'stdin'
2025-12-04 11:56:27 us=540722 OpenVPN 2.6.14 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] [DCO]
2025-12-04 11:56:27 us=540735 library versions: OpenSSL 3.0.13 30 Jan 2024, LZO 2.10
2025-12-04 11:56:27 us=540750 DCO version: N/A
2025-12-04 11:56:37 us=243426 WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
2025-12-04 11:56:37 us=243540 NOTE: --fast-io is disabled since we are not using UDP
2025-12-04 11:56:37 us=249443 LZO compression initializing
2025-12-04 11:56:37 us=249602 Control Channel MTU parms [ mss_fix:0 max_frag:0 tun_mtu:1250 tun_max_mtu:0 headroom:126 payload:1600 tailroom:126 ET:0 ]
2025-12-04 11:56:37 us=249639 Data Channel MTU parms [ mss_fix:0 max_frag:0 tun_mtu:1500 tun_max_mtu:1600 headroom:136 payload:1768 tailroom:562 ET:0 ]
2025-12-04 11:56:37 us=249731 TCP/UDP: Preserving recently used remote address: [AF_INET]51.75.145.220:443
2025-12-04 11:56:37 us=249764 Socket Buffers: R=[131072->131072] S=[16384->16384]
2025-12-04 11:56:37 us=249772 Attempting to establish TCP connection with [AF_INET]51.75.145.220:443
2025-12-04 11:56:37 us=306626 TCP connection established with [AF_INET]51.75.145.220:443
2025-12-04 11:56:37 us=306720 TCPv4_CLIENT link local: (not bound)
2025-12-04 11:56:37 us=306746 TCPv4_CLIENT link remote: [AF_INET]51.75.145.220:443
WR2025-12-04 11:56:37 us=362306 TLS: Initial packet from [AF_INET]51.75.145.220:443, sid=0da90984 40209225
2025-12-04 11:56:37 us=362461 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
WRRWR2025-12-04 11:56:37 us=477550 VERIFY OK: depth=1, CN=vpnbook.com
2025-12-04 11:56:37 us=478071 VERIFY OK: depth=0, CN=server.vpnbook.com
WRWR2025-12-04 11:56:37 us=656734 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, peer certificate: 2048 bits RSA, signature: RSA-SHA256, peer temporary key: 253 bits X25519
2025-12-04 11:56:37 us=656825 [server.vpnbook.com] Peer Connection Initiated with [AF_INET]51.75.145.220:443
2025-12-04 11:56:37 us=656867 TLS: move_session: dest=TM_ACTIVE src=TM_INITIAL reinit_src=1
2025-12-04 11:56:37 us=656992 TLS: tls_multi_process: initial untrusted session promoted to trusted
WR2025-12-04 11:56:37 us=754650 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,dhcp-option DNS  213.186.33.99,dhcp-option DNS  91.239.100.100,route 10.9.0.1,topology net30,ping 5,ping-restart 30,ifconfig 10.9.0.58 10.9.0.57,peer-id 0,cipher AES-256-GCM'
2025-12-04 11:56:37 us=754768 WARNING: You have specified redirect-gateway and redirect-private at the same time (or the same option multiple times). This is not well supported and may lead to unexpected results
2025-12-04 11:56:37 us=754961 OPTIONS IMPORT: --ifconfig/up options modified
2025-12-04 11:56:37 us=754992 OPTIONS IMPORT: route options modified
2025-12-04 11:56:37 us=755010 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
2025-12-04 11:56:37 us=755086 net_route_v4_best_gw query: dst 0.0.0.0
2025-12-04 11:56:37 us=755323 net_route_v4_best_gw result: via 192.168.1.1 dev wlp2s0
2025-12-04 11:56:37 us=755432 ROUTE_GATEWAY 192.168.1.1/255.255.255.0 IFACE=wlp2s0 HWADDR=18:1d:ea:34:0d:a0
2025-12-04 11:56:37 us=756175 TUN/TAP device tun1 opened
2025-12-04 11:56:37 us=756253 do_ifconfig, ipv4=1, ipv6=0
2025-12-04 11:56:37 us=756339 net_iface_mtu_set: mtu 1500 for tun1
2025-12-04 11:56:37 us=756506 net_iface_up: set tun1 up
2025-12-04 11:56:37 us=757025 net_addr_ptp_v4_add: 10.9.0.58 peer 10.9.0.57 dev tun1
2025-12-04 11:56:37 us=757511 Data Channel MTU parms [ mss_fix:1385 max_frag:0 tun_mtu:1500 tun_max_mtu:1600 headroom:136 payload:1768 tailroom:562 ET:0 ]
2025-12-04 11:56:37 us=758536 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
2025-12-04 11:56:37 us=758668 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
2025-12-04 11:56:37 us=758751 Data Channel: cipher 'AES-256-GCM', peer-id: 0, compression: 'lzo'
2025-12-04 11:56:37 us=758787 Timers: ping 5, ping-restart 30
WrW2025-12-04 11:56:39 us=761227 net_route_v4_add: 51.75.145.220/32 via 192.168.1.1 dev [NULL] table 0 metric -1
2025-12-04 11:56:39 us=761536 net_route_v4_add: 0.0.0.0/1 via 10.9.0.57 dev [NULL] table 0 metric -1
2025-12-04 11:56:39 us=761722 sitnl_send: rtnl: generic error (-101): Network is unreachable
2025-12-04 11:56:39 us=761787 ERROR: Linux route add command failed
2025-12-04 11:56:39 us=761818 net_route_v4_add: 128.0.0.0/1 via 10.9.0.57 dev [NULL] table 0 metric -1
2025-12-04 11:56:39 us=761918 sitnl_send: rtnl: generic error (-101): Network is unreachable
2025-12-04 11:56:39 us=761960 ERROR: Linux route add command failed
2025-12-04 11:56:39 us=761989 net_route_v4_add: 10.9.0.1/32 via 10.9.0.57 dev [NULL] table 0 metric -1
2025-12-04 11:56:39 us=762077 sitnl_send: rtnl: generic error (-101): Network is unreachable
2025-12-04 11:56:39 us=762111 ERROR: Linux route add command failed
2025-12-04 11:56:39 us=762153 Initialization Sequence Completed
WRWR2025-12-04 11:56:50 us=318659 event_wait : Interrupted system call (fd=-1,code=4)
2025-12-04 11:56:50 us=319038 TCP/UDP: Closing socket
2025-12-04 11:56:50 us=319218 net_route_v4_del: 51.75.145.220/32 via 192.168.1.1 dev [NULL] table 0 metric -1
2025-12-04 11:56:50 us=319404 net_route_v4_del: 0.0.0.0/1 via 10.9.0.57 dev [NULL] table 0 metric -1
2025-12-04 11:56:50 us=319489 sitnl_send: rtnl: generic error (-3): No such process
2025-12-04 11:56:50 us=319523 ERROR: Linux route delete command failed
2025-12-04 11:56:50 us=319545 net_route_v4_del: 128.0.0.0/1 via 10.9.0.57 dev [NULL] table 0 metric -1
2025-12-04 11:56:50 us=319658 sitnl_send: rtnl: generic error (-3): No such process
2025-12-04 11:56:50 us=319707 ERROR: Linux route delete command failed
2025-12-04 11:56:50 us=319730 Closing TUN/TAP interface
2025-12-04 11:56:50 us=319750 net_addr_ptp_v4_del: 10.9.0.58 dev tun1
2025-12-04 11:56:50 us=319856 sitnl_send: rtnl: generic error (-99): Cannot assign requested address
2025-12-04 11:56:50 us=319889 Linux can't del IP from iface tun1
2025-12-04 11:56:50 us=329670 SIGINT[hard,] received, process exiting

The reason, why 'Linux route add command failed' is that the tunnel is already deleted. I got this information from /var/sys/syslog. In order ot get as much information as possible I set the log level for the NetworkManager to TRACE:

2025-12-04T11:56:37.835655+01:00 Yoga nm-dispatcher: req:2 'up' [tun1]: environment: CONNECTION_FILENAME=/run/NetworkManager/system-connections/tun1.nmconnection
2025-12-04T11:56:37.835698+01:00 Yoga NetworkManager[2163]: <debug> [1764845797.8342] device[b85795c8545325df] (tun1): remove_pending_action (0): 'queued-state-change-activated'
2025-12-04T11:56:37.835743+01:00 Yoga nm-dispatcher: req:2 'up' [tun1]: environment: CONNECTION_UUID=ff0d7388-cf79-4511-9dcb-b7711d47ad40
2025-12-04T11:56:37.835777+01:00 Yoga nm-dispatcher: req:2 'up' [tun1]: environment: CONNECTION_ID=tun1
2025-12-04T11:56:37.835813+01:00 Yoga nm-dispatcher: req:2 'up' [tun1]: environment: DEVICE_IFACE=tun1
2025-12-04T11:56:37.835850+01:00 Yoga nm-dispatcher: req:2 'up' [tun1]: environment: DEVICE_IP_IFACE=tun1
2025-12-04T11:56:37.835891+01:00 Yoga nm-dispatcher: req:2 'up' [tun1]: environment: IP4_NUM_ROUTES=0
2025-12-04T11:56:37.835928+01:00 Yoga nm-dispatcher: req:2 'up' [tun1]: environment: PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/snap/bin
2025-12-04T11:56:37.835964+01:00 Yoga nm-dispatcher: req:2 'up' [tun1]: environment: NM_DISPATCHER_ACTION=up
2025-12-04T11:56:37.836006+01:00 Yoga nm-dispatcher: req:2 'up' [tun1]: completed: no scripts
2025-12-04T11:56:37.865011+01:00 Yoga NetworkManager[2163]: <trace> [1764845797.8649] settings: [timestamps-keyfile]: write keyfile: "/var/lib/NetworkManager/timestamps"
2025-12-04T11:56:37.865085+01:00 Yoga NetworkManager[2163]: <debug> [1764845797.8649] dispatcher: (14) succeeded (after 0.031 sec, 0 scripts invoked)
2025-12-04T11:56:37.904770+01:00 Yoga sh[6248]: Configuring interface:
2025-12-04T11:56:37.904956+01:00 Yoga sh[6404]: Warning: Executing wildcard deletion to stay compatible with old scripts.
2025-12-04T11:56:37.905003+01:00 Yoga sh[6404]:          Explicitly specify the prefix length (10.9.0.58/32) to avoid this warning.
2025-12-04T11:56:37.905035+01:00 Yoga sh[6404]:          This special behaviour is likely to disappear in further releases,
2025-12-04T11:56:37.905064+01:00 Yoga sh[6404]:          fix your scripts!
2025-12-04T11:56:37.905114+01:00 Yoga NetworkManager[2163]: <trace> [1764845797.9046] platform-linux: event-notification: RTM_DELADDR, flags 0, seq 1764845798: 6: 10.9.0.58/32,10.9.0.57
2025-12-04T11:56:37.905192+01:00 Yoga NetworkManager[2163]: <debug> [1764845797.9047] platform: (tun1) signal: address 4 removed: 10.9.0.58/32 brd 0.0.0.0 lft forever pref forever lifetime 1288-0[4294967295,4294967295] ptp 10.9.0.57 dev 6 flags permanent src kernel
2025-12-04T11:56:37.905256+01:00 Yoga NetworkManager[2163]: <trace> [1764845797.9047] l3cfg[ac529313dcf0010b,ifindex=6]: emit signal (platform-change, obj-type=ip4-address, change=removed, obj=10.9.0.58/32 brd 0.0.0.0 lft forever pref forever lifetime 1288-0[4294967295,4294967295] ptp 10.9.0.57 dev 6 flags permanent src kernel)
2025-12-04T11:56:37.905321+01:00 Yoga NetworkManager[2163]: <trace> [1764845797.9047] platform-linux: event-notification: RTM_DELROUTE, flags 0, seq 0: type unicast 10.9.0.57/32 dev 6 metric 0 mss 0 rt-src rt-kernel scope link pref-src 10.9.0.58
2025-12-04T11:56:37.905372+01:00 Yoga NetworkManager[2163]: <debug> [1764845797.9047] platform: (tun1) signal: route   4 removed: type unicast 10.9.0.57/32 dev 6 metric 0 mss 0 rt-src rt-kernel scope link pref-src 10.9.0.58
2025-12-04T11:56:37.905416+01:00 Yoga NetworkManager[2163]: <trace> [1764845797.9047] l3cfg[ac529313dcf0010b,ifindex=6]: emit signal (platform-change, obj-type=ip4-route, change=removed, obj=type unicast 10.9.0.57/32 dev 6 metric 0 mss 0 rt-src rt-kernel scope link pref-src 10.9.0.58)
2025-12-04T11:56:37.905502+01:00 Yoga NetworkManager[2163]: <trace> [1764845797.9047] platform-linux: event-notification: RTM_DELROUTE, flags 0, seq 0: type local table 255 10.9.0.58/32 dev 6 metric 0 mss 0 rt-src rt-kernel scope host pref-src 10.9.0.58
2025-12-04T11:56:37.905552+01:00 Yoga NetworkManager[2163]: <debug> 

tun1 is ready at 2025-12-04T11:56:37.865085+01 and right after that I get a warning from the ip-command which obviously got the task to delete an IP address.The next entries show how tun1 is deactivated.

I have a second notebook with the same Xubuntu and the same openVPN installation, which works perfectly. On this machine new addresses and routes are added after tun1 is established.

What else could I do in order to find out why OpenVPN has this strange behaviour?

I have no terminal, and am stuck on login screen. My login is not working. I am stuck [duplicate] https://askubuntu.com/questions/1560670/i-have-no-terminal-and-am-stuck-on-login-screen-my-login-is-not-working-i-am

I get the default ubuntu 24.04.3 login screen which shows when no graphical environment exists, and from there I can’t log in to my user account (just says “Login incorrect”), I don’t know how to log in to root account, I can’t access terminal. I’ve tried every shortcut to do so that I can find online but it just doesn’t work. Is there anything I can do or do at all to get pc working again?

Cannot remove faulty Linux kernel: directory not empty https://askubuntu.com/questions/1560662/cannot-remove-faulty-linux-kernel-directory-not-empty

I've got an issue with the latest Ubuntu Linux kernel update when system doesn't recognize devices like WiFi or Bluetooth. Following this guide I've loaded into an older kernel and tried to remove faulty one with sudo apt remove --purge linux-image-6.14.0-36-generic, but on removal got this message:

rmdir: failed to remove '/lib/modules/6.14.0-36-generic': Directory not empty

How can I fix this problem? I understand that you can just rm content of this directory, but is it even correct way to work with package manager?


Update So, I've decided to rm -r /lib/modules/6.14.0-36-generic/*. After that I run sudo apt remove --purge linux-image-6.14.0-36-generic. dpkg said that this package already uninstalled. My first thought was that everything is OK, so I run sudo update-grub and rebooted. After this uname -r shows working older kernel 6.14.0-33... but now I have the problem with nvidia-driver installation: sudo ubuntu-drivers install nvidia:570 fails with errors:

/usr/bin/ld.bfd: cannot open linker script file /usr/src/linux-headers-6.14.0-36-generic/scripts/module.lds: No such file or directory
/usr/bin/ld.bfd: cannot open linker script file /usr/src/linux-headers-6.14.0-36-generic/scripts/module.lds: No such file or directory
/usr/bin/ld.bfd: cannot open linker script file /usr/src/linux-headers-6.14.0-36-generic/scripts/module.lds: No such file or directory
/usr/bin/ld.bfd: cannot open linker script file /usr/src/linux-headers-6.14.0-36-generic/scripts/module.lds: No such file or directory
/usr/bin/ld.bfd: cannot open linker script file /usr/src/linux-headers-6.14.0-36-generic/scripts/module.lds: No such file or directory
...
dpkg: dependency problems prevent configuration of linux-modules-nvidia-570-generic-hwe-24.04:
 linux-modules-nvidia-570-generic-hwe-24.04 depends on linux-modules-nvidia-570-6.14.0-36-generic (= 6.14.0-36.36~24.04.1+1); however:
  Package linux-modules-nvidia-570-6.14.0-36-generic is not configured yet.

As we can see, dpkg refers to a newer, uninstalled kernel 6.14.0-36. How can I fix that?

Update 2 After reverting the directory /lib/modules/6.14.0-36-generic from backup the problem with dependency persists.

PS Auto-updates are EVIL and should be disabled by default, need to do all of that in my working time.

Removal of JDownloader2 files/removal of desktop icons https://askubuntu.com/questions/1560660/removal-of-jdownloader2-files-removal-of-desktop-icons

I'm using Ubuntu 24.04.3 LTS on an HP and I'm in need of help.

I've had trouble with completely removing JDownloader2 from my laptop. I've deleted it using the Delete file that comes with one of the versions. However, I had another JD2 file on my laptop, that I had to remove manually. Now, I'm stuck with an invisible desk icon that won't leave, and JD2 as well as JD2 Updates & Rescue show up in my application list in my settings. They can't be opened nor deleted.

I've found five remaining files named jdownloader2.lock snap_jdownloader2_jdownloader (I can open this one in a terminal) jdownloader2.json jdownloader.svg (twice)

They show up as write-locked/not-accessible.

What can I do in order to remove all JDownloader2 traces, and get rid of the invisible desktop icons and the listing in my applications? Of course, I want to be able to download JD2 in the future, if that matters.

No, there are no .desktop files that I could delete.

Any help? Thanks! As I'm new to Ubuntu and Linux, a detailed explanation would be helpful.

Best regards, Pia

Need guidance on resizing root and home partitions on Ubuntu SSD (student dev setup) [closed] https://askubuntu.com/questions/1560658/need-guidance-on-resizing-root-and-home-partitions-on-ubuntu-ssd-student-dev-se

I am a Computer Science student and I have been using Ubuntu mainly for development work — programming, cybersecurity tools, and running virtual machines for course labs for about 6 months now.

Here is my current partition layout (lsblk):

nvme1n1     259:0    0 931.5G  0 disk 
├─nvme1n1p1 259:1    0     1G  0 part /boot/efi
├─nvme1n1p2 259:2    0 232.8G  0 part /
├─nvme1n1p3 259:3    0   3.8G  0 part [SWAP]
└─nvme1n1p4 259:4    0  20.5G  0 part /home

When I installed Ubuntu, I only allocated 20GB for /home, which I now realize is too small. Because of this, I couldn’t store my VirtualBox VMs in my home directory, so I had to put them in
/opt/VirtualBoxVMs. I know I still have space left in root to store more VMs, but ideally I want all my VM files to stay inside my home directory for better organization. I plan to use multiple VMs in the future, so I will need more space in /home.

I also want to set up my system properly for long-term use, rather than resizing partitions again in the future.

My goal is simply to make sure I have enough space for VMs, development files, and general usage, without risking data loss or breaking the system.

I would appreciate advice on:

  • Whether increasing only /home is enough so I can store all my VMs there
  • Whether resizing both / and /home is a better idea for my use case
  • Based on your experience, what partitioning strategy is best for long-term use of Ubuntu for someone studying Computer Science and Cybersecurity, who frequently uses virtual machines and development tools?

Thanks for your help!

how to run script after login and after logging into locked session https://askubuntu.com/questions/1560656/how-to-run-script-after-login-and-after-logging-into-locked-session

There is espanso tool, which has some issue on wayland, which needs to run espanso restart every time when user logs into fresh session or log into locked session.

Espanso itself starts via systemd user service, but it does not seem to handle waking up.

Can someone advice 'any' way how to do call command espanso restart after waking up? I tried systemd services and it does not work. I obviously don't want to do script which restarts it every minute, or during starting terminal, don't do any busy-waiting loops.

What can cause this noise color waves on the display although the graphics is OK Radeon driver? https://askubuntu.com/questions/1560649/what-can-cause-this-noise-color-waves-on-the-display-although-the-graphics-is-ok

What is the root cause of this noise on my laptop display? It appears as soon as the system boots and changes the resolution of the screen. I can see the correct resolution when booted, graphics and everything works fine, and the "radeon" driver is loaded correctly, but I have this layer of visual artifacts and noise.

screenshot of the issue on xubuntu 24.04

What is the root cause of this issue? Is it a kernel driver? user space driver? Xorg?

Edit: Adding inxi -G

Graphics:
  Device-1: AMD RV620/M82 [Mobility Radeon HD 3450/3470] driver: radeon
    v: kernel
  Device-2: Chicony 1.3 MPixel UVC Webcam driver: uvcvideo type: USB
  Display: x11 server: X.Org v: 21.1.11 driver: X: loaded: radeon
    unloaded: fbdev,modesetting,vesa dri: r600 gpu: radeon
    resolution: 1280x800~60Hz
  API: EGL v: 1.5 drivers: kms_swrast,r600,swrast
    platforms: gbm,x11,surfaceless,device
  API: OpenGL v: 4.5 compat-v: 3.3 vendor: mesa v: 25.0.7-0ubuntu0.24.04.2
    renderer: AMD RV620 (DRM 2.50.0 / 6.14.0-36-generic LLVM 20.1.2)

Edit 2 : Add screen refresh rate capability using xrandr

Screen 0: minimum 320 x 200, current 1280 x 800, maximum 8192 x 8192
VGA-0 disconnected (normal left inverted right x axis y axis)
LVDS connected primary 1280x800+0+0 (normal left inverted right x axis y axis) 331mm x 207mm
   1280x800      59.97*+
   1280x720      59.86  
   1152x768      59.78  
   1024x768      59.92  
   800x600       59.86  
   848x480       59.66  
   720x480       59.71  
   640x480       59.38  
DVI-0 disconnected (normal left inverted right x axis y axis)
How to have something like xkill in Wayland in Ubuntu with GNOME? https://askubuntu.com/questions/1560625/how-to-have-something-like-xkill-in-wayland-in-ubuntu-with-gnome

In X11, I can run xkill, and select an window that I want to close.

I want something similar in Wayland. The other command line options like pkill or kill involve getting the exact app name or the PID of the process.

I just want to click on a Window and close it instead. How to achieve this in Wayland?

This explains how to do this in KDE Plasma running Wayland. What about regular Ubuntu with GNOME?

How do I dual boot Ubuntu without boot menu or USB? [duplicate] https://askubuntu.com/questions/1560604/how-do-i-dual-boot-ubuntu-without-boot-menu-or-usb

I want to experience Ubuntu outside of a virtual machine, and I want to install Ubuntu on my laptop. There are two problems though. First, I don't have a spare USB or something like that. Second, I have a big fear of BIOS-related menus meaning I don't want to access Novo menu, BIOS setup or boot menu. My Lenovo laptop didn't came with Intel RST or Bitlocker meaning I'm prepared for install. Any comment saying "go buy a USB/enter boot menu" will be ignored as they bring no beneficial value to my problem.

I have the installation partition prepared on my secondary 1Tb drive and Ubuntu version is 24.04.

I bought a USB and I'm ready to boot it from Windows Recovery.

Ubuntu 25.10 external monitor not detected https://askubuntu.com/questions/1560378/ubuntu-25-10-external-monitor-not-detected

If I boot Ubuntu my laptop doesn't detect my external monitor, but if I boot Windows it's OK.

The laptop is a Dell XPS 13 9350 / Intel Lunar Lake / Xubuntu 25.10 / Intel Arc Graphics 130V / 140V (rev 04) / intel-ipu7 / Linux 6.17.0-7-generic

The display key on the keyboard doesn't do anything (but the display brightness keys have never worked with Ubuntu either, for what it's worth). xrandr --auto doesn't do anything.

Any ideas what to try next?

How do I debug a driver signing issue? https://askubuntu.com/questions/1557691/how-do-i-debug-a-driver-signing-issue

I am getting this warning when Booting: "EFI stub: WARNING: Failed to measure data for event 1: 0x800000000000000b"

I have seen other fixes for similar problems (where the error code is different but with the EFI Stub: Warning: Failed to measure data...). Most of these involve turning off Secure Boot. This is not really a solution but only 'papers over the cracks'.

The issue seems to be an unsigned driver, or at least an unenrolled driver signature. Secure boot only allows loading of trusted drivers (that have an enrolled signature in the UEFI) and returns this error if it does not have an enrolled signature for a driver.

My question is: How do I find what driver is unenrolled so I can enroll it?

I am running kubuntu 24.04 (I am also running Windows on the same machine but on a different disk, so I need Secure Boot.)

Title:HP Victus fan speed control issue on Ubuntu 24.04 https://askubuntu.com/questions/1556074/titlehp-victus-fan-speed-control-issue-on-ubuntu-24-04

My laptop as some issue with the fan. It does not work properly on Ubuntu. On Windows I can control fan speed manually using HP Gaming Hub and set it to max, but it seems impossible on Ubuntu.

I have been searching for more than 2 months now. My laptop heats up to 60–70°C but the fan still runs slow. I am already using a cooling pad but it does not help much.

I have already tried:

  • lm-sensors and fancontrol
  • pwmconfig (does not detect any controllable fan)
  • Checked other solutions and forum posts

It looks similar to the known fan control issue on some HP laptops (like EliteBook).

Can anybody help?

  • Is there any way to control or increase fan speed on HP Victus under Ubuntu 24.04?
Windows drives are not write accessed in ubuntu 22.04 https://askubuntu.com/questions/1551598/windows-drives-are-not-write-accessed-in-ubuntu-22-04

The problem is I have encountered that I cant write into my windows 11 drives from Ubuntu 22.04 drives. I have checked to disable fast startup in windows 11 but there was no success. Any other method that would work?

I simply double click on the drives on the menu bar in the left panel. Then checking if i can create folder and it has been grayed out. Moreover pasting something copied from Ubuntu home folder is sending a no permission message. I had access, but i do not know what happened suddenly I lost write access to my windows drives. Read access is available.

Fenvi AX300 / AIC8800 Has anyone managed to get this adapter working? https://askubuntu.com/questions/1545120/fenvi-ax300-aic8800-has-anyone-managed-to-get-this-adapter-working

Fenvi AX300 based on AICSemi AIC8800DC

Ubuntu 24.04.2 LTS / 6.11.0-21

Adapter presents itself first as a mass storage:

ID a69c:5721 aicsemi Aic MSC

After ejecting:

ID a69c:88dc AICSemi AIC8800DC

Plus, i've confirmed that it works OK under windows.

I've tried drivers:

  1. Tenda AX300 - newest, generic, from official site - it supposed to be compatible with kernels 3.10-6.8. Tried my luck, but since i'm on 6.11, no surprise, it failed during compilation.
  1. Tenda AX300 - newest, Ubuntu specific, official site - this one got farthest. It successfully switches from mass storage, but device is not visible anywhere.
  1. Precompiled .deb from Radxa, that supposed to be compatible with debian like distros, and my current kernel - first installed firmware, then dkms/usb - 'dkms info' shows installed driver, but dongle still behaves as mass storage.
$ sudo apt install ./aic8800-firmware_3.0+git20240327.3561b08f-4_all.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'aic8800-firmware' instead of './aic8800-firmware_3.0+git20240327.3561b08f-4_all.deb'
The following packages were automatically installed and are no longer required:
  amd64-microcode bpfcc-tools bpftrace chemical-mime-data ieee-data
  intel-microcode iucode-tool lib3ds-1-3 libbpfcc libclang-cpp18 libclang1-18
  libglew2.2 libllvm17t64 libllvm18 libopenctm1 libqhull8.0 libqt5opengl5t64
  libqt5xml5t64 python3-bpfcc python3-netaddr python3-netifaces thermald
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  aic8800-firmware
0 upgraded, 1 newly installed, 0 to remove and 24 not upgraded.
Need to get 0 B/1,349 kB of archives.
After this operation, 8,103 kB of additional disk space will be used.
Get:1 /home/Blondie/Downloads/aic8800-firmware_3.0+git20240327.3561b08f-4_all.deb aic8800-firmware all 3.0+git20240327.3561b08f-4 [1,349 kB]
Selecting previously unselected package aic8800-firmware.
(Reading database ... 259901 files and directories currently installed.)
Preparing to unpack .../aic8800-firmware_3.0+git20240327.3561b08f-4_all.deb ...
Unpacking aic8800-firmware (3.0+git20240327.3561b08f-4) ...
Setting up aic8800-firmware (3.0+git20240327.3561b08f-4) ...
N: Download is performed unsandboxed as root as file '/home/Blondie/Downloads/aic8800-firmware_3.0+git20240327.3561b08f-4_all.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
$ sudo apt install ./aic8800-usb-dkms_3.0+git20240327.3561b08f-4_all.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'aic8800-usb-dkms' instead of './aic8800-usb-dkms_3.0+git20240327.3561b08f-4_all.deb'
The following packages were automatically installed and are no longer required:
  amd64-microcode bpfcc-tools bpftrace chemical-mime-data ieee-data
  intel-microcode iucode-tool lib3ds-1-3 libbpfcc libclang-cpp18 libclang1-18
  libglew2.2 libllvm17t64 libllvm18 libopenctm1 libqhull8.0 libqt5opengl5t64
  libqt5xml5t64 python3-bpfcc python3-netaddr python3-netifaces thermald
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  aic8800-usb-dkms
0 upgraded, 1 newly installed, 0 to remove and 24 not upgraded.
Need to get 0 B/3,646 kB of archives.
After this operation, 34.5 MB of additional disk space will be used.
Get:1 /home/Blondie/Downloads/aic8800-usb-dkms_3.0+git20240327.3561b08f-4_all.deb aic8800-usb-dkms all 3.0+git20240327.3561b08f-4 [3,646 kB]
Selecting previously unselected package aic8800-usb-dkms.
(Reading database ... 260010 files and directories currently installed.)
Preparing to unpack .../aic8800-usb-dkms_3.0+git20240327.3561b08f-4_all.deb ...
Unpacking aic8800-usb-dkms (3.0+git20240327.3561b08f-4) ...
Setting up aic8800-usb-dkms (3.0+git20240327.3561b08f-4) ...
Loading new aic8800-usb-3.0+git20240327.3561b08f-4 DKMS files...
Building for 6.11.0-21-generic
Building initial module for 6.11.0-21-generic
Done.
 
aic_load_fw_usb.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.11.0-21-generic/updates/dkms/
 
aic8800_fdrv_usb.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.11.0-21-generic/updates/dkms/
 
aic_btusb_usb.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.11.0-21-generic/updates/dkms/
depmod...
N: Download is performed unsandboxed as root as file '/home/Blondie/Downloads/aic8800-usb-dkms_3.0+git20240327.3561b08f-4_all.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
  1. Multiple sketchy drivers from GitHub, they either fail to compile or do nothing.

Can an one share a success story with this device/chipset, or a method to compile and install those drivers from sources?

Dummy Output and No Input devices on 2017 iMac Pro https://askubuntu.com/questions/1510298/dummy-output-and-no-input-devices-on-2017-imac-pro

I am new to Linux and am trying to start using Linux on my 2017 iMac Pro that has an Intel Xeon W chip. I was able to successfully install Ubuntu 22.04.4 and dual-boot, however, it does not look like my sound card is being recognized. For output I'm only seeing Dummy Output, and no input options. I have tried plugging in my headphones, but those aren't recognized either. I have tried a bunch of recommendations out there while perusing Google but have had no luck. If it helps, I have run this command and here is the output:

sudo lspci -vv | grep -i audio

ubuntu@who-iMacPro:~$ sudo lspci -vv | grep -i audio
02:00.3 Multimedia audio controller: Apple Inc. Apple Audio Device (rev 01)
Subsystem: Apple Inc. Apple Audio Device
f3:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Vega 10 HDMI Audio [Radeon Vega 56/64]
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Vega 10 HDMI Audio [Radeon Vega 56/64]

Alsamixer is also only currently seeing Vega 10 HDMI Audio.

EDIT: Thank you for the response guiverc, I'll make sure to add more details in the future. I am using the desktop version and here is the output you requested:

ubuntu@who-iMacPro:~$ sudo lshw -C sound

*-multimedia UNCLAIMED    
   description: Multimedia audio controller
   product: Apple Audio Device
   vendor: Apple Inc.
   physical id: 0.3
   bus info: pci@0000:02:00.3
   version: 01
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi pciexpress bus_master cap_list
   configuration: latency=0
   resources: memory:7f800000-7fbfffff memory:7fd80000-7fdfffff memory:7fe30000-7fe3ffff
*-multimedia
   description: Audio device
   product: Vega 10 HDMI Audio [Radeon Vega 56/64]
   vendor: Advanced Micro Devices, Inc. [AMD/ATI]
   physical id: 0.1
   bus info: pci@0000:f3:00.1
   logical name: card0
   logical name: /dev/snd/controlC0
   logical name: /dev/snd/hwC0D0
   logical name: /dev/snd/pcmC0D10p
   logical name: /dev/snd/pcmC0D11p
   logical name: /dev/snd/pcmC0D3p
   logical name: /dev/snd/pcmC0D7p
   logical name: /dev/snd/pcmC0D8p
   logical name: /dev/snd/pcmC0D9p
   version: 00
   width: 32 bits
   clock: 33MHz
   capabilities: pm pciexpress msi bus_master cap_list
   configuration: driver=snd_hda_intel latency=0
   resources: irq:98 memory:f02a0000-f02a3fff

EDIT2: Adding output for the command Archisman Panigrahi's recommended.

 ubuntu@who-iMacPro:~$ cd snd_hda_macbookpro && sudo ./install.cirrus.driver.sh

 linux-source-6.5.0/sound/pci/hda/
 linux-source-6.5.0/sound/pci/hda/hda_jack.h
 linux-source-6.5.0/sound/pci/hda/hda_beep.c
 linux-source-6.5.0/sound/pci/hda/hda_local.h
 linux-source-6.5.0/sound/pci/hda/hda_generic.c
 linux-source-6.5.0/sound/pci/hda/ca0132_regs.h
 linux-source-6.5.0/sound/pci/hda/hp_x360_helper.c
 linux-source-6.5.0/sound/pci/hda/hda_beep.h
 linux-source-6.5.0/sound/pci/hda/patch_analog.c
 linux-source-6.5.0/sound/pci/hda/cs35l41_hda.c
 linux-source-6.5.0/sound/pci/hda/patch_si3054.c
 linux-source-6.5.0/sound/pci/hda/hda_tegra.c
 linux-source-6.5.0/sound/pci/hda/patch_ca0110.c
 linux-source-6.5.0/sound/pci/hda/patch_cs8409-tables.c
 linux-source-6.5.0/sound/pci/hda/hda_controller.c
 linux-source-6.5.0/sound/pci/hda/patch_conexant.c
 linux-source-6.5.0/sound/pci/hda/patch_cs8409.h
 linux-source-6.5.0/sound/pci/hda/hda_eld.c
 linux-source-6.5.0/sound/pci/hda/cs35l41_hda_i2c.c
 linux-source-6.5.0/sound/pci/hda/patch_ca0132.c
 linux-source-6.5.0/sound/pci/hda/hda_controller.h
 linux-source-6.5.0/sound/pci/hda/hda_cs_dsp_ctl.c
 linux-source-6.5.0/sound/pci/hda/hda_codec.c
 linux-source-6.5.0/sound/pci/hda/thinkpad_helper.c
 linux-source-6.5.0/sound/pci/hda/hda_generic.h
 linux-source-6.5.0/sound/pci/hda/patch_sigmatel.c
 linux-source-6.5.0/sound/pci/hda/cs35l41_hda_property.c
 linux-source-6.5.0/sound/pci/hda/hda_intel.c
 linux-source-6.5.0/sound/pci/hda/hda_auto_parser.c
 linux-source-6.5.0/sound/pci/hda/hda_sysfs.c
 linux-source-6.5.0/sound/pci/hda/Kconfig
 linux-source-6.5.0/sound/pci/hda/hda_intel_trace.h
 linux-source-6.5.0/sound/pci/hda/cs35l41_hda_spi.c
 linux-source-6.5.0/sound/pci/hda/hda_intel.h
 linux-source-6.5.0/sound/pci/hda/patch_cirrus.c
 linux-source-6.5.0/sound/pci/hda/hda_hwdep.c
 linux-source-6.5.0/sound/pci/hda/hda_bind.c
 linux-source-6.5.0/sound/pci/hda/hda_jack.c
 linux-source-6.5.0/sound/pci/hda/ideapad_s740_helper.c
 linux-source-6.5.0/sound/pci/hda/patch_hdmi.c
 linux-source-6.5.0/sound/pci/hda/hda_component.h
 linux-source-6.5.0/sound/pci/hda/hda_proc.c
 linux-source-6.5.0/sound/pci/hda/patch_cmedia.c
 linux-source-6.5.0/sound/pci/hda/cs35l41_hda.h
 linux-source-6.5.0/sound/pci/hda/Makefile
 linux-source-6.5.0/sound/pci/hda/patch_via.c
 linux-source-6.5.0/sound/pci/hda/patch_realtek.c
 linux-source-6.5.0/sound/pci/hda/hda_controller_trace.h
 linux-source-6.5.0/sound/pci/hda/hda_auto_parser.h
 linux-source-6.5.0/sound/pci/hda/cs35l41_hda_property.h
 linux-source-6.5.0/sound/pci/hda/hda_cs_dsp_ctl.h
 linux-source-6.5.0/sound/pci/hda/patch_cs8409.c
Kernel version later than implemented version - there may be build problems
patching file patch_cs8409.c
Hunk #1 succeeded at 1445 (offset 175 lines).
Hunk #2 succeeded at 1454 (offset 175 lines).
Hunk #3 succeeded at 1483 (offset 175 lines).
patching file patch_cs8409.h
Hunk #2 succeeded at 304 (offset 2 lines).
Hunk #3 succeeded at 331 (offset 2 lines).
Hunk #4 succeeded at 367 (offset 2 lines).
patching file patch_cirrus_apple.h
make -C /lib/modules/6.5.0-27-generic/build CFLAGS_MODULE="-DAPPLE_PINSENSE_FIXUP -DAPPLE_CODECS -DCONFIG_SND_HDA_RECONFIG=1 -Wno-unused-variable -Wno-unused-function" M=/home/cd/snd_hda_macbookpro/build/hda modules
make[1]: Entering directory '/usr/src/linux-headers-6.5.0-27-generic'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
You are using:           
CC [M]  /home/cd/snd_hda_macbookpro/build/hda/patch_cs8409.o
/bin/sh: 1: gcc-12: not found
make[3]: *** [scripts/Makefile.build:251: /home/cd snd_hda_macbookpro/build/hda/patch_cs8409.o] Error 127
make[2]: *** [/usr/src/linux-headers-6.5.0-27-generic/Makefile:2039: /home/cd/snd_hda_macbookpro/build/hda] Error 2
make[1]: *** [Makefile:234: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.5.0-27-generic'
make: *** [Makefile:16: all] Error 2

EDIT 3: Output for commands

ubuntu@who-iMacPro:~/snd-hda-codec-cs8409$ make
make -C /lib/modules/6.5.0-27-generic/build CFLAGS_MODULE="- DAPPLE_PINSENSE_FIXUP -DAPPLE_CODECS -DCONFIG_SND_HDA_RECONFIG=1 -Wno-  unused-variable -Wno-unused-function" M=/home/cd/snd-hda-codec-cs8409 modules
make[1]: Entering directory '/usr/src/linux-headers-6.5.0-27-generic'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu   12.3.0-1ubuntu1~22.04) 12.3.0
You are using:           
CC [M]  /home/cd/snd-hda-codec-cs8409/patch_cs8409.o
/bin/sh: 1: gcc-12: not found
make[3]: *** [scripts/Makefile.build:251: /home/cd/snd-hda-codec-    cs8409/patch_cs8409.o] Error 127
make[2]: *** [/usr/src/linux-headers-6.5.0-27-generic/Makefile:2039: /home/cd/snd-hda-codec-cs8409] Error 2
make[1]: *** [Makefile:234: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.5.0-27-generic'
make: *** [Makefile:16: all] Error 2
ubuntu@who-iMacPro:~/snd-hda-codec-cs8409$ sudo make install
mkdir -p /lib/modules/6.5.0-27-generic/updates/
cp snd-hda-codec-cs8409.ko /lib/modules/6.5.0-27-generic/updates/
cp: cannot stat 'snd-hda-codec-cs8409.ko': No such file or    directory
make: *** [Makefile:22: install] Error 1

Edit 4: Output after running sudo apt install gcc-12

ubuntu@who-iMacPro:~$ sudo apt install gcc-12
[sudo] password for cd: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  cpp-12 libasan8 libgcc-12-dev libtsan2
Suggested packages:
  gcc-12-locales cpp-12-doc gcc-12-multilib gcc-12-doc
The following NEW packages will be installed:
  cpp-12 gcc-12 libasan8 libgcc-12-dev libtsan2
0 upgraded, 5 newly installed, 0 to remove and 8 not upgraded.
Need to get 40.1 MB of archives.
After this operation, 138 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu jammy-updates/main amd64 cpp-12 amd64 12.3.0-1ubuntu1~22.04 [10.8 MB]
Get:2 http://us.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libasan8 amd64 12.3.0-1ubuntu1~22.04 [2,442 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libtsan2 amd64 12.3.0-1ubuntu1~22.04 [2,477 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libgcc-12-dev amd64 12.3.0-1ubuntu1~22.04 [2,618 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu jammy-updates/main amd64 gcc-12 amd64 12.3.0-1ubuntu1~22.04 [21.7 MB]
Fetched 40.1 MB in 3s (14.8 MB/s)  
Selecting previously unselected package cpp-12.
(Reading database ... 241511 files and directories currently installed.)
Preparing to unpack .../cpp-12_12.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking cpp-12 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package libasan8:amd64.
Preparing to unpack .../libasan8_12.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libasan8:amd64 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package libtsan2:amd64.
Preparing to unpack .../libtsan2_12.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libtsan2:amd64 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package libgcc-12-dev:amd64.
Preparing to unpack .../libgcc-12-dev_12.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libgcc-12-dev:amd64 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package gcc-12.
Preparing to unpack .../gcc-12_12.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking gcc-12 (12.3.0-1ubuntu1~22.04) ...
Setting up cpp-12 (12.3.0-1ubuntu1~22.04) ...
Setting up libasan8:amd64 (12.3.0-1ubuntu1~22.04) ...
Setting up libtsan2:amd64 (12.3.0-1ubuntu1~22.04) ...
Setting up libgcc-12-dev:amd64 (12.3.0-1ubuntu1~22.04) ...
Setting up gcc-12 (12.3.0-1ubuntu1~22.04) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.6) ...
ubuntu@who-iMacPro:~$ cd snd-hda-codec-cs8409
ubuntu@who-iMacPro:~/snd-hda-codec-cs8409$ make
make -C /lib/modules/6.5.0-27-generic/build CFLAGS_MODULE="-DAPPLE_PINSENSE_FIXUP -DAPPLE_CODECS -DCONFIG_SND_HDA_RECONFIG=1 -Wno-unused-variable -Wno-unused-function" M=/home/cd/snd-hda-codec-cs8409 modules
make[1]: Entering directory '/usr/src/linux-headers-6.5.0-27-generic'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
  You are using:           gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
  CC [M]  /home/cd/snd-hda-codec-cs8409/patch_cs8409.o
In file included from /home/cd/snd-hda-codec-cs8409/patch_cs8409.c:1488:
/home/cd/snd-hda-codec-cs8409/patch_cirrus_apple.h: In function ‘cs_8409_apple_boot_init’:
/home/cd/snd-hda-codec-cs8409/patch_cirrus_apple.h:1191:15: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
 1191 |         hinfo = spec->gen.stream_analog_playback;
      |               ^
  CC [M]  /home/cd/snd-hda-codec-cs8409/patch_cs8409-tables.o
  LD [M]  /home/cd/snd-hda-codec-cs8409/snd-hda-codec-cs8409.o
  MODPOST /home/cd/snd-hda-codec-cs8409/Module.symvers
  CC [M]  /home/cd/snd-hda-codec-cs8409/snd-hda-codec-cs8409.mod.o
  LD [M]  /home/cd/snd-hda-codec-cs8409/snd-hda-codec-cs8409.ko
  BTF [M] /home/cd/snd-hda-codec-cs8409/snd-hda-codec-cs8409.ko
Skipping BTF generation for /home/cd/snd-hda-codec-cs8409/snd-hda-codec-cs8409.ko due to unavailability of vmlinux
make[1]: Leaving directory '/usr/src/linux-headers-6.5.0-27-generic'
ubuntu@who-iMacPro:~/snd-hda-codec-cs8409$ sudo make install
mkdir -p /lib/modules/6.5.0-27-generic/updates/
cp snd-hda-codec-cs8409.ko /lib/modules/6.5.0-27-generic/updates/
depmod -a
ubuntu@who-iMacPro:~/snd-hda-codec-cs8409$
Fail2ban will not start https://askubuntu.com/questions/1468400/fail2ban-will-not-start

I installed Fail2ban but i can start the service. Every time i get this Error:

systemctl status fail2ban
× fail2ban.service - Fail2Ban Service
     Loaded: loaded (/lib/systemd/system/fail2ban.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Thu 2023-05-18 12:53:07 CEST; 21s ago
       Docs: man:fail2ban(1)
    Process: 18283 ExecStart=/usr/bin/fail2ban-server -xf start (code=exited, status=255/EXCEPTION)
   Main PID: 18283 (code=exited, status=255/EXCEPTION)
        CPU: 105ms

Mai 18 12:53:07 hochzeitsbilder systemd[1]: Started Fail2Ban Service.
Mai 18 12:53:07 hochzeitsbilder fail2ban-server[18283]: 2023-05-18 12:53:07,466 fail2ban             >
Mai 18 12:53:07 hochzeitsbilder fail2ban-server[18283]: 2023-05-18 12:53:07,467 fail2ban             >
Mai 18 12:53:07 hochzeitsbilder systemd[1]: fail2ban.service: Main process exited, code=exited, statu>
Mai 18 12:53:07 hochzeitsbilder systemd[1]: fail2ban.service: Failed with result 'exit-code'.
lines 1-13/13 (END)

I tryed all things i could find but nothing works till yet.

Here is also the logfile from Fail2ban:

2023-05-18 08:47:24,422 fail2ban.server         [661]: INFO    -------------------------------------->2023-05-18 08:47:24,422 fail2ban.server         [661]: INFO    Starting Fail2ban v0.11.2
2023-05-18 08:47:24,423 fail2ban.observer       [661]: INFO    Observer start...
2023-05-18 08:47:24,445 fail2ban.database       [661]: INFO    Connected to fail2ban persistent datab>2023-05-18 08:47:24,451 fail2ban.database       [661]: WARNING New database created. Version '4'
2023-05-18 08:47:24,451 fail2ban.jail           [661]: INFO    Creating new jail 'sshd'
2023-05-18 08:47:24,510 fail2ban.jail           [661]: INFO    Jail 'sshd' uses pyinotify {}
2023-05-18 08:47:24,515 fail2ban.jail           [661]: INFO    Initiated 'pyinotify' backend
2023-05-18 08:47:24,517 fail2ban.filter         [661]: INFO      maxLines: 1
2023-05-18 08:47:24,550 fail2ban.filter         [661]: INFO      maxRetry: 5
2023-05-18 08:47:24,550 fail2ban.filter         [661]: INFO      findtime: 600
2023-05-18 08:47:24,551 fail2ban.actions        [661]: INFO      banTime: 600
2023-05-18 08:47:24,551 fail2ban.filter         [661]: INFO      encoding: UTF-8
2023-05-18 08:47:24,554 fail2ban.filter         [661]: INFO    Added logfile: '/var/log/auth.log' (po>2023-05-18 08:47:24,562 fail2ban.jail           [661]: INFO    Jail 'sshd' started
2023-05-18 09:25:53,280 fail2ban.server         [661]: INFO    Shutdown in progress...
2023-05-18 09:25:53,281 fail2ban.observer       [661]: INFO    Observer stop ... try to end queue 5 s>2023-05-18 09:25:53,301 fail2ban.observer       [661]: INFO    Observer stopped, 0 events remaining.
2023-05-18 09:25:53,341 fail2ban.server         [661]: INFO    Stopping all jails
2023-05-18 09:25:53,342 fail2ban.filter         [661]: INFO    Removed logfile: '/var/log/auth.log'
2023-05-18 09:25:53,543 fail2ban.actions        [661]: NOTICE  [sshd] Flush ticket(s) with iptables-m>2023-05-18 09:25:54,544 fail2ban.jail           [661]: INFO    Jail 'sshd' stopped
2023-05-18 09:25:54,545 fail2ban.database       [661]: INFO    Connection to database closed.
2023-05-18 09:25:54,545 fail2ban.server         [661]: INFO    Exiting Fail2ban

Can you help me?

How to fix the "Unit docker.service could not be found." error? https://askubuntu.com/questions/1427054/how-to-fix-the-unit-docker-service-could-not-be-found-error

How do I simply pull and run hello-world?

nicholas@mordor:~$ 
nicholas@mordor:~$ 
nicholas@mordor:~$ snap list docker
Name    Version   Rev   Tracking       Publisher   Notes
docker  20.10.14  1779  latest/stable  canonical✓  -
nicholas@mordor:~$ 
nicholas@mordor:~$ sudo docker pull hello-world
Using default tag: latest
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
nicholas@mordor:~$ 
nicholas@mordor:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04 LTS
Release:    22.04
Codename:   jammy
nicholas@mordor:~$ 
nicholas@mordor:~$ sudo systemctl start docker
Failed to start docker.service: Unit docker.service not found.
nicholas@mordor:~$ 
nicholas@mordor:~$ sudo systemctl status docker
Unit docker.service could not be found.
nicholas@mordor:~$ 

see also:

https://stackoverflow.com/questions/44678725/cannot-connect-to-the-docker-daemon-at-unix-var-run-docker-sock-is-the-docker

Unit docker.service could not be found

Automatically lock my computer when I walk away from it https://askubuntu.com/questions/1402270/automatically-lock-my-computer-when-i-walk-away-from-it

I would like to lock my Ubuntu after I walk away from it. Ideally, it should be a small Bluetooth tag / card that I carry in my pocket with a proximity sensor.

Is there some software and hardware that I can use for Linux for this purpose?

Basically, I'm looking for something like GateKeeper (but I don't know if this works for Linux) https://technabob.com/blog/2014/03/19/gatekeeper-locks-pc-automatically/

The proximity feature will automatically lock and unlock your PC or Mac when you walk away from it. That will keep your machine from sitting unprotected.

Qualcomm Atheros QCA9565 / AR9565. WIFI problem. Toshiba Satellite C55-A-1HN PSCG6E-09001CEN https://askubuntu.com/questions/1298468/qualcomm-atheros-qca9565-ar9565-wifi-problem-toshiba-satellite-c55-a-1hn-psc

I have the following problem with my WIFI. My laptop works fine on Windows 10, but when I boot on Ubuntu I can’t use my WIFI adapter properly. It is clearly a problem with the driver or any possible setup of the driver. I would really appreciate your help giving me any insight on how to fix this issue. Thank you.

Also, if someone could share (a link with) all possible setups for my WIFI driver so that I could make some tests, I would appreciate it. I hope to hear from the community soon, and thanks again.


THE PROBLEM

When I am on Ubuntu 20.04, I have the following situations:

  1. If I connect using USB tethering via cable, the internet is ok. And I can use Bluetooth normally with or without a speaker connected.

  2. If I connect with WIFI and Bluetooth OFF, the internet is ok.

  3. If I connect with WIFI and Bluetooth ON, the internet is okay.

  4. If I connect with WIFI and Bluetooth ON, AND speaker connected (model Betron KB-S08 ON,) then I have a problem: the internet becomes very slow (unusable,) and it disconnects a lot. I can switch from any of those situations above as many times as I want and the same scenario is very responsive -always the same outcome.

However, when I am on Windows 10:

  • My WIFI works fine with or without a speaker connected via Bluetooth.

Detail: I installed Ubuntu with a DUAL boot on my machine.


CONFIGURATIONS

  • Laptop Toshiba SATELLITE C55-A-1HN PSCG6E-09001CEN
  • Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter [168c:0036] (rev 01) (link to Ubuntu wiki)
  • Internet Connection: Samsung Galaxy A5 (2016).
  • Speaker Betron KB-S08

lspci -knn | grep Net -A3

02:00.0 Network controller [0280]: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter [168c:0036] (rev 01)
    Subsystem: Lite-On Communications Inc QCA9565 / AR9565 Wireless Network Adapter [11ad:0612]
    Kernel driver in use: ath9k
    Kernel modules: ath9k
03:00.0 Ethernet controller [0200]: Qualcomm Atheros QCA8172 Fast Ethernet [1969:10a0] (rev 10)

⇒ Bluetooth turned OFF on Settings

sudo rfkill list

0: Toshiba Bluetooth: Bluetooth
    Soft blocked: yes
    Hard blocked: no
1: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no

⇒ Bluetooth turned on Settings
 
sudo rfkill list

0: Toshiba Bluetooth: Bluetooth
    Soft blocked: no
    Hard blocked: no
1: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
4: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no
sudo lshw -C network

  *-network                 
       description: Wireless interface
       product: QCA9565 / AR9565 Wireless Network Adapter
       vendor: Qualcomm Atheros
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: wlp2s0
       version: 01
       serial: a6:db:31:fd:ce:9c
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list rom ethernet physical wireless
       configuration: broadcast=yes driver=ath9k driverversion=5.4.0-56-generic firmware=N/A ip=192.168.43.51 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:17 memory:c2400000-c247ffff memory:c2480000-c248ffff
  *-network
       description: Ethernet interface
       product: QCA8172 Fast Ethernet
       vendor: Qualcomm Atheros
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: enp3s0
       version: 10
       serial: 0c:50:a6:1d:ad:02
       capacity: 100Mbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi msix bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=alx latency=0 link=no multicast=yes port=twisted pair
       resources: irq:18 memory:c1000000-c103ffff ioport:2000(size=128)
  *-network
       description: Ethernet interface
       physical id: 3
       bus info: usb@3:1
       logical name: usb0
       serial: fe:ae:bc:70:21:9f
       capabilities: ethernet physical
       configuration: broadcast=yes driver=rndis_host driverversion=22-Aug-2005 firmware=RNDIS device ip=192.168.42.128 link=yes multicast=yes
dmesg | grep ath9k

[   14.864739] ath9k 0000:02:00.0 wlp2s0: renamed from wlan0

sudo iw dev

phy#0
    Interface wlp2s0
        ifindex 3
        wdev 0x1
        addr a4:db:31:fd:ce:9c
        ssid 123
        type managed
        channel 11 (2462 MHz), width: 20 MHz, center1: 2462 MHz
        txpower 16.00 dBm
        multicast TXQ:
            qsz-byt qsz-pkt flows   drops   marks   overlmt hashcol tx-bytes    tx-packets
            0   0   0   0   0   0   0   0       0

lspci -nnk | grep -iA2 net; lsusb

02:00.0 Network controller [0280]: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter [168c:0036] (rev 01)
    Subsystem: Lite-On Communications Inc QCA9565 / AR9565 Wireless Network Adapter [11ad:0612]
    Kernel driver in use: ath9k
    Kernel modules: ath9k
03:00.0 Ethernet controller [0200]: Qualcomm Atheros QCA8172 Fast Ethernet [1969:10a0] (rev 10)
    Subsystem: Toshiba Corporation QCA8172 Fast Ethernet [1179:fa30]
    Kernel driver in use: alx
    Kernel modules: alx
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 04f2:b3b1 Chicony Electronics Co., Ltd 
Bus 001 Device 003: ID 058f:6366 Alcor Micro Corp. Multi Flash Reader
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

uname -r

5.4.0-56-generic

dmesg | grep -i blue

[   11.797990] toshiba_bluetooth: Toshiba ACPI Bluetooth device driver
[   12.451990] Bluetooth: Core ver 2.22
[   12.452008] Bluetooth: HCI device and connection manager initialized
[   12.452011] Bluetooth: HCI socket layer initialized
[   12.452013] Bluetooth: L2CAP socket layer initialized
[   12.452016] Bluetooth: SCO socket layer initialized
[   32.098098] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   32.098101] Bluetooth: BNEP filters: protocol multicast
[   32.098108] Bluetooth: BNEP socket layer initialized
[   47.558125] Bluetooth: RFCOMM TTY layer initialized
[   47.558134] Bluetooth: RFCOMM socket layer initialized
[   47.558143] Bluetooth: RFCOMM ver 1.11

iwconfig

enp3s0    no wireless extensions.

wlp2s0    IEEE 802.11  ESSID:"123"  
          Mode:Managed  Frequency:2.462 GHz  Access Point: E6:93:09:4A:8F:D6   
          Bit Rate=72.2 Mb/s   Tx-Power=16 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=55/70  Signal level=-55 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:6  Invalid misc:147   Missed beacon:0

lo        no wireless extensions.

lsusb

Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 04f2:b3b1 Chicony Electronics Co., Ltd 
Bus 001 Device 003: ID 058f:6366 Alcor Micro Corp. Multi Flash Reader
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
______________________________________________________
Is there any software that can fill XFA forms in Ubuntu? https://askubuntu.com/questions/1184128/is-there-any-software-that-can-fill-xfa-forms-in-ubuntu

I need to fill up a pdf with XFA forms. Okular says that or does not support XFA forms.

Xreader displays the following message and asks to install Adobe Reader.

If this message is not eventually replaced by the proper contents of the document, your PDF
viewer may not be able to display this type of document.

Is there pdf reader (not a pdf editor which actually draws on the document) in Ubuntu that supports XFA forms?

This is not a duplicate of Is there software that can fill PDF forms? because answers in that question do not address XFA forms (as mentioned in some comments).

Error upon starting Squid Proxy Server using the command "sudo squid -z" https://askubuntu.com/questions/1129564/error-upon-starting-squid-proxy-server-using-the-command-sudo-squid-z

I got this error upon starting Squid Proxy Server using the command sudo squid -z:

fatal: ipc::mem::segment::create failed to shm_open(/squid-cf__metadata.shm): 13 permission denied

How shall I fix it? I'm using version 3.5.26 of Squid, I tried implementing the fix below I found in the web:

Just add the following line to your /etc/fstab file: shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
After that use (as root): # mount shm

Unfortunately, it doesn't work, another possible fix on the web is error reading squid.pid:

squid: ERROR: Could not read pid file /var/run/squid.pid: (13) Permission denied

As I look in my directory, I could not find squid.pid. How will I get my Squid working?

How do I mount a GPT Drive in Ubuntu 18.04 LTS? https://askubuntu.com/questions/1038816/how-do-i-mount-a-gpt-drive-in-ubuntu-18-04-lts

So here´s what happened:

1 - I have an Imac and was trying to downgrade it from High Sierra to El Capitan by trying to force its installation manually. That corrupted the OS system files and I could not start the Imac.

2 - Then I created a bootable Ubuntu 18.04 LTS into a pendrive and am booting the Imac that way. While Ubuntu does list the drive, it cannot mount it. Therefore, I cannot backup the files to try and reinstall the mac OS again.

So, How do I get to mount the Apple SSD in order to backup my files ?

It´s an 1.0 TB Disk Apple SSD GPT partition, and the imac does not have access to internet, so anything I might need to install in order to fix this i have to get from another computer and use a flashdrive to transfer to the mac.

Hopefully i made myself clear enough, not a code expert so looking forward to the simplest solution to this.

EDIT: Here are some things I've tried:

sudo fdisk -l
Disk /dev/sda: 931.9 GiB, 1000555581440 bytes, 1954210120 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt


Device      Start        End    Sectors   Size Type
/dev/sda1      40     409639     409600   200M EFI System
/dev/sda2  409640 1954210079 1953800440 931.7G unknown

ubuntu@ubuntu:~$ sudo mount /dev/sda2 /mnt/mydrive mount: /mnt/mydrive: wrong fs type, bad option, bad superblock on /dev/sda2, missing codepage or helper program, or other error.

root@ubuntu:~# sudo mount -o force -t hfsplus /dev/sda2 /mnt/mydrive mount: /mnt/mydrive: wrong fs type, bad option, bad superblock on /dev/sda2, missing codepage or helper program, or other error.

`root@ubuntu:~# sudo blkid /dev/sda1: LABEL="EFI" TYPE="vfat" PARTLABEL="EFI System Partition" /dev/loop0: TYPE="squashfs" /dev/loop1: TYPE="squashfs" /dev/loop2: TYPE="squashfs" /dev/loop3: TYPE="squashfs" /dev/loop4: TYPE="squashfs" /dev/loop5: TYPE="squashfs" /dev/loop6: TYPE="squashfs" /dev/sdb1: LABEL="Ubuntu 18.04 LTS amd64" TYPE="iso9660" PTTYPE="dos" /dev/sdb2: SEC_TYPE="msdos" TYPE="vfat" /dev/sda2: PARTLABEL="Customer"

ubuntu@ubuntu:~$ chmod 777 /mnt/mydrive chmod: changing permissions of '/mnt/mydrive': Operation not permitted

root@ubuntu:~# dmesg | tail [15973.657824] hfsplus: unable to find HFS+ superblock [16676.299567] hfsplus: unable to find HFS+ superblock [16678.938532] hfsplus: unable to find HFS+ superblock [16692.359656] hfsplus: unable to find HFS+ superblock [16698.538832] hfsplus: unable to find HFS+ superblock [17648.524471] usb 1-6: USB disconnect, device number 12 [17906.084770] hfsplus: unable to find HFS+ superblock [18851.170154] hfsplus: unable to find HFS+ superblock [20157.836826] hfsplus: unable to find HFS+ superblock [20311.030734] hfsplus: unable to find HFS+ superblock

Very problematic installation of Ubuntu on Asus VivoBook Pro N752VX https://askubuntu.com/questions/959933/very-problematic-installation-of-ubuntu-on-asus-vivobook-pro-n752vx

I was running Kali Linux for a while, but since that started to crash on me after every update, a student told me to switch to the more stable Ubuntu distro.

In the past I was very pleased with the ease of installation of this distro, but the installation process on my laptop is a joke.

I am not getting it to work as it should. I must launch the installer with the nomodeset kernel argument or I won't get the installer displayed. When ran without the kernel argument, it starts waiting for 'a start job is running for detect the available gpus and deal with any system changes' which goes on for an unlimited amount of time. After a minute or three it stops, does something and quits working.

When the installation is complete, the system reboots, with the nomodeset argument still in place on the new grub loader. The resolution is very bad (as expected) and when I try to install the NVIDIA graphics driver, it doesn't work. When I remove the nomodeset kernel argument from the grub entry, the system doesn't go to the desktop. It shows my desktop wallpaper and mouse that I can move.

After removing the NVIDIA graphic drivers and still boot without the nomodeset kernel argument, I am greeted with a resolution that fits the screen.

Everything looks good, but when I try to do any power related physical things (shutting down, rebooting, force rebooting) it doesn't do that. It freezes the screen. I can reboot the pc with the ALT + SYSRQ and REIB combination, but that doesn't solve the issue.

The strange thing is, that my Windows installation doesn't shutdown/reboot/sleep as well.

Windows was working! I've also defaulted my bios, didn't solve any problems.

When reinstalling Ubuntu without installing any NVIDIA graphic drivers and removing the nomodeset (and quiet splash) kernel argument, Ubuntu launches and I am able to login. The screen resolution is right, but when trying to shutdown or reboot, the system still freezes on the desktop. CTRL + ALT + F1~6 or CTRL + ALT + DEL is doing nothing. ALT + SYSRQ and REIB does work.

I removed the nomodeset and $vt_handoff (and quiet splash) kernel argument and the system boots up. Shutting down or rebooting freezes the computer on the desktop. Same as above goes for the 'system keyboard command'. Rebooting Ubuntu before logging in also freezes.

When booting into Windows with the new untouched version of the grub bootloader, after a full shutdown, boots up and shutsdown. When I reboot ubuntu and pick Windows at the grub menu, Windows doesn't start.

TL;DR

nomodeset removed:

  • Ubuntu boots, logs in and does all it's things, but freezes on shutdown or reboot. When rebooting Ubuntu with the SYSRQ key combo's, Windows can't boot after ubuntu has booted and the system hasn't been fully off.

With nomodeset:

  • Ubuntu boots, logs in and does all it things (in poor resolution), even shutsdown and reboots. Windows can boot after ubuntu has booted and the system hasn't been fully off.

Here are the specs of my Laptop:

  • 1920x1080p
  • NVIDIA GTX 950M
  • i7 6700HQ
  • 256 SSD A previously working
  • Kali installation that didn't had all the issues Ubuntu now has.

I have reinstalled Ubuntu a total of 10 times now.

https://www.asus.com/nl/Laptops/VivoBook-Pro-N752VX/specifications/

Wifi issue after running sudo dkms add ./rtlwifi_new-master https://askubuntu.com/questions/943977/wifi-issue-after-running-sudo-dkms-add-rtlwifi-new-master

I've already solved my initial wifi problem here: Wifi drops after ~ 5 minutes with RTL8821AE | Ask Ubuntu but I've tried to optimize it (because anytime there was a kernel update I have to execute all the commands of the solution again) and I've messed up something.

To solve the kernel update problem I tried

sudo dkms add ./rtlwifi_new-master

just before an update. I ran the command in the Desktop folder but I got this output:

Error! Could not find module source directory.
Directory: /usr/src/.-rtlwifi_new-master does not exist.

So I thought that I should have run the given command while in /usr/src/ folder, so I did so, but after doing that my wifi problem got worse and now every time I reboot the PC I need to execute the whole solution again, whereas before this process was necessary only after a kernel update.

Also, on the main screen I see something like

there is an error! rtlwifi_new-master is an external package. Please remove it

In summary:

  1. I got a notification of a system update

  2. I executed sudo dkms add ./rtlwifi_new-master in src folder

  3. I didn't reboot

  4. I executed the update

  5. I rebooted

  6. Worse problem than before

I thought of running

rm -R  rtlwifi-new-0.10

in the /src folder but I don't have the permission and I've already messed up with that one time. You can see it here:

Ubuntu 16.04 lts lost administrator rights bash: /etc/profile: Permission denied | Ask Ubuntu

Suggestions??

startup applications not opening up in full screen https://askubuntu.com/questions/636704/startup-applications-not-opening-up-in-full-screen

We are using Ubuntu 14.04 desktop. We have added Firefox to the startup application. the browser does open up but not into full screen mode. There are 2 arrows next to the Firefox browser and if you right click on this icon you can see it has opened up. How do I fix this?

Resolution doesn't change when resizing Virtualbox window https://askubuntu.com/questions/452979/resolution-doesnt-change-when-resizing-virtualbox-window

I've installed Ubuntu 64bit on Virtualbox 4.2.16. Guest Additions were installed in Ubuntu as well.

However the display resolution of Ubuntu does not seem to change as the Virtualbox window is resized or if we were to go into Full Screen mode. Any ideas?

How to reset display settings in XFCE \ Ubuntu 12.04 and also flgrx drivers https://askubuntu.com/questions/156075/how-to-reset-display-settings-in-xfce-ubuntu-12-04-and-also-flgrx-drivers

I recently upgraded to Ubuntu 12.04 and since I hate unity I installed the Xubuntu package and am using XFCE instead.

Since I have a Radeon HD5770 I also installed the fglrx drivers.

This all went fine (aside from the fact that the post-release update fglrx drivers have an error on installation and Ubuntu thinks they're not installed when they actually are.

I configured my display settings (dual monitors, a 17" CRT on VGA and a 17" LCD on DVI) in the amdcccle program and everything was perfect.

THEN, 2 days ago, I accidentally clicked on the "Display" settings in XFCE "settings" manager. After that, everything got screwed.

Now, I normally run the CRT at 1152x854 and the LCD at 1280x1024 with the CRT as my primary monitor (with panel) and the LCD without panels etc just to display other windows when I want to drag them over there.

The problem is now that if I set my CRT to 1152x864, it stays at 1280x1024 virtually and half the stuff falls off the screen.

It also puts the LCD at 1280x1024 BUT then overlays the CRT's display ontop with different wallpaper in an L shape down the right-hand and bottom edges.

In short, nothing makes sense and everything is FUBAR.

I tried uninstalling fglrx through synaptic, and renaming xorg.conf and also the xfce XML file that has monitor settings but it still won't make sense.

Unity on the other hand can currently set everything normally so the problem appears to be only with XFCE.

In any case, I can't even get the fglrx drivers back, when I re-installed them, I can't run amdccle anymore as it says the driver isn't installed!!

Can someone help me reset my XFCE settings so the monitors aren't screwed with some incorrect virtual desktop size and also so I can get fglrx drivers back and working? I really don't want to have to format and reinstall and go through all the hassle but it looks like I may have to :(