Files
oam/knowledge base/wakeonlan.md
2023-10-15 13:34:25 +02:00

1.0 KiB

wakeonlan

Table of contents

  1. TL;DR
  2. Further readings
  3. Sources

TL;DR

# Install `wakeonlan`.
brew install 'wakeonlan'

# Broadcast a WOL package.
wakeonlan '11:22:33:44:55:66'

# Simulate the broadcast.
wakeonlan -n '11:22:33:44:55:66'

# Limit the magic package to specific networks or hosts.
# Use network *broadcast* addresses to ensure the magic packets can actually
# reach the target host; avoid this by having a static ARP table configured.
wakeonlan -i '192.168.1.255' '11:22:33:44:55:66'
wakeonlan -n '11:22:33:44:55:66' -i '192.168.100.3'

Further readings

Sources

All the references in the further readings section, plus the following: