macOS - Wake Up Servers Using Wake-on-LAN ( WOL ) Command Utility

ww‮l.w‬autturi.com
macOS - Wake Up Servers Using Wake-on-LAN ( WOL ) Command Utility

To wake up servers using the Wake-on-LAN (WOL) command utility on macOS, you can use the wakeonlan command. This command allows you to send a "magic packet" to a server that is in sleep or standby mode, which will cause it to wake up and resume normal operation.

To use the wakeonlan command, you will need to know the MAC address of the network interface of the server that you want to wake up. You can typically find this information in the server's BIOS or network settings.

To wake up a server using the wakeonlan command, you can run the following command, replacing xx:xx:xx:xx:xx:xx with the MAC address of the server's network interface:

wakeonlan xx:xx:xx:xx:xx:xx

This will send a magic packet to the server with the specified MAC address, which will cause it to wake up. You can then connect to the server using SSH or another remote access protocol.

By using the wakeonlan command, you can easily wake up servers that are in sleep or standby mode using macOS. This can be useful for remotely managing servers and performing maintenance tasks.

Created Time:2017-10-16 14:38:55  Author:lautturi