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

Oct 10, 2012 7:38 PM in response to SteffenKaiser

I found a small workaround for it, but it requires having another mac in the network.


I am on a similar setup. Airport Extreme Base station in one room where the modem is and another AEBS in another room where the computers are. The two base stations connect to each other wirelessly, but the computers all all being served by the same Base station and are all wired via Ethernet.


I noticed I cannot WoL using Logmein, so I kept one of the computers (2011 mac mini) on "never sleep". I connected through logmein to it and used Apple remote Desktop to try and Wake the other. It fails.


Now the weird bit: from the Finder, you can still see the other computer (2011 iMac) in the network so I tried to connect to it. It will fail in a bizarre way: it allows me to see the first level of network shares, but won't allow me to browse further. I think this has to do with some network caching, but after retrying to wake the iMac from ARD, it succeeded.


I tried the same technique a few times under the same conditions (imac inaccessible at first, try to wake from ARD, fails, try to wake from Finder, fails, retry from ARD, succeeds).


Guess there's a big bug with WoL on ML (I'm using 10.8.2 with the supplemental update).


Apple, it would be great if you could fix it!!

Oct 13, 2012 1:00 AM in response to SteffenKaiser

I've encountered the same issue with my 2010 iMac (10.8.2). It's connected via WiFi to Asus WL-520GU/GC (DD-WRT v24-sp2 (10/10/09) micro).


I was able to make it wake up by sending the WoL magic packet from 2011 Macbook Air (10.8.2) using the wakeonlan tool (http://gsd.di.uminho.pt/jpo/software/wakeonlan/ also available through homebrew).


Looks like the AirPort card does not listen for magic packets everytime, but at some intervals. Furthermore the interval differ for different sources of the packet. Lenths of interval in ascending order: <machine_subnet_broadcast> (e.g. 192.168.1.255), 255.255.255.255.


So, to wake you mac, you have to continiously send the magic packet until machine is avialble.


Here is the script (assuming you've already installed wakeonlan):

#! /usr/bin/env sh


MAC=$1

BROADCAST=$2


while sleep 0.5; do

wakeonlan -i $2 -p 7 $1

done

(Most recent version of the script is also available at https://gist.github.com/3883701)

Oct 22, 2012 6:58 AM in response to SteffenKaiser

I have been dealing with this issue for a while and I tried everything that has been listed in this thread. Nothing here worked properly for me. I then found a suggestion on the support page of iteleport that points "darkwake" as the culprit. I followed the procedure suggested by iteleport and I can now successfully access my Mac mini as I previously was able to. My only concern with this change is that I am not quite certain that the Mac is actually going to sleep, I have to do further testing to find out. Regardless, this may help most of you. Steps to disable darkwake are listed below.




As an administrator, edit the following file:


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


Find the KernelFlags key and change it from:


<key>Kernel Flags</key>

<string></string>


to:


<key>Kernel Flags</key>

<string>darkwake=0</string>


Reboot your Mac. Wake on LAN should now work.

Oct 22, 2012 11:57 AM in response to Flight0fideas

There are posts on one or two forums that report problems after setting the darkwake parameter (short-duration freezing of the computer, USB's not working etc) so I for one have decided not to change either the darkwake parameter or edit the PowerManagement .plist file referred to elsewhere it this thread. Instead, I have simply changed the Energy Saving option so that the computer never sleeps. OK, this might use more energy but my iMac gets barely warm when sleeping so I don't think it is much. Additionally, this might be kinder on disk drives in that they do not need to keep spinning up.


By the way, the behaviour of my iMac when set, respectively, to never sleep and to sleep when possible, has not left me confident that, when it was on Lion, it ever slept at all (just the screen turned off). I base this, firstly, on the fact that my external hard drive never stopped spinning although it does with Mountain Lion and, secondly, I don't recall it getting stone cold as happens with Mountain Lion in sleep. This suggests that the computer never went into sleep mode and, hence, the external drive (and presumably the computer disc) never stopped.


Nevertheless, Apple should provide a solution to this issue and, ideally, give an explanation of the differences between Lion and Mountain Lion in their implementation of the Energy Saving options. I have submitted a bug report to Apple and suggest that others do the same to try to encourage a rapid response. "It just works"!!!

Nov 15, 2012 2:15 AM in response to joda1956

Just making a point and I am not your daddy. Your post sounded like you had not read the whole thread as you made reference "I wonder if anybody else has tried it" and if you had read all the posts then you will have noted others have tried. Only making a statement of fact and if it upset you then please accept my apologies.


I for one do not have a solution and yes I do suffer the same. If I see of or hear elsewhere of a solution I would share it with everyone. But making repeat posts and stating the obvious I do not do.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

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 Account.