Wake on LAN stopped working after upgrading packages https://askubuntu.com/questions/1564077/wake-on-lan-stopped-working-after-upgrading-packages

I have 5 machines running ubuntu 24.04. After upgrading some packages and rebooting, wakeonlan doesn't seem to work on any of my machines.

The machines are plugged in, and the ethernet port has lights blinking, so the network card should be awake.

I'm not sure whether the problems are due to upgrading packages or something else. I presume that this is a software problem that resulted from package upgrades changing a configuration file / variable somewhere.

Router is TP-Link AX3000. I rebooted and upgraded my router when trying to diagnose the issues, although I'm pretty confident the router is not an issue. Wake On Lan has worked before I upgraded the router firmware, and it has been working for at least a couple years prior to this week. However, there did seem to be an issue with receiving the magic packets when broadcasting to the local network (documented below). Not sure if this is a new issue, or is simply expected behavior.

I have tried to follow the guide here: https://wiki.archlinux.org/title/Wake-on-LAN. I'm out of ideas for what the problem is.

I can post additional files as necessary. Help is much appreciated!

Here is a sample from one of my machines:

The wakeonlan version I use is wakeonlan/noble,now 0.41-12.1 all [installed].

Ethernet should be nao3eth0.

sudo lshw -C network
  *-network                 
       description: Ethernet interface
       product: Ethernet Connection I217-LM
       vendor: Intel Corporation
       physical id: 19
       bus info: pci@0000:00:19.0
       logical name: nao3eth0
       version: 04
       serial: 34:17:eb:ce:b8:af
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=6.8.0-100-generic duplex=full firmware=0.13-4 ip=192.168.237.103 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
       resources: irq:28 memory:f7c00000-f7c1ffff memory:f7c3d000-f7c3dfff ioport:f080(size=32)

ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute 
       valid_lft forever preferred_lft forever
2: nao3eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 34:17:eb:ce:b8:af brd ff:ff:ff:ff:ff:ff
    altname eno1
    altname enp0s25
    inet 192.168.237.103/24 brd 192.168.237.255 scope global noprefixroute nao3eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::3617:ebff:fece:b8af/64 scope link 
       valid_lft forever preferred_lft forever

It appears wake on lan is enabled: Wake-on: g.

ethtool nao3eth0
Settings for nao3eth0:
    Supported ports: [ TP ]
    Supported link modes:   10baseT/Half 10baseT/Full
                            100baseT/Half 100baseT/Full
                            1000baseT/Full
    Supported pause frame use: Symmetric Receive-only
    Supports auto-negotiation: Yes
    Supported FEC modes: Not reported
    Advertised link modes:  10baseT/Half 10baseT/Full
                            100baseT/Half 100baseT/Full
                            1000baseT/Full
    Advertised pause frame use: Symmetric Receive-only
    Advertised auto-negotiation: Yes
    Advertised FEC modes: Not reported
    Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                         100baseT/Half 100baseT/Full
                                         1000baseT/Full
    Link partner advertised pause frame use: Symmetric
    Link partner advertised auto-negotiation: Yes
    Link partner advertised FEC modes: Not reported
    Speed: 1000Mb/s
    Duplex: Full
    Auto-negotiation: on
    Port: Twisted Pair
    PHYAD: 1
    Transceiver: internal
    MDI-X: off (auto)
    Supports Wake-on: pumbg
    Wake-on: g
        Current message level: 0x00000007 (7)
                               drv probe link
    Link detected: yes
/etc/netplan# cat 00-config.yaml 
network:
  ethernets:
    nao3eth0:
      match:
        macaddress: 34:17:eb:ce:b8:af
      addresses:
       - 192.168.237.103/24
      routes:
       - to: default
         via: 192.168.237.1
      nameservers:
        addresses:
         - 192.168.237.1
      wakeonlan: true
  version: 2
  renderer: NetworkManager

ufw status
Status: inactive

tlp is not installed:

sudo systemctl status tlp.service
Unit tlp.service could not be found.
root@nao3:~# apt list tlp
Listing... Done
tlp/noble 1.6.1-1ubuntu1 all
sudo netstat -tulpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN      45445/smbd          
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      1/init              
tcp        0      0 0.0.0.0:445             0.0.0.0:*               LISTEN      45445/smbd          
tcp        0      0 0.0.0.0:631             0.0.0.0:*               LISTEN      45452/cupsd         
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      2426/master         
tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      1133/systemd-resolv 
tcp        0      0 127.0.0.54:53           0.0.0.0:*               LISTEN      1133/systemd-resolv 
tcp6       0      0 :::139                  :::*                    LISTEN      45445/smbd          
tcp6       0      0 :::22                   :::*                    LISTEN      1/init              
tcp6       0      0 :::445                  :::*                    LISTEN      45445/smbd          
tcp6       0      0 :::631                  :::*                    LISTEN      45452/cupsd         
tcp6       0      0 :::7200                 :::*                    LISTEN      1663/java           
tcp6       0      0 ::1:25                  :::*                    LISTEN      2426/master         
tcp6       0      0 :::37705                :::*                    LISTEN      1663/java           
udp        0      0 127.0.0.54:53           0.0.0.0:*                           1133/systemd-resolv 
udp        0      0 127.0.0.53:53           0.0.0.0:*                           1133/systemd-resolv 
udp        0      0 192.168.237.255:137     0.0.0.0:*                           45438/nmbd          
udp        0      0 192.168.237.103:137     0.0.0.0:*                           45438/nmbd          
udp        0      0 0.0.0.0:137             0.0.0.0:*                           45438/nmbd          
udp        0      0 192.168.237.255:138     0.0.0.0:*                           45438/nmbd          
udp        0      0 192.168.237.103:138     0.0.0.0:*                           45438/nmbd          
udp        0      0 0.0.0.0:138             0.0.0.0:*                           45438/nmbd          
udp        0      0 0.0.0.0:37707           0.0.0.0:*                           45658/avahi-daemon: 
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           45658/avahi-daemon: 
udp6       0      0 :::48418                :::*                                45658/avahi-daemon: 
udp6       0      0 :::5353                 :::*                                45658/avahi-daemon: 

I can receive the magic packets with the machine address. The broadcast address seems to fail, which seems odd. Prior to the upgrade, wakeonlan 34:17:eb:ce:b8:af was sufficient to wakeonlan remotely. I believe this is a separate issue, because wakeonlan is not working whether I specify the ip_address or not.

SERVER:
tcpdump -i nao3eth0 -n -v -s0 udp port 9
tcpdump: listening on nao3eth0, link-type EN10MB (Ethernet), snapshot length 262144 bytes
13:59:16.935287 IP (tos 0x0, ttl 64, id 65130, offset 0, flags [DF], proto UDP (17), length 130)
    192.168.237.104.55723 > 192.168.237.103.9: UDP, length 102


CLIENT MACHINE:

no packets received:
wakeonlan -i 255.255.255.255 -p 9 34:17:eb:ce:b8:af
Sending magic packet to 255.255.255.255:9 with 34:17:eb:ce:b8:af

