Wake on LAN stopped working after upgrading packages
https://askubuntu.com/questions/1564077/wake-on-lan-stopped-working-after-upgrading-packagesI 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









