Wake-on-LAN for macOS
Wake on LAN (or WOL) allows you to remotely turn on a computer.
Note: WOL is available only on OS X 10.11 (El Capitan) or later.
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.
Article Number: 449
Posted: Mon, Dec 19, 2016 1:23 PM
Last Updated: Wed, Dec 21, 2016 9:01 AM
Online URL: https://kb.netop.com/article/wake-on-lan-for-macos-449.html