packets are received as shown above:
wakeonlan -i 192.168.237.103 -p 9 34:17:eb:ce:b8:af
Sending magic packet to 192.168.237.103:9 with 34:17:eb:ce:b8:af
sysctl -a | grep rp_filter
net.ipv4.conf.all.arp_filter = 0
net.ipv4.conf.all.rp_filter = 2
net.ipv4.conf.default.arp_filter = 0
net.ipv4.conf.default.rp_filter = 2
net.ipv4.conf.lo.arp_filter = 0
net.ipv4.conf.lo.rp_filter = 0
net.ipv4.conf.nao3eth0.arp_filter = 0
net.ipv4.conf.nao3eth0.rp_filter = 2

I was unable to provide all the variables for sysctl since it went over the character limit. I can provide further information upon request.

I believe the problems started occurring after the upgrade on last Friday, 2026-02-13.

/var/log/apt/history.log:

cat history.log

Start-Date: 2026-02-03  06:54:35
Commandline: /usr/bin/unattended-upgrade
Upgrade: libc6:amd64 (2.39-0ubuntu8.6, 2.39-0ubuntu8.7), locales:amd64 (2.39-0ubuntu8.6, 2.39-0ubuntu8.7), libc-dev-bin:amd64 (2.39-0ubuntu8.6, 2.39-0ubuntu8.7), libc-bin:amd64 (2.39-0ubuntu8.6, 2.39-0ubuntu8.7), libc-devtools:amd64 (2.39-0ubuntu8.6, 2.39-0ubuntu8.7), libc6-dbg:amd64 (2.39-0ubuntu8.6, 2.39-0ubuntu8.7), libc6-dev:amd64 (2.39-0ubuntu8.6, 2.39-0ubuntu8.7)
End-Date: 2026-02-03  06:54:57

Start-Date: 2026-02-03  06:55:14
Commandline: /usr/bin/unattended-upgrade
Upgrade: telnet:amd64 (0.17+2.5-3ubuntu4, 0.17+2.5-3ubuntu4.1), inetutils-telnet:amd64 (2:2.5-3ubuntu4, 2:2.5-3ubuntu4.1)
End-Date: 2026-02-03  06:55:18

Start-Date: 2026-02-03  06:55:20
Commandline: /usr/bin/unattended-upgrade
Upgrade: libmysqlclient21:amd64 (8.0.44-0ubuntu0.24.04.2, 8.0.45-0ubuntu0.24.04.1)
End-Date: 2026-02-03  06:55:22

Start-Date: 2026-02-03  06:55:25
Commandline: /usr/bin/unattended-upgrade
Upgrade: openjdk-17-jre-headless:amd64 (17.0.17+10-1~24.04, 17.0.18+8-1~24.04.1)
End-Date: 2026-02-03  06:55:31

Start-Date: 2026-02-03  06:55:52
Commandline: /usr/bin/unattended-upgrade
Upgrade: libpng16-16t64:amd64 (1.6.43-5ubuntu0.3, 1.6.43-5ubuntu0.4)
End-Date: 2026-02-03  06:55:54

Start-Date: 2026-02-04  15:33:11
Commandline: apt-get -y upgrade
Upgrade: va-driver-all:amd64 (2.20.0-2build1, 2.20.0-2ubuntu0.1), libldap2:amd64 (2.6.7+dfsg-1~exp1ubuntu8.2, 2.6.10+dfsg-0ubuntu0.24.04.1), libldap-common:amd64 (2.6.7+dfsg-1~exp1ubuntu8.2, 2.6.10+dfsg-0ubuntu0.24.04.1), libfwupd2:amd64 (1.9.31-0ubuntu1~24.04.1, 1.9.33-0ubuntu1~24.04.1ubuntu1), libqpdf29t64:amd64 (11.9.0-1.1build1, 11.9.0-1.1ubuntu0.1), libva-x11-2:amd64 (2.20.0-2build1, 2.20.0-2ubuntu0.1), libboost-iostreams1.83.0:amd64 (1.83.0-2.1ubuntu3.1, 1.83.0-2.1ubuntu3.2), ldap-utils:amd64 (2.6.7+dfsg-1~exp1ubuntu8.2, 2.6.10+dfsg-0ubuntu0.24.04.1), python-apt-common:amd64 (2.7.7ubuntu5.1, 2.7.7ubuntu5.2), libboost-thread1.83.0:amd64 (1.83.0-2.1ubuntu3.1, 1.83.0-2.1ubuntu3.2), python3-apt:amd64 (2.7.7ubuntu5.1, 2.7.7ubuntu5.2), libboost-locale1.83.0:amd64 (1.83.0-2.1ubuntu3.1, 1.83.0-2.1ubuntu3.2), libva-wayland2:amd64 (2.20.0-2build1, 2.20.0-2ubuntu0.1), libva-drm2:amd64 (2.20.0-2build1, 2.20.0-2ubuntu0.1), mesa-vdpau-drivers:amd64 (25.0.7-0ubuntu0.24.04.2, 25.2.8-0ubuntu0.24.04.1), libva2:amd64 (2.20.0-2build1, 2.20.0-2ubuntu0.1), fwupd:amd64 (1.9.31-0ubuntu1~24.04.1, 1.9.33-0ubuntu1~24.04.1ubuntu1)
End-Date: 2026-02-04  15:33:32

Start-Date: 2026-02-05  06:27:01
Commandline: /usr/bin/unattended-upgrade
Install: linux-tools-6.8.0-94-generic:amd64 (6.8.0-94.96, automatic), linux-modules-extra-6.8.0-94-generic:amd64 (6.8.0-94.96, automatic), linux-tools-6.8.0-94:amd64 (6.8.0-94.96, automatic), linux-modules-6.8.0-94-generic:amd64 (6.8.0-94.96, automatic), linux-headers-6.8.0-94:amd64 (6.8.0-94.96, automatic), linux-image-6.8.0-94-generic:amd64 (6.8.0-94.96, automatic), linux-headers-6.8.0-94-generic:amd64 (6.8.0-94.96, automatic)
Upgrade: linux-headers-generic:amd64 (6.8.0-90.91, 6.8.0-94.96), linux-generic:amd64 (6.8.0-90.91, 6.8.0-94.96), linux-image-generic:amd64 (6.8.0-90.91, 6.8.0-94.96)
End-Date: 2026-02-05  06:27:42

Start-Date: 2026-02-05  06:27:49
Commandline: /usr/bin/unattended-upgrade
Remove: linux-tools-6.8.0-88-generic:amd64 (6.8.0-88.89), linux-tools-6.8.0-88:amd64 (6.8.0-88.89)
End-Date: 2026-02-05  06:27:50

Start-Date: 2026-02-05  06:27:52
Commandline: /usr/bin/unattended-upgrade
Remove: linux-modules-extra-6.8.0-88-generic:amd64 (6.8.0-88.89)
End-Date: 2026-02-05  06:27:55

Start-Date: 2026-02-05  06:27:57
Commandline: /usr/bin/unattended-upgrade
Remove: linux-modules-6.8.0-88-generic:amd64 (6.8.0-88.89), linux-image-6.8.0-88-generic:amd64 (6.8.0-88.89)
End-Date: 2026-02-05  06:28:04

