Wake on LAN (or WOL) allows you to remotely turn on a computer.
If I shutdown my computer from Windows 10, wake on lan works as it should. In Mac OS i cannot find any specific setting for enabling Wake On Lan. In Windows it is enabled. Also, another difference I notices is that all my USB ports loses power when Mac OS is shutdown. The Wake on LAN tool works very well with my DSL-Modem (Zyxel 650ME). All I had to do is forwarding port 9 to my Mac's IP. It looks like: Forwarding port 9 to port 9 on (internal) IP address 192.168.1.2 Important: Make sure that from where you send your wake on LAN command, the firewall must let the command go through! (TCP-Port 9 must be open).
Note: WOL is available only on OS X 10.11 (El Capitan) or later.
Wake On Lan Mac Os Terminal
Enabling WOL on OS X
To enable WOL, do the following:
For OSX it can be enabled from System Preferences ->Energy Saver by turning on Wake for network access.
Restart the computer and boot into Recovery mode by holding CMD+R on boot until the Apple logo appears.
Open Terminal from the Utilities menu.
Disable System Integrity Protection by running the csrutil disable; reboot command.
After OSX boots up, make sure you're logging in as an administrator and open Terminal from /Applications/Utilities/Terminal.app
Log in as root by running the sudo -i command in the terminal window.
Edit the boot configuration file by running the vim /Library/Preferences/SystemConfiguration/com.apple.Boot.plist command.
Press i to enter Insert mode. Find the Kernel Flags and change it to Kernel Flags darkwake=0
Press Esc, then input :wq and press Enter to save the file and quit vim.
Run the reboot command.
Boot into Recovery mode by holding CMD+R on boot time.
Open Terminal from Utilities menu.
Re-enable System Integrity Protection by running the csrutil enable; reboot command.
After OSX boots up, disable the Password Requirement after sleep, by opening System Preferences >Security & Privacy, selecting the General tab, and unchecking the Require password field.
Here are some steps you can take to troubleshoot issues when trying to wake a Mac.
Minimum Requirements
The computer you are trying to wake up must be on a wired connection (not on WiFi)
A second LogMeIn host computer must be switched on and in the same network in order to send the wake request
Hardware Requirements
First, confirm that you meet the hardware requirements for using Wake on LAN:
Confirm that the computer is on a wired network (not WiFi). Wake On LAN is not supported for Mac hosts on a wireless network.
Make sure the host is in Stand-by, sleep, or hibernation (ACPI specification S3 or S4) mode.
You cannot wake a Mac that is powered off.
Adjust the Power Management settings in a System Configuration file
Check the Power Management settings on the Mac you want to wake up.
Open Finder.
Navigate to SystemConfiguration by going to Go > Go to folder and typing /Library/Preferences/SystemConfiguration/.
Open the following file: com.apple.PowerManagement.plist.
Set the <integer> Wake On LAN </integer> value to 1 for the following <keys>:
<key> AC Power </key>
<key> Battery Power </key>
<key> UPS Power </key>
Restart the Mac.
Wake On LAN should be available.
Adjust the Power Management settings in Terminal
Open Finder.
Navigate to Terminal by going to Go > Utilities and double-clicking on Terminal.
The Terminal window is displayed.
Type pmset -g live.
A table with settings and values is displayed.
Look for the value womp and verify that it is set to 1.
If it is not set to 1, you can set it with the command sudo pmset -a womp 1.
Wake On Lan For Mac Os X
Further Resources and Information
Make sure the host is in Stand-by, sleep, or hibernation (ACPI specification S3 or S4). You cannot wake a Mac that is powered off.
Wake On Lan Macos App
ACPI (Advanced Configuration and Power Interface) standards:
Mac Wake On Lan Terminal
S0 – System is fully powered on
S1 – Power on Suspend(POS): Power to the CPU and RAM is maintained.
S2 – CPU powered off.
S3 – Standby, Sleep or Suspend: RAM still has power
S4 – Hibernation: Memory is saved to the hard drive and the system is powered down.
S5 – Shut Down: The power supply still supplies power to the power button.
Wake On Lan For Mac Os 10.10
For additional information, visit the Apple support site.