Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

No Wake-on-LAN possible since updating to ML

Hi everybody,


since updating from OS X 10.7 to 10.8 (clean install), Wake-on-LAN does not work anymore. Setup: Mac mini (Early 2011) connected to Time Capsule (2nd gen) via devolo dLAN. Mac mini goes to sleep after 30 minutes and eventually disappears from the network. Sending Wake-On-LAN packets or using Back To My Mac fail, it simply won't wake up.


Wake-on-LAN worked smoothly under 10.7 after some problems. Any ideas?


Thanks and regards


Steffen

Mac mini, OS X Mountain Lion

Posted on Jul 31, 2012 1:01 AM

Reply
295 replies

Jul 21, 2013 3:48 PM in response to SarahCat

The only solution I've found is as follows:

Both my iphone and iPad are paired to my imac via Bluetooth.

I keep the Bluetooth off. If I need to wake on LAN I just turn on my

Bluetooth on my device and my imac wakes up. I shut off Bluetooth

And use the home sharing.

I'm not a programmer but it seems to me it should be an easy fix.

Just use the same code that searches for BLuetooth have it look for home share.

Jul 21, 2013 6:10 PM in response to MackDougS

Bluetooth unfortunately has very limited range, i.e., not all over my home, so that is not a solution to me. That said, having multiple network connections in order to wake a host computer is really not worth it to me. I'm burning the watt-hours and never letting my poor Mac Minigo to sleep.


I'm staging a sleep deprivation, much like a hunger strike until Apple fixes this.


I'd buy my Mini a latte if there were Starbucks for Mac.

Jul 21, 2013 10:47 PM in response to artisticforge

You are right that setting static IP adresses is not the final solution. I should have said "I may have found something that works FOR ME, for my particular setup" :)


So far the solution for me is setting static IP adresses for my iMac, Airport Extreme and ATV3 AND disabling ipv6 on my iMac. Whether this is logical or not, it seems to be working and that's most important for me. For the first time in 7 months everything works as it should. :)


There are numerous posssible solutions for this problem and I've tried a lot of them. I will keep an eye on it for a week to see if this solution lasts. I have tried too many solutions which failed after a few days.


Before I couldn't have my iMac wireless wake on LAN when I put it to sleep manually. That is working now. And my ATV finds my iTunes library. So I feel I'm making steps in the right direction.

Jul 21, 2013 11:15 PM in response to lexvo

Understood lexvo. I'm going with setting my Mac Mini to 'never sleep' until Apple fixes the wake on LAN problem. Not a good solution but I need to have reliable remote access and this same computer runs Indigo for home control. Curiously, Indigo running in an active OSX session will not wake the Mac when it attempts to execute a timed event, either. This was not the case with a much older Mac Mini running Snow Leopard or Lion.


It appears that the only sure bet to wake my new Mac Mini running Mountain Lion is a local keyboard press or the power button. This my indicate a much bigger problem than just wake on LAN.

Jul 24, 2013 1:57 PM in response to SteffenKaiser

You need to edit the plist file for WOL to work fully on Mountain Lion as per below


sudo vi /Library/Preferences/SystemConfiguration/com.apple.Boot.plist


look for the <string></string> line


you are going to insert darkwake=8 in between the two string tags, navigate to there and press i and type in darkwake=8 so it now looks like below


<string>darkwake=8</string>


press escape

and type :wq


Reboot your mac and it will work 😀


Message was edited by: scooterb696

Jul 24, 2013 3:10 PM in response to scooterb696

A couple things:


I checked the file scooter just mentioned on my iMac. I don't have anything between the string tags. But I'm not saying that his tip won't help by any means.


I've been following this thread for a long long time. My 2011 iMac has been through iterations of working and not working with regard to WOL.


Currently it's working. I've tried so many of the suggestions on this thread it would be impossible for me to pin down what fixed it for me. My gut is that it was a clean install of Mountain Lion and applying the Combo Update for 10.8.3.


I'm on 10.8.3 and have no intention of updating unless there's a VERY compelling reason.


I can wake up my iMac with Terminal applications and VNC apps. I have an Aiport Extreme.


One more thing: I've noticed this thread has shifted somewhat to Mac Mini as the problem - maybe iMac isn't the problem so much anymore?

Jul 24, 2013 3:54 PM in response to scooterb696

hello;


I have to look at the source code to know in my own mind why setting to darkwake=8 would appear to fix the problem.


I have only the one mac mini running mountain lion the other 8 macs are running snow leopard.

the mac-mini right now is not allowed to sleep, sleep deprivation. it works so I have time to research why this suggested fix works.

Jul 24, 2013 11:08 PM in response to artisticforge

Ok, (joining in the research here) this is what I have found thus far, from perusing this file:

http://www.opensource.apple.com/source/xnu/xnu-792.13.8/pexpert/gen/bootargs.c


The DarkWake parameter accepts the following flags (or logical additions of flags):


// gDarkWakeFlags

enum {

kDarkWakeFlagHIDTickleEarly = 0x01, // hid tickle before gfx suppression

kDarkWakeFlagHIDTickleLate = 0x02, // hid tickle after gfx suppression

kDarkWakeFlagHIDTickleNone = 0x03, // hid tickle is not posted

kDarkWakeFlagHIDTickleMask = 0x03,

kDarkWakeFlagIgnoreDiskIOInDark = 0x04, // ignore disk idle in DW

kDarkWakeFlagIgnoreDiskIOAlways = 0x08, // always ignore disk idle

kDarkWakeFlagIgnoreDiskIOMask = 0x0C,

kDarkWakeFlagAlarmIsDark = 0x0100


It would appear that these flags pertain to circumstances under which a mac would be permitted to wake. Although a quick glance would indicate that wake on LAN does not seem to be one of them. The flags for DarkWake are apparently all for regulating sleep/wake from disk and HID.


Gus

Jul 25, 2013 2:29 AM in response to SteffenKaiser

I know the solution that worked for me will probably not work for everyone and to be honest I don't have an explanation of why it has worked.


I am on a wired LAN connection and not using WiFi and since making the change everything works as it should.

I WOL from my Billion 7800N router which has this built in, so all I do is http to my router and click the button to issue the WOL and my mac springs to life. I know everyones setup is different.

No Wake-on-LAN possible since updating to ML

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.