Introduction
- If your Mac asleep, sending a magic WOL packet would wake up the Mac, however, if your Mac doesn’t have an Ethernet connection then when it was completely powered off you will not be able to wake up the Mac. Keep in mind of the use cause and their limitations when use this to wake up Mac.
- This article describes known issues and causes for wake on LAN (WoL) on Mac devices. Macs do not wake up when suspended. Macs do not wake up when powered off. Screen may remain blank after waking.
Wake on LAN (or WOL) allows you to remotely turn on a computer.
SolarWinds FREE Wake-On-LAN powers up your remote PC with a packet created for its unique MAC address.
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.
I cannot make WOL function on my new Mac Mini. I am using the wired ethernet interface. I enabled System Preferences / Energy Saver / Options / 'Wake for Ethernet network administrator access.'
I used the old reliable perl script wakeonlan to send 'magic packets' to the Mac Mini. Lots of magic packets. The Mini kept sleeping. Moving the mouse wakes it up immediately, so I know that it is not dead.
Is there anything else I can try?
David Arnstein (00) [email protected] {{ }}
^^
^^
David Arnstein wrote:
Moving
the mouse wakes it up immediately, so I know that it is not dead.
the mouse wakes it up immediately, so I know that it is not dead.
Mouse movement should only 'wake' the display, not the Mac. If your mini's pilot light isn't throbbing, it's not really sleeping.
David Arnstein wrote:
I cannot make WOL function on my new Mac Mini. I am using the wired ethernet interface. I enabled System Preferences / Energy Saver / Options / 'Wake for Ethernet network administrator access.'
I have a current model Mac Mini connected via Ethernet and I'm able to wake it using the freeware WakeOnLAN application (and its widget), so the feature definitely works.
I used the old reliable perl script wakeonlan to send 'magic packets' to the Mac Mini. Lots of magic packets. The Mini kept sleeping. Moving the mouse wakes it up immediately, so I know that it is not dead.
How immedidately? If it instantly turns on the screen without making any noises, then it wasn't asleep - it has just dimmed the screen.
Was the white LED on the front pulsing? That shows it is on but asleep.
My Mini recalibrates the optical drive and takes a couple of seconds to wake up.
I think that there is a quirk in the Mac's WOL behavior. I find that if Airport (WiFi) power is ON, then WOL will not work. If I turn Airport off, then I can wake up my Mac Mini from another computer on my wired LAN.
Is this the expected behavior? It seems a bit strange to me. I mean, I am always using the wired ethernet port on my Mac Mini. That is where the WOL magic packet enters. Why should the Mini 'care' that the Airport radio is also powered up?
David Arnstein (00) [email protected] {{ }}
^^
^^
Previously, David Arnstein wrote:
I think that there is a quirk in the Mac's WOL behavior. I find that if Airport (WiFi) power is ON, then WOL will not work. If I turn Airport off, then I can wake up my Mac Mini from another computer on my wired LAN.
Is this the expected behavior? It seems a bit strange to me. I mean, I am always using the wired ethernet port on my Mac Mini. That is where the WOL magic packet enters. Why should the Mini 'care' that the Airport radio is also powered up?
It's looking for the magic packet on the Airport, probably. Is the mini configured with the Airport as the first network to connect to (on the Network Port Configurations page of the Network control panel)?
Jerry Kindall, Seattle, WA <http://www.jerrykindall.com/>
Send only plain text messages under 32K to the Reply-To address. This mailbox is filtered aggressively to thwart spam and viruses.
Jerry Kindall wrote:
Wake For Network Access Mac
Previously, David Arnstein wrote:
I think that there is a quirk in the Mac's WOL behavior. I find that if Airport (WiFi) power is ON, then WOL will not work. If I turn Airport off, then I can wake up my Mac Mini from another computer on my wired LAN.
Is this the expected behavior? It seems a bit strange to me. I mean, I am always using the wired ethernet port on my Mac Mini. That is where the WOL magic packet enters. Why should the Mini 'care' that the Airport radio is also powered up?
It's looking for the magic packet on the Airport, probably. Is the mini configured with the Airport as the first network to connect to (on the Network Port Configurations page of the Network control panel)?
Recognition of the magic packet is a feature of the Ethernet controller and this feature isn't supported by Airport. It operates by leaving part of the Ethernet controller powered on while the rest of the computer is asleep. If the Ethernet controller receives the magic packet, it sends a signal to the power management system to wake up the rest of the computer.
The magic packet has to contain the MAC address of the Ethernet controller for the computer to be woken up (and it contains additional copies of the MAC address in the body in a special format).
There is no concept of 'looking for' a magic packet on an Airport network. If one happens to be sent via Airport, it will be received and discarded if the target computer is awake and do nothing if the target computer is asleep.
If Wake On LAN isn't working with the Airport powered on for David Arnstein's Mini, the problem might be related to the order of the network interfaces in the network configuration.
There could be confusing results if the Airport is connected to the same LAN as the Ethernet port, as other computers might be sending a magic packet with the wrong MAC address (using the MAC address of the Mini's Airport interface rather than its Ethernet interface).
I should be able to test this one with my own Mini (later).
David Empson wrote:
Jerry Kindall wrote:
Previously, David Arnstein wrote:
I think that there is a quirk in the Mac's WOL behavior. I find that if Airport (WiFi) power is ON, then WOL will not work. If I turn Airport off, then I can wake up my Mac Mini from another computer on my wired LAN.
Is this the expected behavior? It seems a bit strange to me. I mean, I am always using the wired ethernet port on my Mac Mini. That is where the WOL magic packet enters. Why should the Mini 'care' that the Airport radio is also powered up?
It's looking for the magic packet on the Airport, probably. Is the mini configured with the Airport as the first network to connect to (on the Network Port Configurations page of the Network control panel)?
Recognition of the magic packet is a feature of the Ethernet controller and this feature isn't supported by Airport. It operates by leaving part of the Ethernet controller powered on while the rest of the computer is asleep. If the Ethernet controller receives the magic packet, it sends a signal to the power management system to wake up the rest of the computer.
The magic packet has to contain the MAC address of the Ethernet controller for the computer to be woken up (and it contains additional copies of the MAC address in the body in a special format).
There is no concept of 'looking for' a magic packet on an Airport network. If one happens to be sent via Airport, it will be received and discarded if the target computer is awake and do nothing if the target computer is asleep.
If Wake On LAN isn't working with the Airport powered on for David Arnstein's Mini, the problem might be related to the order of the network interfaces in the network configuration.
There could be confusing results if the Airport is connected to the same LAN as the Ethernet port, as other computers might be sending a magic packet with the wrong MAC address (using the MAC address of the Mini's Airport interface rather than its Ethernet interface).
I should be able to test this one with my own Mini (later).
I've now tried it and can't fault it. I can use Wake On LAN to wake up my Mini (addressed to its Ethernet MAC address) whether or not its Airport is enabled.
I only tried it with the Airport network connected to the same LAN. I haven't tried forcing it off the wireless network so Airport is active but unconnected.
This is a current model Mac Mini.
David Empson wrote:
Recognition of the magic packet is a feature of the Ethernet controller and this feature isn't supported by Airport. It operates by leaving part of the Ethernet controller powered on while the rest of the computer is asleep. If the Ethernet controller receives the magic packet, it sends a signal to the power management system to wake up the rest of the computer.
Where does Bluetooth come in this? Is waking via that a possibility?
Hylton Boothroyd wrote:
David Empson wrote:
Recognition of the magic packet is a feature of the Ethernet controller and this feature isn't supported by Airport. It operates by leaving part of the Ethernet controller powered on while the rest of the computer is asleep. If the Ethernet controller receives the magic packet, it sends a signal to the power management system to wake up the rest of the computer.
Where does Bluetooth come in this? Is waking via that a possibility?
Bluetooth has a mechanism to wake the computer, as does USB.
Wol App For Mac
I'm less familiar with the specifics, but I expect it requires the Bluetooth and/or USB controllers to remain at least partially active while rest of the computer is asleep, and it will require some power being supplied via USB.
For a USB keyboard to wake the computer, it must be getting enough power from the keyboard to be able to register a keystroke and send a message to the computer.
Bluetooth is somewhat easier, because the peripherals are battery powered. The computer only needs to be passively listening, and any activity message from the device will wake up the computer.
Inside the computer, I expect there is a signal from the Bluetooth or USB controller to the power management system, as with the Ethernet controller. This signal will be activated to wake up the computer (if it isn't already awake).
David Empson wrote:
Wol For Macbook Pro
Hylton Boothroyd wrote:
Wol For Mac
David Empson wrote:
Recognition of the magic packet is a feature of the Ethernet controller and this feature isn't supported by Airport. It operates by leaving part of the Ethernet controller powered on while the rest of the computer is asleep. If the Ethernet controller receives the magic packet, it sends a signal to the power management system to wake up the rest of the computer.
Where does Bluetooth come in this? Is waking via that a possibility?
Bluetooth has a mechanism to wake the computer, as does USB.
Wol For Mac Os
Thank you. That was the key remark I needed.
Although I don't understand the implications of all the things I've click-selected on their Bluetooth panels, your advice was enough to keep me persisting until I'd used Bluetooth to successfully waken my wife's PowerBook on Panther from my Intel MacMini on Tiger.
Wol Mac Mini
There's a lot more for me to get my head round, not least what to do to stop it going back to sleep around 20 seconds later!
I've already been using the Bluetooth connection for a couple of months (I think -- they've both got WiFi) to print on the PowerBook's USB printer. For that it's enough for the PowerBook to be awake -- it doesn't need anyone to have been logged in through the keyboard.
So I've been able to go to the sleeping PowerBook
- press Escape
- wait for the password request to come up
- ignore it, but press Escape
and then the PowerBook would stay awake for its normal-wait-until-sleep period while I sent printing through to its USB printer (that is, for around 90 minutes)
- press Escape
- wait for the password request to come up
- ignore it, but press Escape
and then the PowerBook would stay awake for its normal-wait-until-sleep period while I sent printing through to its USB printer (that is, for around 90 minutes)
Now I need to find what to do to get an equivalent effect via Bluetooth that likewise allows the innards stay awake for 90 minutes.