Forrest logo
tool overview
On this page you find all important commands for the CLI tool wol. If the command you are looking for is missing please ask our AI.

wol

The command line tool "wol" stands for "Wake-on-LAN." It is used to send a special network packet known as the Magic Packet to wake up a device remotely. "Wake-on-LAN" is a feature present in many modern computers and network devices that enables them to be powered on remotely. The tool requires the physical (MAC) address of the device that needs to be woken up, which is unique to each network interface. The MAC address is used to create the Magic Packet, which is then broadcasted on the local network. The destination device checks for specific patterns in the Magic Packet and if a match is found, the device powers on. The "wol" command is commonly used in network administration and management scenarios to remotely wake up machines for maintenance, updates, or other administrative tasks.

List of commands for wol:

  • wol:tldr:0da05 wol: Read hardware addresses, IP addresses/hostnames, optional ports and SecureON passwords from a file.
    $ wol --file=${filename}
    try on your machine
    explain this command
  • wol:tldr:49323 wol: Send a WoL packet to a specific port on a host.
    $ wol --port=${port_number} ${mac_address}
    try on your machine
    explain this command
  • wol:tldr:52c43 wol: Send a WoL packet to a device in another subnet based on its IP.
    $ wol --ipaddr=${ip_address} ${mac_address}
    try on your machine
    explain this command
  • wol:tldr:656bf wol: Send a WoL packet to a device.
    $ wol ${mac_address}
    try on your machine
    explain this command
  • wol:tldr:6f680 wol: Send a WoL packet to a device in another subnet based on its hostname.
    $ wol --host=${hostname} ${mac_address}
    try on your machine
    explain this command
  • wol:tldr:f7e76 wol: Turn on verbose output.
    $ wol --verbose ${mac_address}
    try on your machine
    explain this command
tool overview