Skip navigation

WOL How do I do it?

28534 Views 30 Replies Latest reply: Apr 6, 2014 3:25 AM by gaz8080 RSS
1 2 3 Previous Next
Flashymcbashee Calculating status...
Currently Being Moderated
Feb 14, 2012 3:40 AM

I have been trying and trying to WOL my mew mac mini (10.7.3) from my old ibook(PPC 10.5.8), and from my ipad. Nothing works. I've read all sorts of forums and threads, and most people seem to have the same problem. Does anyone know if it's possible, and if so how? I've tried various programmes, sent magic packets, switched off the wi fi and connectedthrough ethernet, but absolutely nothing will wake it up remotely. I don't particularly want to pay subscriptions to apples things like icloud etc. I just want to b-be able to send a magicpacket or suchlike.

Thanks

Mac mini, Mac OS X (10.7.2)
  • a brody Level 9 Level 9 (62,005 points)
    Currently Being Moderated
    Feb 14, 2012 5:11 AM (in response to Flashymcbashee)

    I don't know what WOL means.  But getting data from a PowerPC to an Intel Mac, you should follow these directions:

    https://discussions.apple.com/docs/DOC-2295

    If that's not what you mean, please spell out any acronyms, and exactly what you are trying to accomplish?

  • a brody Level 9 Level 9 (62,005 points)
    Currently Being Moderated
    Feb 14, 2012 5:48 AM (in response to Flashymcbashee)

    Before you consider Wake On Lan, remember, there is nothing that will stop a direct lightning strike from hitting your machine in terms of surge protectors/suppressors.  It is better to have a remote backup somewhere, in case of theft.  Your internet provider may offer some webspace to store files you need access to anywhere.  http://www.zoho.com/ offers remote spreadsheet, calendar, and word processing free.  Google Docs does presently, but a recent letter I got from them suggests that may be changing.

     

      Apple menu -> System Preferences -> Energy Saver and sometimes the Security settings has wake on network access settings depending on the operating system.

    And there are several Mac compatible solutions you can find on Google that have more sophisticated abilities.

  • a brody Level 9 Level 9 (62,005 points)
    Currently Being Moderated
    Feb 14, 2012 8:58 AM (in response to Flashymcbashee)

    No one here can comment on Apple's suggestions as far as "why" they make it.  That would at least by some standards be trying to guess Apple's policy.  I've simply offered my advice based on my 30 years of experience with computers. You can take it for what it is worth. Just search Wake On Lan Macintosh.  Google must tie its searches now to a cookie even if you aren't logged into any of their services.

  • Quelqu Un Calculating status...
    Currently Being Moderated
    Feb 20, 2012 11:01 AM (in response to Flashymcbashee)

    I think Apple broke the "magic packet" WoL facility in 10.7.  I used it frequently in 10.5, and sending a magic packet from my MacBook to my Mac Pro would fully wake the sleeping Pro.  I skipped to 10.7 on both machines, and now sending a magic packet to the sleeping Pro no longer wakes it.  I'm really interested to know why Apple decided to break this functionality.

  • a brody Level 9 Level 9 (62,005 points)
    Currently Being Moderated
    Feb 21, 2012 4:54 AM (in response to Quelqu Un)

    That's something you'll probably never get an answer to, unless you become an official developer on http://developer.apple.com/ if that is indeed true.  I can't imagine if a feature is available in the System Preferences that it on its own is broken.  It is possible your packets simply aren't getting through because the port mapping in your router isn't letting it get through.  Make sure the port you would expect to wake it is open.

  • Quelqu Un Level 1 Level 1 (0 points)
    Currently Being Moderated
    Feb 21, 2012 5:39 AM (in response to Flashymcbashee)

    Here's what's going on:  Apple changed the kernel's response to magic packets (the Ethernet WoL packet) so that, by default, the machine no longer wakes up fully when it recieves one; it stays in low-power wake.  Instead, they want you to buy an AirPort or use another computer (a Bonjour Sleep Proxy) to watch the network for traffic trying to reach certain services on your sleeping machine, and to give it a kick (a WoL packet) when it sees such traffic.  This kernel feature is called Dark Wake.

     

    But that's annoying.  Many things don't use mDNS, and many people aren't using Apple router products.  I use SVN to sync things between my computers, so when my Mac Pro is asleep, I want to be able to wake it up from wherever I am and from whatever device/platform I'm using.  So, I told the kernel not to use Dark Wake.

     

    The kernel is the very first program that the boot loader (which is the first screen you see when you power on your computer -- probably grey and with an Apple logo) calls.  The boot loader can pass arguments to it, much like other programs you might run from the command line.

     

    Here's the procedure I used (please don't do this unless you're comfortable using vi to edit system files):

     

    1. Opened a Terminal window.
    2. Changed to /Library/Preferences/SystemConfiguration by typing the following: cd /Library/Preferences/SystemConfiguration
    3. Edited com.apple.Boot.plist using vi under sudo (because the file is owned by root):
      1. sudo vi com.apple.Boot.plist
      2. Moved the insertion point down to the <string> associated with the Kernel Flags <key>
      3. Hit the "i" key to begin inserting text
      4. Typed darkwake=0
      5. Hit the "esc" key to exit insertion mode
      6. Typed ":wq" to save the file and exit
    4. Rebooted the system.
  • a brody Level 9 Level 9 (62,005 points)
    Currently Being Moderated
    Feb 21, 2012 5:44 AM (in response to Quelqu Un)

    Various Remote Desktop and VNC programs for the Mac act as a Remote Desktop Server, are likely to have their own WakeOnLan type settings.  Less obtrusive than editing system files, it might be an alternative which works for you.  After all, if a software is supposed to be able to remote in to a machine, it will have to wake it as well.

  • Quelqu Un Level 1 Level 1 (0 points)
    Currently Being Moderated
    Feb 21, 2012 5:57 AM (in response to a brody)

    Brody, you already admitted that you have no idea what WoL is, so why are you even here hypothesizing about what may or may not be?

     

    The issue that the OP stated has to do with the kernel's response to a WoL packet.  The OP wants the original response, not the new, low-power wake response.  Therefore, the kernel needs to be told not to do the Dark Wake thing.  This requires editing a system file.

  • a brody Level 9 Level 9 (62,005 points)
    Currently Being Moderated
    Feb 21, 2012 6:09 AM (in response to Quelqu Un)

    I'm just suggesting a possible work around.  If the point is to wake up the computer to do remote access of some sort, getting remote access software that can do it, might be better.  Why else would you want a Wake On Lan setting?

  • Quelqu Un Level 1 Level 1 (0 points)
    Currently Being Moderated
    Feb 21, 2012 6:26 AM (in response to a brody)

    Let's talk about this in terms of people, rather than computers -- the ideas are similar.

     

    If a person is sleeping, then they can be woken up easily because, subconsciously, their mind is still processing input from their environment.  Therefore, if someone pokes them, their brain responds by waking up their conscious mind so that they can deal with whatever woke them up using their full, conscious mind and personality.  This is similar to a computer that's sleeping and which responds to Wake on Lan packets in the classic fashion: their network card recieves the packet, realizes that it's a WoL packet, and sends a signal that powers up the CPU.  The kernel (the core of the OS) running on that CPU then brings the whole system out of sleep so that it's ready to deal with whatever woke it up.

     

    Different from this is the person who's been hypnotized.  This person, much like your sleeping 10.7 system, won't respond to poking or other such stimuli by waking up fully.  Some interaction is possible with this person, but only very particular input (such as someone clapping, or the ringing of a bell) will bring that person out of that hypnotized, low-power state.  That person's mind knows what that input is, and when they recieve it, then they will wake up fully.

     

    Dark Wake makes your computer act as if it has been hypnotized.  Only certain input (requests for certain Bonjour services, in this case) will bring it out of the low-power wake state, and the kernel knows what that input is, just like the hypnotized person knows what cue will bring them out of the hypnotized state.

     

    Can you see why what you suggest doesn't apply to this query?  What you're suggesting is similar to dancing a jig next to a hypnotized person who's been told that they'll only wake up when they hear a particular gong.  You can use remote access software all you want, but until that machine recieves a WoL packet followed by a request for a Bonjour service that the computer is offering, it won't come out of the low-power wake state, because that's the cue that it's been told to wait for.  What you need to do is tell the computer (the kernel) that it should wake up fully as soon as it recieves the WoL packet and not wait for additional requests.  And, so, we have to talk to the kernel by way of the boot configuration.

  • Peter Hartman Calculating status...
    Currently Being Moderated
    Mar 23, 2012 10:01 AM (in response to Flashymcbashee)

    Thanks Quelqu Un for your support.

    Very helpful.

    - Peter -

  • BDAqua Level 10 Level 10 (114,670 points)
    Currently Being Moderated
    Mar 23, 2012 11:57 AM (in response to Quelqu Un)

    Impressive help, thanks!

1 2 3 Previous Next

Actions

More Like This

  • Retrieving data ...

Bookmarked By (2)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.