[pve-devel] [PATCH v2 pve-manager pve-docs 0/4] add optional WoL config options

Christian Ebner c.ebner at proxmox.com
Tue Mar 26 10:16:55 CET 2024


For certain network setups the default values currently used to send
a wake on lan magic packet are not correct, e.g. it will get send via
the interface for which the default gateway is configured.

This patches add optional configuration options to set a bind
interface, over which to send the WoL packet and/or set a broadcast
address to use.

The functionality was tested by listening on all interfaces of the
sending host via `tcpdump -i any udp port 9`, and testing the
combinations of

`pvenode config set -wakeonlan XX:XX:XX:XX:XX:XX,bind-interface=<iface-name>`

and

`pvenode config set -wakeonlan XX:XX:XX:XX:XX:XX,broadcast-address=<broadcast-address>`.

See also the thread in the community forum
https://forum.proxmox.com/threads/123459/

pve-manager:

Christian Ebner (3):
  node: config: make wakeonlan a property string
  fix #5255: node: wol: add optional bind interface
  fix #5255: node: wol: configurable broadcast address

 PVE/API2/Nodes.pm | 23 ++++++++++++++++----
 PVE/NodeConfig.pm | 53 +++++++++++++++++++++++++++++++++++++++++------
 2 files changed, 66 insertions(+), 10 deletions(-)

pve-docs:

Christian Ebner (1):
  pvenode/wake-on-lan: mention optional config options

 pvenode.adoc | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

-- 
2.39.2





More information about the pve-devel mailing list