I find that wake on lan stop working after my Mac Mini (late 2012 model, running OS X 10.8.5) has entered safe sleep (which is 4 hours after sleep starts). Because I often travel and want to remote into my machine, and because I'd rather not disable sleep completely, and because I haven't found any way to wake the machine remotely after it has entered safe sleep, my only option remains to disable it. After reading through this discussion, I have set up my power options thusly:
Active Profiles: AC Power -1* Currently in use: standby 0 powerbutton 1 womp 1 autorestart 1 hibernatefile /var/vm/sleepimage networkoversleep 0 disksleep 0 sleep 30 (sleep prevented by ) autopoweroffdelay 14400 hibernatemode 0 autopoweroff 0 ttyskeepawake 1 displaysleep 10 standbydelay 4200
autopoweroff is set to 0. Despite this, the computer still enters safe sleep and thus wake on lan stops working after a period of time (4 hours, which I believe comes from
autopoweroffdelay of 14400 seconds).
Any ideas on why this is still happening, or what I can possibly do to rectify it?
Update: a related question is, what magic does the built-in VNC client (i.e. when you open safari and go to
vnc://whatever/) do to wake the remote host up? Apparently whatever it does appears to work with my configuration even though the magic packet sent through the router doesn't.