Start-Date: 2026-02-05  06:28:06
Commandline: /usr/bin/unattended-upgrade
Remove: linux-headers-6.8.0-88-generic:amd64 (6.8.0-88.89)
End-Date: 2026-02-05  06:28:07

Start-Date: 2026-02-05  06:28:10
Commandline: /usr/bin/unattended-upgrade
Remove: linux-headers-6.8.0-88:amd64 (6.8.0-88.89)
End-Date: 2026-02-05  06:28:12

Start-Date: 2026-02-06  06:13:40
Commandline: /usr/bin/unattended-upgrade
Upgrade: python3.12:amd64 (3.12.3-1ubuntu0.10, 3.12.3-1ubuntu0.11), libpython3.12-minimal:amd64 (3.12.3-1ubuntu0.10, 3.12.3-1ubuntu0.11), libpython3.12t64:amd64 (3.12.3-1ubuntu0.10, 3.12.3-1ubuntu0.11), python3.12-minimal:amd64 (3.12.3-1ubuntu0.10, 3.12.3-1ubuntu0.11), libpython3.12-stdlib:amd64 (3.12.3-1ubuntu0.10, 3.12.3-1ubuntu0.11)
End-Date: 2026-02-06  06:13:52

Start-Date: 2026-02-06  06:13:56
Commandline: /usr/bin/unattended-upgrade
Upgrade: libglib2.0-bin:amd64 (2.80.0-6ubuntu3.7, 2.80.0-6ubuntu3.8), gir1.2-glib-2.0:amd64 (2.80.0-6ubuntu3.7, 2.80.0-6ubuntu3.8), libglib2.0-data:amd64 (2.80.0-6ubuntu3.7, 2.80.0-6ubuntu3.8), libglib2.0-0t64:amd64 (2.80.0-6ubuntu3.7, 2.80.0-6ubuntu3.8)
End-Date: 2026-02-06  06:14:03

Start-Date: 2026-02-06  06:14:24
Commandline: /usr/bin/unattended-upgrade
Upgrade: tracker-miner-fs:amd64 (3.7.1-1build1, 3.7.1-1ubuntu0.1), tracker-extract:amd64 (3.7.1-1build1, 3.7.1-1ubuntu0.1)
End-Date: 2026-02-06  06:14:29

Start-Date: 2026-02-06  14:43:27
Commandline: apt-get -y upgrade
Upgrade: linux-tools-common:amd64 (6.8.0-94.96, 6.8.0-100.100), linux-libc-dev:amd64 (6.8.0-94.96, 6.8.0-100.100)
End-Date: 2026-02-06  14:43:32

Start-Date: 2026-02-10  06:15:31
Commandline: /usr/bin/unattended-upgrade
Install: linux-image-6.8.0-100-generic:amd64 (6.8.0-100.100, automatic), linux-tools-6.8.0-100-generic:amd64 (6.8.0-100.100, automatic), linux-tools-6.8.0-100:amd64 (6.8.0-100.100, automatic), linux-headers-6.8.0-100-generic:amd64 (6.8.0-100.100, automatic), linux-modules-6.8.0-100-generic:amd64 (6.8.0-100.100, automatic), linux-headers-6.8.0-100:amd64 (6.8.0-100.100, automatic), linux-modules-extra-6.8.0-100-generic:amd64 (6.8.0-100.100, automatic)
Upgrade: linux-headers-generic:amd64 (6.8.0-94.96, 6.8.0-100.100), linux-generic:amd64 (6.8.0-94.96, 6.8.0-100.100), linux-image-generic:amd64 (6.8.0-94.96, 6.8.0-100.100)
End-Date: 2026-02-10  06:16:12

Start-Date: 2026-02-10  06:16:18
Commandline: /usr/bin/unattended-upgrade
Upgrade: libsoup-3.0-0:amd64 (3.4.4-5ubuntu0.6, 3.4.4-5ubuntu0.7), libsoup-3.0-common:amd64 (3.4.4-5ubuntu0.6, 3.4.4-5ubuntu0.7), gir1.2-soup-3.0:amd64 (3.4.4-5ubuntu0.6, 3.4.4-5ubuntu0.7)
End-Date: 2026-02-10  06:16:21

Start-Date: 2026-02-10  06:16:25
Commandline: /usr/bin/unattended-upgrade
Remove: linux-modules-extra-6.8.0-90-generic:amd64 (6.8.0-90.91)
End-Date: 2026-02-10  06:16:28

Start-Date: 2026-02-10  06:16:30
Commandline: /usr/bin/unattended-upgrade
Remove: linux-headers-6.8.0-90-generic:amd64 (6.8.0-90.91)
End-Date: 2026-02-10  06:16:31

Start-Date: 2026-02-10  06:16:33
Commandline: /usr/bin/unattended-upgrade
Remove: linux-tools-6.8.0-90-generic:amd64 (6.8.0-90.91)
End-Date: 2026-02-10  06:16:34

Start-Date: 2026-02-10  06:16:37
Commandline: /usr/bin/unattended-upgrade
Remove: linux-modules-6.8.0-90-generic:amd64 (6.8.0-90.91), linux-image-6.8.0-90-generic:amd64 (6.8.0-90.91)
End-Date: 2026-02-10  06:16:44

Start-Date: 2026-02-10  06:16:46
Commandline: /usr/bin/unattended-upgrade
Remove: linux-tools-6.8.0-90:amd64 (6.8.0-90.91)
End-Date: 2026-02-10  06:16:47

Start-Date: 2026-02-10  06:16:49
Commandline: /usr/bin/unattended-upgrade
Remove: linux-headers-6.8.0-90:amd64 (6.8.0-90.91)
End-Date: 2026-02-10  06:16:52

Start-Date: 2026-02-13  17:51:35
Commandline: apt-get -y upgrade
Upgrade: initramfs-tools-core:amd64 (0.142ubuntu25.5, 0.142ubuntu25.8), initramfs-tools-bin:amd64 (0.142ubuntu25.5, 0.142ubuntu25.8), alsa-ucm-conf:amd64 (1.2.10-1ubuntu5.8, 1.2.10-1ubuntu5.9), motd-news-config:amd64 (13ubuntu10.3, 13ubuntu10.4), base-files:amd64 (13ubuntu10.3, 13ubuntu10.4), initramfs-tools:amd64 (0.142ubuntu25.5, 0.142ubuntu25.8), libpng16-16t64:amd64 (1.6.43-5ubuntu0.4, 1.6.43-5ubuntu0.5)
End-Date: 2026-02-13  17:52:02

Start-Date: 2026-02-16  06:31:21
Commandline: /usr/bin/unattended-upgrade
Upgrade: libfreerdp3-3:amd64 (3.5.1+dfsg1-0ubuntu1.1, 3.5.1+dfsg1-0ubuntu1.2), libwinpr3-3:amd64 (3.5.1+dfsg1-0ubuntu1.1, 3.5.1+dfsg1-0ubuntu1.2), libfreerdp-server3-3:amd64 (3.5.1+dfsg1-0ubuntu1.1, 3.5.1+dfsg1-0ubuntu1.2), libfreerdp-client3-3:amd64 (3.5.1+dfsg1-0ubuntu1.1, 3.5.1+dfsg1-0ubuntu1.2)
End-Date: 2026-02-16  06:31:33

