

Sleeping for 17 seconds - USB devices are turned OFF (LEDs on my keyboard go OFF). Sleeping for 10 seconds - Cooling fans stop. Once the Mac wakes up again, it continues by printing the date and time again (soI can find those in the log) and show the "Magic packets" from the power management log.Īt sleep (0 seconds), the screen goes OFF, and the cooling fan keeps spinning for a few more seconds. Which prints the date and time, puts the Mac to sleep. So to get an idea what may be the issue, which I still haven't found, I use this Terminal statement: date pmset sleepnow date pmset -g everything | grep Magic Same as "Wake for network access" in the Energy Saver preferences." " womp - wake on ethernet magic packet (value = 0/1). On the other hand the man page of "pmset" states: Granted this is a help page, and when have those ever been helpful, but it doesn't mention WOL, which you'd assume would be needed for this to work. " Even in sleep mode, wakes to provide access to shared resources, such as shared printers or Music playlists." At least I'd assume that a WOL magic packet should tell the Mac to "wake up", even if it's not entirely asleep.Īnother thing that makes me wonder about WOL on a Mac, is the explanation of "Wake for network access":

I did disable Power Nap on my Mac for that reason, but in the end it didn't make much of a difference.Īll-in-all I wouldn't expect this to matter. Since I'm not very knowledgeable on the "pmset" details, there could be conflicts with different kind of sleep modes the Mac may be using.
#What is wake for network access on mac code#
When looking at the power management event with the code below, you'll see a lot of "sleep preventers". Note: port 9 WOL also do appear in the power management log.Ģ) I wonder when a Mac really goes to sleep. (even though nothing happened - my Mac remained dark) 2225 +0100 WakeDetails DriverReason:Enet.MagicPacket - DriverDetails:Magic packet received You can see that the WOL packets (over port 4343) indeed arrive at the Mac. In an old post I did read someone using port 4343 for WOL which did trigger did show up in the power management log: pmset -g everything | grep Magic I've tested the default port (9), which didn't work, and the common alternative port (7), which didn't work either (same as on your setup). I didn't get any smarter here, except that (see end of this post) that Port 4343 seems to do something. So some observations I did while testing and searching for an answer Since the infor is getting a little out of hand, I (Hans) have started this forum topic.
#What is wake for network access on mac how to#
So this topic is a continued conversation on how to use miniWOL to wake up a Mac from sleep started by Ryan.
