Wake-on-LAN (WOL) Configuration & Inventory#

This guide covers how to enable, persist, and verify Wake-on-LAN (WOL) across Linux nodes and Proxmox hosts, followed by a comprehensive MAC address inventory for the local and remote clusters.


1. Verification & Manual Activation#

Check WOL Support#

Use ethtool to check if your network interface supports the “Magic Packet” (designated by the letter g).

# Replace eno5 with your actual interface name
ethtool eno5 | grep Wake-on

Output Interpretation:

  • Supports Wake-on: pumbg: The hardware supports WOL (g = Magic Packet).
  • Wake-on: g: WOL is currently enabled.
  • Wake-on: d: WOL is disabled.

Enable Manually#

sudo ethtool -s eno5 wol g

Note: Ensure WOL is also enabled in the BIOS/UEFI settings of the physical machine.


2. Testing & Verification#

Monitoring for Magic Packets#

To verify that the server is actually receiving the packets, use ngrep to listen for the specific hex pattern of a WOL packet on port 9.

apt update && apt install ngrep -y
sudo ngrep '\xff{6}(.{6})\1{15}' -x port 9

Action: Send a WOL packet from another device. If working, the packet data will appear in the terminal.

Client Tools#

On macOS (Homebrew):

brew install wakeonlan
# Usage: wakeonlan [MAC_ADDRESS]

On Proxmox/Debian:

apt install etherwake -y
# Usage: etherwake [MAC_ADDRESS]

3. Ensuring Persistence#

Method A: Network Interfaces (Debian/Proxmox)#

Edit your network configuration to enable WOL every time the interface comes up.

nano /etc/network/interfaces

Add to the specific interface:

iface eno5 inet static
    ...
    post-up /usr/sbin/ethtool -s eno5 wol g

Method B: Systemd Service#

If the interface method fails to persist after reboot, create a dedicated systemd service.

nano /etc/systemd/system/wol.service

Service Content:

[Unit]
Description=Wake-on-LAN for eno5
Requires=network.target
After=network.target

[Service]
Type=oneshot
ExecStart=/usr/sbin/ethtool -s eno5 wol g
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target
systemctl daemon-reload
systemctl enable --now wol.service

4. Server Inventory (MAC Addresses)#

Main Cluster (Marc)#

Node MAC Address(es) Notes
HP1 94:57:a5:65:4e:90, 94:57:a5:65:4e:94
HP2 94:57:a5:65:7e:88, 94:57:a5:65:7e:8c
HP3 ec:b1:d7:7c:a9:48 10Gbe #1
HP4 20:67:7c:ee:63:80 Port 2 (FlexFabric 10Gb)
HP5 20:67:7c:ee:04:c0 Port 2 (FlexFabric 10Gb)
HP6 50:65:f3:f1:b8:90, 50:65:f3:f1:b8:91
HP7 ac:16:2d:6e:64:fc Hardware resolve issues
HP8 80:30:e0:3b:a5:74, 80:30:e0:3b:a5:77
HP9 68:b5:99:77:17:c2
HP10 00:26:55:29:0d:cc
Supermicro ac:1f:6b:6f:31:76 eno1 (1Gbe)
MacMini 38:C9:86:0D:8D:D4, 8c:ae:4c:dd:ee:3d 2.5G Port

Remote Cluster (Christian)#

Node MAC Address
HP1 3c:d9:2b:01:27:74
HP2 00:26:55:2e:68:b2

Not Working / Untested:

  • Mac Pro 3.1/5.2: Standard WOL commands are currently unreliable.
  • Supermicro 10Gbe (enp1s0f0): WOL is not supported on the 10Gbe interface.