networking_wake_on_lan
Construct Wake-on-LAN magic packets and cross-platform wake commands from a MAC address, with options to validate or analyze suitability. Results are computed locally without network transmission.
Instructions
Wake-on-LAN Magic Packet & Command Builder. Build a Wake-on-LAN (WOL) magic packet and ready-to-run wake commands for a target MAC address — it constructs the 102-byte packet hex and emits Linux/Windows/macOS/router/ Python/Node.js/Bash commands, but does not transmit anything itself (run the returned command to actually wake the host). Choose operation to scope the work: "generate" (all outputs), "packet" (packet bytes only), "commands" (per-platform commands), "validate" (check MAC/broadcast/port + setup tips), or "analyze" (MAC WOL-suitability). Computes locally from your input: no socket is opened, non-destructive, idempotent, and rate-limited (5 req/min anonymous, CAPTCHA above 15/hr).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mac | Yes | Target adapter MAC address; accepts colon, dash, dot, or bare 12-hex-digit formats. | |
| operation | No | Which output to build: generate=all, packet=magic-packet bytes only, commands=per-platform wake commands, validate=setup check, analyze=MAC suitability. | generate |
| broadcast | No | Broadcast IPv4 address the wake commands target; ignored by the packet and analyze operations. | 255.255.255.255 |
| port | No | UDP port for the wake commands (7 Echo or 9 Discard are standard); used by commands, validate, and generate. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | No | Whether the build succeeded. | |
| operation | No | The operation that was run, echoed back. | |
| result | No | Operation-dependent payload. packet returns the magic-packet bytes (targetMAC, formattedMAC, packetHex, packetLength, synchronizationBytes, macRepetitions 16, totalSize 102, packetStructure). commands returns targetMAC, broadcastAddress, port, and per-platform commands. validate returns isValid, errors, warnings, setupTips, networkInfo. analyze returns mac, isUnicast, isLocallyAdministered, wolCompatible, notes, warnings. generate returns magicPacket, commands, validation, and macAnalysis combined. | |
| error | No | Failure message (e.g. Invalid MAC address format); present only when success is false. |