Start-Date: 2026-02-17  06:31:08
Commandline: /usr/bin/unattended-upgrade
Upgrade: libatopology2t64:amd64 (1.2.11-1ubuntu0.1, 1.2.11-1ubuntu0.2), libasound2t64:amd64 (1.2.11-1ubuntu0.1, 1.2.11-1ubuntu0.2), libasound2-data:amd64 (1.2.11-1ubuntu0.1, 1.2.11-1ubuntu0.2)
End-Date: 2026-02-17  06:31:11

Start-Date: 2026-02-17  06:31:15
Commandline: /usr/bin/unattended-upgrade
Upgrade: libgnutls30t64:amd64 (3.8.3-1.1ubuntu3.4, 3.8.3-1.1ubuntu3.5)
End-Date: 2026-02-17  06:31:17

Start-Date: 2026-02-17  06:31:23
Commandline: /usr/bin/unattended-upgrade
Upgrade: libexpat1:amd64 (2.6.1-2ubuntu0.3, 2.6.1-2ubuntu0.4)
End-Date: 2026-02-17  06:31:25

Pointer is not responding after logging in, freezed in the bottom right corner in Ubuntu 20.04.05 lts https://askubuntu.com/questions/1564076/pointer-is-not-responding-after-logging-in-freezed-in-the-bottom-right-corner-i

When I boot from my installation flash drive and go with "try ubuntu" pointer is responding fine. I have power max 3 hours a day in between long shutdowns. I have a job interview on Thursday. Your help is badly needed.

Dual screen help on the ASUS Vivobook S14 S432F https://askubuntu.com/questions/1564075/dual-screen-help-on-the-asus-vivobook-s14-s432f

On Ubuntu 24.04.4 LTS, the Screen Pad on my ASUS VivoBook S14 S432F is detected as a secondary display. Is there any existing Linux tool, ACPI module, or reverse-engineered driver that allows toggling Screen Pad 2.0 between display mode and touch pad mode?. I want to be able to toggle it between a touch pad and a secondary screen display. I am using an Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz (2.11 GHz) and intel(R) HDU graphics.

Firefox stopped working:cannot set memlock limit to 524288:524288: Operation not permitted https://askubuntu.com/questions/1564074/firefox-stopped-workingcannot-set-memlock-limit-to-524288524288-operation-not

I have "Ubuntu 22.04.5 LTS"

I don't use the desktop very much, it's been months since I've tried to launch Firefox. This time, it failed. When I try to launch from the cli, I get

cannot set memlock limit to 524288:524288: Operation not permitted

Same error with chromium-browser. I have no idea what that means.
When I look at the installed version, I see:
apt list firefox

firefox/jammy,now 1:1snap1-0ubuntu2 amd64 [installed]

This surprises me, I did not think firefox has anything to do with snap. But whatever, I just want it to work again. What should I do?

Very naive router in php doesn't work - keep getting 404 : the requested url was not found on this server https://askubuntu.com/questions/1564073/very-naive-router-in-php-doesnt-work-keep-getting-404-the-requested-url-was

I have been trying to create a simple router for a very simple website with PHP and apache2, but I keep getting 404 messages.
Before you go through this lengthy post, I did add DocumentRoot in nt2.conf in sites-available. I have not added it anywhere else.

I created a new directory called /var/www/nt2 (on Ubuntu 25.10). In there I created this

/var/www/nt2  
   index.php (contains the router)  
   .htaccess  
   views  
      home.php  
      contact.php  
      users.php  
      404.php  

Apache runs fine. PHP has been installed successfully, I have version 8.4.11. I can get any page if I fill in the full path. For example : localhost/views/contact.php. That works, but localhost/contact does not work at all and produces a 404 error.
I'm quite the beginner, but this is not complicated code and I just don't see what I'm not doing right.

This is index.php, I copied it from an article.

<?php  
$request = $_SERVER['REQUEST_URI'];  
$viewDir = __DIR__ . '/views';  
switch ($request) {  
    case '':  
    case '/':  
        require  $viewDir . 'home.php';  
        break;  
    case '/users':  
        require  . 'users.php';  
        break;  
    case '/contact':  
        require $viewDir . 'contact.php';  
        break;  
    default:  
        http_response_code(404);  
        require $viewDir . '404.php';  
}  
?\>  
  

The files in the views folder are all like this:

<?php   
echo "<h1>Contact me</h1>  
<p>Email me: memyselfandI@hotmail.com</p>"  
?>  

Nothing fancy.

