Target Device Configuration
Network Configuration
Common Broadcast Addresses
Common WOL Ports
Magic Packet Generated
{{ magicPacket.formattedMAC }}
WOL Compatibility Analysis
Platform Commands
🐧 Linux
{{ commands.commands.linux.wakeonlan }}
{{ commands.commands.linux.etherwake }}
🪟 Windows
{{ commands.commands.windows.powershell }}
🍎 macOS
{{ commands.commands.macos.wakeonlan }}
{{ commands.commands.macos.homebrew }}Programming Examples
🐍 Python
{{ commands.commands.programming.python }}
🟢 Node.js
{{ commands.commands.programming.nodejs }}
📜 Bash Script
{{ commands.commands.programming.bash }}
Setup Tips & Validation
⚠ Warnings
- • {{ warning }}
💡 Setup Tips
- • {{ tip }}
Generate Wake-on-LAN magic packets
Enter a MAC address to create WOL commands
ℹ️ About Wake-on-LAN Tool
Wake-on-LAN (WOL) wakes a sleeping or powered-off computer by sending a magic packet to the target network adapter. Use this tool to build the packet bytes, check whether a MAC address is suitable for WOL, choose a broadcast address and UDP port, and generate Linux, Windows, macOS, router, Python, Node.js, and Bash commands.
Wake-on-LAN is most useful for remote workstation access, NAS wake-up, home lab automation, overnight patch windows, classroom labs, and server maintenance where the device remains connected to standby power. This page generates magic packet data and commands; it cannot guarantee that the packet reaches the target or that the device firmware accepts it.
Magic packet structure
- Synchronization stream: 6 bytes of
0xFF, shown asFFFFFFFFFFFF. - Target MAC address: the 6-byte EUI-48/MAC value repeated exactly 16 times after the sync bytes.
- Payload size: 102 bytes before any optional SecureOn password extension.
- Example:
00:11:22:33:44:55becomesFFFFFFFFFFFF001122334455001122334455.... - Transport: commonly sent as a UDP broadcast to port
7or9, though the magic packet pattern itself is the important part.
Choosing the destination
- Same subnet: use
255.255.255.255or the local subnet broadcast address, such as192.168.1.255. - Different subnet: most routers block directed broadcasts unless explicitly configured, so use a VPN, relay host, router WOL feature, or management network.
- MAC address: use the wired interface MAC address, not a Wi-Fi MAC, randomized privacy address, Bluetooth address, or vendor OUI by itself.
- Verification: follow up with ping, ARP table checks, remote management logs, or a service check because UDP WOL has no delivery acknowledgement.
Setup requirements
- Firmware: enable Wake-on-LAN, PCIe wake, or Wake on Magic Packet in BIOS/UEFI power-management settings.
- Operating system: enable wake behavior on the Ethernet adapter and check sleep, hibernation, and fast-startup settings.
- Power state: the NIC must remain powered in the selected sleep/off state; some systems only wake from S3 sleep, not full shutdown.
- Network path: confirm that switches, VLANs, wireless bridges, VPNs, and firewalls allow the broadcast or relay method you plan to use.
- Command format: generated commands use the selected MAC, broadcast address, and UDP port, but local tools may use different option names.
Network and security limitations
- No authentication by default: a normal magic packet is just a repeated MAC address pattern. Some adapters support a 6-byte SecureOn password, but that is not a substitute for VPN or network access control.
- Broadcast exposure: avoid forwarding UDP port
7or9from the public Internet to a broadcast address. Prefer a VPN, jump host, or router management interface. - Directed broadcasts: router defaults commonly block subnet-directed broadcasts because they can be abused for amplification attacks.
- Layer-2 scope: WOL is easiest inside one broadcast domain. Across routed networks, you need an approved relay or router feature.
- Privacy: this browser page builds packet bytes and command examples locally; do not share real device MAC addresses in tickets or screenshots unless required.
References
The Wake-on-LAN magic packet format is described in AMD's original Magic Packet Technology white paper. Broadcast addressing, directed-broadcast security behavior, UDP port conventions, and MAC address structure are covered by IETF and IANA references.
API Usage Example:
POST /api/tools/networking/wake-on-lan
Content-Type: application/json
{
"operation": "generate",
"mac": "00:1B:63:84:45:E6",
"broadcast": "255.255.255.255",
"port": 9
}