Support Communities / Mac OS & System Software / Mac OS X Technologies Looks like no one’s replied in a while. To start the conversation again, simply ask a new question. User profile for user: GalenLezmor. Question: Q: Enable Wake On LAN (WOL) from terminal command line. (It's a Perl script for waking up computers via Wake-On-LAN magic packets.) When installed, you can send a 'magic packet' from your Terminal to any device using its IP (Internet Protocol) and MAC (Media Access Control) address. Here's an example of a typical use: $ wakeonlan -i 192.168.1.255 -p 1234 01:02:03:04:05:06. You can turn on an offline computer with TeamViewer via Wake-on-LAN. This way, you can control an offline computer remotely by waking it up before you establish a connection. Wake-on-LAN can be used through two different methods: A. Wake up a computer (hereinafter named as target computer) via another computer within the same network. Wake on LAN is a feature built into the NIC (the Ethernet card), and then the OS must support it too. This is one of the things, in the PC world, that determines one the differences between a manufacturer's home computer line (like Compaq Prosario), and business computer line (like Compaq Deskpro). Description: This technical article shows how to enable or disable Wake on LAN access in Mac OS X. Select System Preferences from the dock. Click and open Energy Saver. Check Wake for network access to enable Wake on LAN or uncheck it to disable Wake on LAN.
- Wake On Lan For Mac Os X
- Wake On Lan Macos Catalina
- Wake On Lan Macos App
- Wake On Lan Macos High Sierra
Introduction
Wake on LAN (or WOL) allows you to remotely turn on a computer.
![For For](/uploads/1/1/8/2/118220506/527711440.gif)
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.
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
Wake On Lan For Mac Os X
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.
![Wake on lan for mac os 10.10 Wake on lan for mac os 10.10](/uploads/1/1/8/2/118220506/801237573.png)
- 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>
- <key> AC Power </key>
- Restart the Mac. Wake On LAN should be available.
Wake On Lan Macos Catalina
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.
Further Resources and Information
Wake On Lan Macos App
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.
ACPI (Advanced Configuration and Power Interface) standards: - 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 Macos High Sierra
For additional information, visit the Apple support site.