Commit graph

27 commits

Author SHA1 Message Date
b8d281348e
fix(wol-sleeper): wait for the internal address after a wakeup
Remote clients reach the backup server over wireguard only on its
internal address; waiting for the wakeonlan network address never
ended there, so htz.mails and the mseibert nodes had no backup since
2026-01-07. The wait now gives up after ten minutes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RywMtsL8qXG7GDY3MHq9Uh
2026-10-23 14:30:21 +02:00
14e055a5e0
wol: share the wakeonlan command via wol-sleeper/waker_command
Sleeper now exposes the full `/usr/bin/wakeonlan -i <broadcast> <mac>`
invocation as wol-sleeper/waker_command; waker reads that instead of
rebuilding the command line itself. Adds the `-i <subnet-broadcast>`
flag so magic packets reach sleepers on a different L2 segment than
the waker.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-16 01:00:30 +02:00
985a15e5c7
wol waker only allow wakeonlan command 2026-01-11 14:52:46 +01:00
e6685b6fcf
wakeonlan-remove-downtime.service running idc 2022-11-17 11:09:45 +01:00
12621fa36b
wait until network is actually up 2022-09-24 13:51:26 +02:00
4248db53ac
oops 2022-09-24 13:40:35 +02:00
ac919278aa
rename timer 2022-09-24 13:37:13 +02:00
6c0193520d
resolve unnecessary metaproc 2022-09-24 13:35:45 +02:00
ca15978a6c
enable wakeonlan-remove-downtime 2022-09-23 18:57:17 +02:00
95c71b122d
wakeonlan downtime 2022-09-23 18:45:24 +02:00
c8a916d5ac
dont supsend if outgoing connections present 2022-09-21 22:11:09 +02:00
mwiegand
8a13421577 improve wake on lan 2022-08-09 19:58:47 +02:00
mwiegand
b528e9b94b wol fix and refactor 2022-04-02 19:30:59 +02:00
mwiegand
f1afe13fad wol: more sleep 2022-02-13 00:19:19 +01:00
mwiegand
9ea206318c min wake 10 mins 2022-02-12 21:18:16 +01:00
mwiegand
2176403bcc wol install jq 2022-02-12 21:17:50 +01:00
mwiegand
4906b13a38 use uptime since last wake instead of boot 2022-02-12 21:16:08 +01:00
mwiegand
b08fe2c749 no sleep when ssh 2022-02-12 20:55:17 +01:00
mwiegand
dbca66326a sleep faster 2022-02-12 20:40:57 +01:00
mwiegand
fab4d0a476 wakeup hook 2022-02-12 20:40:28 +01:00
mwiegand
cf6e716301 fix if 2022-02-12 20:40:14 +01:00
mwiegand
df607f0656 suspend_if_idle ignore own service 2022-02-12 20:23:33 +01:00
mwiegand
cfee1d74b0 wol suspend if idle 2022-02-12 19:50:36 +01:00
mwiegand
e406db30f9 test OK 2022-02-12 18:26:13 +01:00
mwiegand
6727fcf404 wake_command 2022-02-12 18:23:09 +01:00
mwiegand
d12b446f34 wol + 2022-02-12 17:15:15 +01:00
mwiegand
98ba428bb7 wol-sleeper 2022-02-12 16:58:44 +01:00