I adjusted apache2.conf:
I added the ServerName at the bottom to get rid of a message: (AH00558 - could not reliably determine the server's fully qualified domain.

ServerName  
127.0.0.1  

I also added this :

<Directory /var/www/nt2/>  
        Options Indexes FollowSymLinks  
        AllowOverride None  
        Require all granted  
</Directory>  

I tried changing AllowOverride to All (I did the same thing for <Directory /var/www/> which exists in the default version. Nothing changed so I changed it back to None in both directories.

I created a configuration file in sites-available called nt2.conf and entered these commands: (The domain doesn't really exist btw.)

ServerName www.nt2.com  
ServerAlias nt2  
ServerAdmin webmaster@localhost  
DocumentRoot /var/www/nt2  

Then I ran:
a2ensite nt2.conf
a2dissite 000-default.conf

I also ran:

ufw allow http    
ufw allow https # I don't remember why I did that.      
ufw allow ssh    
ufw allow 'Apache Full' # I found that in an article. 

There's an .htaccess which I got from the same article.

RewriteEngine On  
RewriteCond %{REQUEST_FILENAME} !-f  
RewriteCond %{REQUEST_FILENAME} !-d  
RewriteRule  . /index.php [L]  

I more or less understand what it means, but I did just copy it. I've also tried commenting everything out, but it makes no difference.

I ran a2enmod rewrite

In mods-available I made changes in userdir.conf

UserDir nt2  
UserDir disabled root  
  
<Directory /var/www/nt2>  
        AllowOverride All  
        Options Indexes FollowSymLinks  
        Require all granted  
</Directory>  

I ran a2enmod userdir :

I adjusted php.init and added /var/www/nt2 to include_path (I had an error message).

I looked at all the permissions. /var/www/nt2 is owned by me, $USER. The default folder html is owned by root. All files and directories inside the folder are owned by me.

I added myself to www-data group. (I read that somewhere.)

Nothing works. I'm at the end of my tether and I really cannot figure this out.

I commented out the following in mods-available/php8.4.conf

#<IfModule mod_userdir.c>  
#    <Directory /home/*/public_html>  
#        php_admin_flag engine Off  
#    </Directory>  
#</IfModule>  

I ran a2enmod php8.4

I'm not getting any other error messages. Just the 404.
I reloaded and restarted apache2 a million times.
I ran all the a2blabla commands again and again.

Nope.
I am so tired. I tried ChatGPT. It assured me that my router logic was wrong, gave me more complicated code. It doesn't work at all. I have the impression I don't know what the right question is because I don't know what I don't know. If I do know what I don't know, I can ask good questions and figure it out. I agree this is flimsy code, but I do intend to replace it with classes and a router.php and everything spic and span. I just feel if I understand this bit well, the more complicated stuff will be easier to digest.

can traffic be routed out the interface of my SSH connection https://askubuntu.com/questions/1564072/can-traffic-be-routed-out-the-interface-of-my-ssh-connection

I have 6 VLANS and a WiFi connection. None of the networks interact. They can connect to things on their network and the public Internet. I was trying to use iproute2 source based routing and I guess I am not understanding something. The SSH session connects and its traffic flows correctly but anything try goes out the default network. Any assistance or direction to documents would be appreciated.

Setup: Ubuntu 24.04 IPROUTE2 tables I connect to 192.168.202.245 and I need all traffic my session generates to use 192.168.202.1 as a gateway But you will see from the ping it is using the WiFi network. If I down the WiFi, I can still connect and my session works, but I can not send any other traffic out.

testuser@pcr-svr2:~$ echo $SSH_CONNECTION
67.218.213.186 63029 192.168.202.245 22
testuser@pcr-svr2:~$ ping -c 2 -R 67.218.213.161
PING 67.218.213.161 (67.218.213.161) 56(124) bytes of data.
64 bytes from 67.218.213.161: icmp_seq=1 ttl=254 time=13.0 ms
NOP
RR:     192.168.10.101
        67.218.213.186
        67.218.213.161
        192.168.10.1
        192.168.10.101

64 bytes from 67.218.213.161: icmp_seq=2 ttl=254 time=10.0 ms
NOP     (same route)

testuser@pcr-svr2:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 24.04.4 LTS
Release:        24.04
Codename:       noble

cat /etc/iproute2/rt_tables
#
# reserved values
#
255     local
254     main
253     default
0       unspec
#
# local
#
#1      inr.ruhep
1 enp1s0
2 V2
3 V3
5 V5
10 V10
40 V40
90 WiFi

testuser@pcr-svr2:~$ nmcli
wlp2s0: connected to wlp2s0
        "Realtek RTL8822CE"
        wifi (rtw_8822ce), 48:8F:4C:D4:A9:16, hw, mtu 1500
        ip4 default
        inet4 192.168.10.101/24
        route4 192.168.10.0/24 metric 600
        route4 default via 192.168.10.1 metric 0

enp1s0: connected to enp1s0
        "Realtek RTL8111/8168/8411"
        ethernet (r8169), 00:E0:9D:85:8A:2C, hw, mtu 1500
        inet4 172.27.0.245/16
        route4 default via 172.27.0.1 metric 10
        route4 172.27.0.0/16 metric 100

enp1s0.10: connected to VLAN10
        "enp1s0.10"
        vlan, 12:12:12:02:01:10, sw, mtu 1500
        inet4 172.28.64.245/19
        route4 default via 172.28.64.1 metric 10
        route4 172.28.64.0/19 metric 403

enp1s0.2: connected to VLAN2
        "enp1s0.2"
        vlan, 12:12:12:02:01:02, sw, mtu 1500
        inet4 192.168.202.245/24
        route4 default via 192.168.202.1 metric 10
        route4 192.168.202.0/24 metric 400

enp1s0.3: connected to VLAN3
        "enp1s0.3"
        vlan, 12:12:12:02:01:03, sw, mtu 1500
        inet4 192.168.203.245/24
        route4 default via 192.168.203.1 metric 10
        route4 192.168.203.0/24 metric 401

enp1s0.40: connected to VLAN40
        "enp1s0.40"
        vlan, 12:12:12:02:01:40, sw, mtu 1500
        inet4 172.29.0.245/16
        route4 default via 172.29.0.1 metric 10
        route4 172.29.0.0/16 metric 404

enp1s0.5: connected to VLAN5
        "enp1s0.5"
        vlan, 12:12:12:02:01:05, sw, mtu 1500
        inet4 172.28.32.245/19
        route4 default via 172.28.32.1 metric 10
        route4 172.28.32.0/19 metric 402

lo: connected (externally) to lo
        "lo"
        loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536
        inet4 127.0.0.1/8
        inet6 ::1/128

DNS configuration:
        servers: 192.168.10.1
        interface: wlp2s0

        servers: 192.168.203.1
        interface: enp1s0.3

        servers: 172.28.64.1
        interface: enp1s0.10

        servers: 172.27.0.1
        interface: enp1s0

        servers: 192.168.202.1
        interface: enp1s0.2

        servers: 172.28.32.1
        interface: enp1s0.5

        servers: 172.29.0.1
        interface: enp1s0.40

Use "nmcli device show" to get complete information about known devices and
"nmcli connection show" to get an overview on active connection profiles.

Consult nmcli(1) and nmcli-examples(7) manual pages for complete usage details.
testuser@pcr-svr2:~$ ip rule list
0:      from all lookup local
10:     from 172.27.0.245 lookup enp1s0 proto static
10:     from 192.168.202.245 lookup V2 proto static
10:     from 192.168.203.245 lookup V3 proto static
10:     from 172.28.32.245 lookup V5 proto static
10:     from 172.28.64.245 lookup V10 proto static
10:     from 172.29.0.245 lookup V40 proto static
32766:  from all lookup main
32767:  from all lookup default
testuser@pcr-svr2:~$
testuser@pcr-svr2:~$
testuser@pcr-svr2:~$ ip route
default via 192.168.10.1 dev wlp2s0
172.27.0.0/16 dev enp1s0 proto kernel scope link src 172.27.0.245 metric 100
172.28.32.0/19 dev enp1s0.5 proto kernel scope link src 172.28.32.245 metric 402
172.28.64.0/19 dev enp1s0.10 proto kernel scope link src 172.28.64.245 metric 403
172.29.0.0/16 dev enp1s0.40 proto kernel scope link src 172.29.0.245 metric 404
192.168.10.0/24 dev wlp2s0 proto kernel scope link src 192.168.10.101 metric 600
192.168.202.0/24 dev enp1s0.2 proto kernel scope link src 192.168.202.245 metric 400
192.168.203.0/24 dev enp1s0.3 proto kernel scope link src 192.168.203.245 metric 401
testuser@pcr-svr2:~$
testuser@pcr-svr2:~$
testuser@pcr-svr2:~$ ip route list table 2
default via 192.168.202.1 dev enp1s0.2 proto static metric 10
testuser@pcr-svr2:~$
*****
the other vlans are the same with their gateway and device

I am not sure how local is created.   here it is:
testuser@pcr-svr2:~$ ip route list table local
local 127.0.0.0/8 dev lo proto kernel scope host src 127.0.0.1
local 127.0.0.1 dev lo proto kernel scope host src 127.0.0.1
broadcast 127.255.255.255 dev lo proto kernel scope link src 127.0.0.1
local 172.27.0.245 dev enp1s0 proto kernel scope host src 172.27.0.245
broadcast 172.27.255.255 dev enp1s0 proto kernel scope link src 172.27.0.245
local 172.28.32.245 dev enp1s0.5 proto kernel scope host src 172.28.32.245
broadcast 172.28.63.255 dev enp1s0.5 proto kernel scope link src 172.28.32.245
local 172.28.64.245 dev enp1s0.10 proto kernel scope host src 172.28.64.245
broadcast 172.28.95.255 dev enp1s0.10 proto kernel scope link src 172.28.64.245
local 172.29.0.245 dev enp1s0.40 proto kernel scope host src 172.29.0.245
broadcast 172.29.255.255 dev enp1s0.40 proto kernel scope link src 172.29.0.245
local 192.168.10.101 dev wlp2s0 proto kernel scope host src 192.168.10.101
broadcast 192.168.10.255 dev wlp2s0 proto kernel scope link src 192.168.10.101
local 192.168.202.245 dev enp1s0.2 proto kernel scope host src 192.168.202.245
broadcast 192.168.202.255 dev enp1s0.2 proto kernel scope link src 192.168.202.245
local 192.168.203.245 dev enp1s0.3 proto kernel scope host src 192.168.203.245
broadcast 192.168.203.255 dev enp1s0.3 proto kernel scope link src 192.168.203.245
testuser@pcr-svr2:~$


I had also tried:
ip route add default via 192.168.202.1 dev enp1s0.2 table V2 src 192.168.202.245
but it did not appear to make any difference

How can I get the WiFi to work on my MacBook Air? https://askubuntu.com/questions/1564070/how-can-i-get-the-wifi-to-work-on-my-macbook-air

I have installed Ubuntu 24.04 on a MacBook Air. The WiFi doesn't work.

If I try one of the solutions available on the internet it doesn't work because the WiFi doesn't work to download what is needed to have it work. The device doesn't have an Ethernet port.

How do I overcome this problem?

Setting up remote Ubuntu Microcloud instances https://askubuntu.com/questions/1564067/setting-up-remote-ubuntu-microcloud-instances

I have one instance of Microcloud setup on my LAN network, and cant find any real documentation regarding how to set it up across WAN. Any help would be appreciated.

how to resize /boot partition UBUNTU 24.04 GParted https://askubuntu.com/questions/1564058/how-to-resize-boot-partition-ubuntu-24-04-gparted

I have the following situation:

gparted live image

and need to resize my /boot partition at the very beginning of the drive. Now, unfortunately for some poor design when I installed Ubuntu I set my EFI partition in between the /boot and the root partition (/) of roughly 1TB.

My goal would be to shrink the / for ~650MB to add to the /boot; however, it appears this would necessarily pass through the EFI – which is something I'm aware should not be touched...

So, my question is it safe to do it or I should leave things as they are? I'm asking since I haven't allocated enough space for multiple updates at the same time, and I'm always forced to promptly removed unsed headers in order to update/upgrade the system. Thanks in advance!


Following along the steps below, this is where I'm at: unmount and then forbid edits

in the image above it appears I'm unable to edit the /boot/efi partition size...

Thunderbird will not Connect email Error 12 Ubuntu Noble Numbat https://askubuntu.com/questions/1564040/thunderbird-will-not-connect-email-error-12-ubuntu-noble-numbat

I am trying to use Thunderbird email system for several email addresses. The Godaddy/Microsoft combination gives an error 12 when set up. The setup was done multiple times (adding and deleting the account, deleting passwords, etc.) trying many things. The details are:

Incoming

  • Imap
  • outlook.office365.con
  • 993
  • SSL/TLS
  • OAuth2

Outgoing

  • SMTP.office365.com
  • 587
  • Starttls
  • Oauth2

The account gets set up and is confirmed but will not pass any data. Getting an error 12.
Godaddy is no help.

Gmail and yahoo accounts work great but not Godaddy. Any ideas?

re-install of the operating system but do not format and just 'overwrite' https://askubuntu.com/questions/1563988/re-install-of-the-operating-system-but-do-not-format-and-just-overwrite

Trying to use this:

A third option is to do a re-install of the operating system but do not format and just 'overwrite' your existing installation. Boot to the install media and go through the install process as usual.When you get to the partitioner to allocate drive space, depending on the version you are installing check the box marked 'Manually select partitions' or 'Something else' and click forward. Use the SAME user name and password as the existing account when setting up again. Find your existing installation and you must UNCHECK all the 'format' boxes and mount the partitions in the same place they are now. As long as no 'format' boxes are checked, no data will be lost in your home folder and the system files will be overwritten with the originals. You should then complete all system updates again.

but I get to here using Ubuntu 24.04.3 Desktop AMD64 iso on bootable USB:

Manual Partition

and can go no further using these instructions... my Ubuntu location to re-install to is sda5, which I can mount at /, but it won't let me uncheck the format box - so probably the wrong mount point to do this - other options are:

/boot

/home

/tmp

but are not where it needs to be re-installed to.

Reading on below, it appears format is forced due to Ubuntu not fixing their installer glitch and instead resorting to this inconvenience...

Well, except for the ‘nautilus, and nautilus type window pop-up corruption”, my Ubuntu Desktop 24.04.3LTS AMD64 system runs perfect - can still manipulate files via terminal and bypass nautilus, just click on the download link in my email (which just defaults to my Downloads folder, instead of save as which tries to pop-up the nautilus type window that crashes)… and the more complex work can be done using my Windows 10 laptop that works really great :-P

Some community members have suggested a similar question that may solve your problem.

Do any of these answer your question?

How to reinstall Ubuntu in the easiest way?

this link goes to something written eleven years ago (geeze!) - CURRENT 24.04 dos not permit re-install - forces format to get around ubuntu glitch - see notes in my 'answer' (ie praying for ubuntu to fix their desktop installer to permit non-destructive re-install!)

After upgrading from Ubuntu 20.04 to a higher kernel, the system won't boot up [closed] https://askubuntu.com/questions/1563954/after-upgrading-from-ubuntu-20-04-to-a-higher-kernel-the-system-wont-boot-up

I have a Lenovo ThinkPad x220. After upgrading from Ubuntu 20.04 to a higher kernel, the system won't boot up. I did it from pop-up notification box in GUI gnome. I also can't get access to this partition from other Linux distro (Linux Mint).

Posting some screens:

enter image description here

The root partition at /dev/sda1 is 100% used.

                                System                                

(Use arrows/PageUp/PageDown keys to scroll and TAB key to select)

=== General information ===
System mode: Read-Only mode
CPU information: 4x3300MHz
Network connectivity: none

=== Detailed disk usage ===
Filesystem      Size  Used Avail Use% Mounted on
udev            7.8G     0  7.8G   0% /dev
tmpfs           1.6G  1.2M  1.6G   1% /run
/dev/sda1        58G   55G     0 100% /
tmpfs           7.8G     0  7.8G   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           7.8G     0  7.8G   0% /sys/fs/cgroup

                                <OK>

enter image description here

The primary partition is almost entirely full, with 14,597,631 out of 15,360,000 blocks used.

/dev/sda1: clean, 287841/3842048 files, 14597631/15360000 blocks
Ubuntu Budgie, OpenRazer, and Secure Boot https://askubuntu.com/questions/1563684/ubuntu-budgie-openrazer-and-secure-boot

I recently cleared my laptop of Windows and installed Ubuntu Budgie 24.04.3 LTS. It is a 2018 Razer Blade 15 Adv. I have two problems.

  1. I installed OpenRazer, which also includes enrolling a MOK. It seems to randomly forget the MOK. It cannot load OpenRazer until I re-enroll the MOK again. Is there something that would remove the MOK automatically?

  2. Sometimes the system will lock up tight and I have to force reboot. The special key (PrtSc) to talk directly to the kernel doesn't work to reboot. I have to force power off. The special key works when not frozen. Also with this comes the MOK being removed from the boot and OpenRazer not loading. Where would I look to figure out what is causing these lock ups? I have checked the logs, but nothing jumps out.

ThinkPad E14 Gen 7 (Intel) – Headphones detected but no sound on Ubuntu 24.04 https://askubuntu.com/questions/1562782/thinkpad-e14-gen-7-intel-headphones-detected-but-no-sound-on-ubuntu-24-04

I am facing an audio issue on Lenovo ThinkPad E14 Gen 7 (Intel) running Ubuntu 24.04.

When I plug in wired headphones Ubuntu detects them correctly, but no sound is heard through the headphones. Audio either continues playing through the laptop speakers or becomes silent.

This appears to be a jack routing / Realtek audio issue.

System information:

  • Laptop: Lenovo ThinkPad E14 Gen 7 (Intel)
  • CPU: Intel
  • Audio: Intel HDA + Realtek codec
  • OS: Ubuntu 24.04 LTS (fresh + fully updated)
  • Audio stack: PipeWire (default)
Acer Chromebook 14 CB3-431 Touchpad Problem https://askubuntu.com/questions/1557699/acer-chromebook-14-cb3-431-touchpad-problem

I recently installed Ubuntu on an Acer Chromebook 14 CB3-431 laptop. It appears the installation did not recognize my touchpad. Is there a fix to the problem? Thanks

Uninstalling NVM is not successfull https://askubuntu.com/questions/1508723/uninstalling-nvm-is-not-successfull

I am newly assigned to take care of a VPS:

root@server#lsb_release -a
Description:    Ubuntu 20.04.6 LTS

I'd like to remove the Node Version Manager nvm, but apparently it persists!

I have done the following:

apt-get remove nvm

rm -r /usr/local/nvm

rm -r ~/.nvm

root@server:~# whereis nvm
nvm:
root@server:~# which nvm
root@server:~# strace nvm
strace: Can't stat 'nvm': No such file or directory

but when I ask for the Version:

root@server:~# nvm --version
0.39.7

Where is this coming from? Thanks in advance :-)

"Topaz is not supported in kfd" after upgrade to 21.04 https://askubuntu.com/questions/1355479/topaz-is-not-supported-in-kfd-after-upgrade-to-21-04

After upgrading to 21.04 my notebook freezes in login screen. If I start without gdm, the message I see in console is "Topaz is not supported in kfd" It works fine with 'nomodeset' in grub. My graphics card is: Topaz XT [Radeon R7 M260/M265 / M340/M360 / M440/M445 / 530/535 / 620/625 Mobile]

Is it a misconfiguration or wrong driver installed?

Thanks in advance.

edit some more info:

    walter@NoteWIM:~$ sudo lshw -c video
[sudo] senha para walter: 
  *-display DISPONÍVEL      
       descrição: VGA compatible controller
       produto: Haswell-ULT Integrated Graphics Controller
       fabricante: Intel Corporation
       ID físico: 2
       informações do barramento: pci@0000:00:02.0
       versão: 0b
       largura: 64 bits
       clock: 33MHz
       capacidades: msi pm vga_controller bus_master cap_list
       configuração: latency=0
       recursos: memória:b0400000-b07fffff memória:c0000000-cfffffff porta de E/S:5000(tamanho=64) memória:c0000-dffff
  *-display DISPONÍVEL
       descrição: Display controller
       produto: Topaz XT [Radeon R7 M260/M265 / M340/M360 / M440/M445 / 530/535 / 620/625 Mobile]
       fabricante: Advanced Micro Devices, Inc. [AMD/ATI]
       ID físico: 0
       informações do barramento: pci@0000:03:00.0
       versão: 00
       largura: 64 bits
       clock: 33MHz
       capacidades: pm pciexpress msi cap_list
       configuração: latency=0
       recursos: memória:a0000000-afffffff memória:b0000000-b01fffff porta de E/S:3000(tamanho=256) memória:b0900000-b093ffff memória:b0940000-b095ffff
AWK with RS not matching a pattern (asking again because I accidentally labeled as solved. Better explanation this time.) https://askubuntu.com/questions/1280858/awk-with-rs-not-matching-a-pattern-asking-again-because-i-accidentally-labeled

I have an ODT file with blank lines between lines of text. I want to search for a term and output the whole group of text where there is a match to the term. My approach is to say that the blank lines in the ODT file are the record separators. ODT files are zip archives with the text contained in content.xml. After unzipping the ODT file, I have used xmllint --format content.xml to insert newlines (as below) and "blank" lines are actually lines without text in between > and <. So I want to set RS to be any such line that does not have text between > and <. If the formatted content.xml file is as follows:

<long line of alphanumerics, slashes, single and double quotes><more or the same><and many more>
      <office:text>
      <text:sequence-decls>
        <text:sequence-decl text:display-outline-level="0" text:name="Illustration"/>
        <text:sequence-decl text:display-outline-level="0" text:name="Table"/>
        <text:sequence-decl text:display-outline-level="0" text:name="Text"/>
        <text:sequence-decl text:display-outline-level="0" text:name="Drawing"/>
        <text:sequence-decl text:display-outline-level="0" text:name="Figure"/>
      </text:sequence-decls>
      <text:p text:style-name="P1">This is the first line</text:p>
      <text:p text:style-name="P1"/>
      <text:p text:style-name="P1">This is the third line</text:p>
      <text:p text:style-name="P1">and this is some more text that is to be included</text:p>
      <text:p text:style-name="P1"/>
      <text:p text:style-name="P1">This is the sixth. I want it included,</text:p>
      <text:p text:style-name="P1">with this line</text:p>
      <text:p text:style-name="P1">and this one</text:p>
    </office:text>

and code is

$ awk '/line/' RS='\n[ \t]*<[^>]*>\n' file.xml

The whole file is output. But I only want:

      <text:p text:style-name="P1">This is the first line</text:p>
      <text:p text:style-name="P1">This is the third line</text:p>
      <text:p text:style-name="P1">and this is some more text that is to be included</text:p>
      <text:p text:style-name="P1">This is the sixth. I want it included,</text:p>
      <text:p text:style-name="P1">with this line</text:p>
      <text:p text:style-name="P1">and this one</text:p>
OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to storage.googleapis.com:443 https://askubuntu.com/questions/1200231/openssl-ssl-connect-ssl-error-syscall-in-connection-to-storage-googleapis-com4

I've been trying to install minikube on my Ubuntu machine as per this post.

But whenever I try to run...

curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 \
  && chmod +x minikube

... I got following error.

OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to storage.googleapis.com:443

For more details please check attached screenshot. enter image description here

OS Version:Ubuntu 18.04.3 LTS

Curl Version: curl 7.58.0 (x86_64-pc-linux-gnu)

OpenSSL Version: OpenSSL/1.1.1

So far I've tried to run this command by downgrading curl to 7.33, upgrading to 7.68 and even reinstalled my OS and tried this command but its always shows me same error. I've been scratching my head to solve this problem for last 2 night any suggestion or solution would be much appreciated.

For Ubuntu 18.04, is there a way to show drop-down menus for a certain applications in a menu bar? https://askubuntu.com/questions/1050378/for-ubuntu-18-04-is-there-a-way-to-show-drop-down-menus-for-a-certain-applicati

This applies to Nautilus, Gedit, and others. I would like to select, for example, Copy and Paste from a drop down menu, but I am forced to use either the right-click menu or Ctrl-C Ctrl-V shortcuts, because the drop-down menus are non-existent. These menus provided easy access for many essential functions, and I would like to use them on Ubuntu 18.04.

This image (from Ubuntu 16.04) shows the drop-menu feature I'm looking for.

drop-down menu

I know there are similar questions about this issue, but the answers are not definitive and recommend installing Gnome Global Application Menu, which does not implement this feature properly. Also, there are rumors that this shell extension is no longer supported. In either case, it doesn't work.

I've tried several settings, installed Gnome Tweak Tool, logged in with Unity User interface, but nothing works. It doesn't matter if the menus are located in the window's title bar or the top menu bar, as long as they are available somewhere.

My question is: Is it even possible to have these drop-down menus, or should I just give up and stop wasting my time?

Question mark in Network Manager Ubuntu 17.10 https://askubuntu.com/questions/1009695/question-mark-in-network-manager-ubuntu-17-10

I use Ethernet with my laptop because of certain reasons. Every so often the Ethernet turns into a question mark and there is no internet until I reboot.

The VPN connection fails because the VPN service failed to start https://askubuntu.com/questions/882785/the-vpn-connection-fails-because-the-vpn-service-failed-to-start

I have a problem adding PPTP VPN.

I just upgraded Ubuntu with sudo apt-get upgrade and the PPTP VPN stopped working with this message:

The VPN Connection 'VPN Connection 1' failed because the VPN service failed to start
Linux restrict user to specific folder in var/www https://askubuntu.com/questions/788421/linux-restrict-user-to-specific-folder-in-var-www

My apache root /var/www/html/ contains the following folders.

  1. myapp
  2. test
  3. testapp

I want to create a new user to access only testapp folder (read/write). Other folders shouldn't be read.

I created a new user for for the group www-data (as www-data is the owner of the /var/www/html/) and I'm able to login via ssh as well. Now the problem is the new user is having access to all the 3 folders above. I need to restrict the user to have access only to testapp folder. (Other folders shouldn't be read by the new user)

Some people suggested to use chroot but it is unclear for me. Is there any way to restrict the www-data user only to a specific folder?

Cloning Encrypted SSD to larger SSD https://askubuntu.com/questions/761763/cloning-encrypted-ssd-to-larger-ssd

I currently have a 128GB SSD. Its using encryption that comes with Ubuntu.

What's the best way to clone this to another SSD that's bigger and then expand the partition to be bigger to fit this new larger SSD?

Can I just clone the disk like for like, and then use something like Gparted to expand the partition? Or does it not work like that with the encryption ?

Any help would be appreciated.

Emacs closes when terminal closes [duplicate] https://askubuntu.com/questions/642173/emacs-closes-when-terminal-closes

I open a file with Emacs through terminal just typing

emacs file.txt

and when I close terminal, Emacs closes too, and when I try to execute another thing terminal doesn't let me because keeps like this:

Screenshot of Emacs

How can I solve this?

Bangla subtitle(connected letter) problem in VLC and gnome-mplayer https://askubuntu.com/questions/610641/bangla-subtitleconnected-letter-problem-in-vlc-and-gnome-mplayer

I am trying to run a srt file written in unicode Bangla. I have changed the encoding settings to UTF-8 and select a Bangla unicode font in VLC subtitle settings.

I can see normal letter but not connected letters (i.e ক + ে = কে). Same thing is happening in gnome-mplayer.

Is any media player can render complex Bangla unicode in screen?

screenshot of latest VLC player

enter image description here

Note: I already installed Bangla Language/support package.

Surround Sound on Ubuntu 14.04 with Logitech G430? https://askubuntu.com/questions/491626/surround-sound-on-ubuntu-14-04-with-logitech-g430

I have a Logitech G430 headset, that comes with 7.1 surround sound.

On Windows 7, I have the Logitech Gaming Software installed, which allows me to have surround sound on my headset.

I was wondering whether there was an Ubuntu method to allow me to get surround sound on my headset, because the methods I have tried, haven't worked.

How to install gromacs 4.5.5 and upgrade to gromacs 4.6.3? https://askubuntu.com/questions/405393/how-to-install-gromacs-4-5-5-and-upgrade-to-gromacs-4-6-3

So, I tried to install gromacs 4.6.3 and 4.6.5.

but when I tried it says gromacs not found.

and "The program "genbox" is currently not installed. You can install it by typing: sudo apt-get install gromacs"

so I did that. what I have now is gromacs 4.5.5.

I want 4.6.3 or 4.6.5

How can I delete the 4.5.5 and have the 4.6.3?

Thanks

gnome terminal scrollbar visibility https://askubuntu.com/questions/365716/gnome-terminal-scrollbar-visibility

According the manual below

https://help.gnome.org/users/gnome-terminal/stable/pref-scrolling.html.en

There is an option (Edit ▸ Profile Preferences ▸ Scrolling) "Scrollbar visibility" so that you can choose from the following options:

  • Always visible: Scrollbar is visible at all times.

  • Visible only when necessary: Scrollbar is visible only when terminal output exceeds the length of Terminal window size.

  • Hidden: Scrollbar is always hidden from view.

But in Ubuntu 12.04 (I removed unity so the scrollbar is the old style), there is no such option. The scrollbar is always shown even I didn't type anything.

How to change this, please.

11.10 does not restore open apps in hibernate, works like shutdown https://askubuntu.com/questions/74557/11-10-does-not-restore-open-apps-in-hibernate-works-like-shutdown

I noticed that my 11.10 does not hibernate. When I hibernate, and starts PC, it doesn't restore all my open apps etc. Its like a shutdown ... why might that be?

UPDATE

  • Output from gsettings http://pastie.org/2926504
  • Using a vanilla Ubuntu Desktop 11.10 installed yesterday (no more from alternate CD, but problem still persists)
  • I dont see any options in BIOS for S1, S3 or ACPI, are they hidden somewhere? I am using ASUS H67 Evo, I entered the Advanced mode of the BIOS, I still dont see those stuff
  • ps-*.log files: http://pastie.org/2922774
  • GRUB entry: http://pastie.org/2922781