One of Snow Leopard's advertised new features is the much more ambitious 'wake for network access' functionality. What was previously a setting only used by geeks and network administrators -- people who readily knew what a 'magic packet' was and how to send one -- has now been expanded and simplified to make it into a feature any user could understand and make use of. A lot of work went into making it just work in any environment. Unfortunately for those of us who were already happy with the wake on Ethernet access feature as it was in Leopard and before, they fixed what, in our case, didn't need fixing. In Snow Leopard, if you enable waking for network access, your Mac will periodically wake up every two hours (possibly sooner), no matter what. Mind you, it's a special new 'lightweight wake' with the display staying off, and it'll go right back to sleep in about 20 seconds. I heart radio app for mac. IHeartRadio is the only free music app that features thousands of the best Live Radio stations AND interruption-free Custom Artist Radio. Runs in the background so you can quickly change stations, thumb, or skip with fewer clicks. Still, I absolutely hated the periodic hard drive and fan noise, the apparent pointlessness and wastefulness of it all. A comment in offers some explanation: we still want to wake up in at most 120 minutes, to see if the network environment has changed. We might wake up and find no wireless network because the base station got rebooted just at that moment, and if that happens we don't want to just give up and go back to sleep and never try again.In my case, the network environment is static and only I could change it. I don't use wireless wake, Back to My Mac, or AirPort Extreme's sleep proxy. So how do I turn off this auto-wake feature then? The code in mDNSResponder makes only two checks on when not to schedule the maintenance wakes: • If 'Wake for network access' is turned off • if there are no Bonjour-advertised services on your system This check is always made at the point the machine is about to go to sleep. After much experimentation, I finally have a reliable way of defeating this check without really doing either of the above. Using, add the following commands to your script to run when your computer is going to sleep: /bin/sleep 1/usr/sbin/systemsetup -setwakeonnetworkaccess on >/dev/nullAnd add this to your 'wakeup' script: /usr/sbin/systemsetup -setwakeonnetworkaccess off >/dev/nullFinally, also execute that last command right now, or just manually turn 'Wake for network access' off in the Energy Saver preferences. Anti distraction apps. ![]() Set wake and other options as desired: • Wake when the modem detects a ring (not. Wake for Ethernet network administrator access wakes the computer from. With Centrify Management Services for Mac, you can use Active Directory to centrally manage authentication, policy enforcement, single sign-on (SSO), and user self-service for popular endpoint devices running Mac OS X, macOS, iOS, and Android. ![]() What this does is turn wake for network access on only at the very last moment when your machine is going to sleep. This way, mDNSResponder will be fooled into thinking you don't have network wakes enabled, so it won't schedule the unwanted maintenance wake. In reality, though, your sleep script will enable it anyway, but in such a way that mDNSResponder doesn't see it. As of version 10.6.5 the mDNSResponder supports a new command line option (DisableSleepProxyClient) which disables the automatic wake-for-network-access feature. To enable this option edit the file /System/Library/LaunchDaemons/com.apple.mDNSResponder.plistso that the ProgramArguments entry includes the option, like this: ProgramArguments /usr/sbin/mDNSResponder -launchd -DisableSleepProxyClient Relaunch the mDNSResponder daemon and you're done. I do like the new feature that will automatically wake my Mac when I try to access it without requiring me to use a WOL utility. However, I would prefer for my machine not to wake up every two hours, since my home network configuration never (or rarely) changes. It seems that using the solution provided would disable the new feature completely, requiring me to once again use a WOL utility to wake my machine. Is there a way to disable the automatic wakeups without losing SL's 'wake for network access' enhancements?
0 Комментарии
Оставить ответ. |
АвторНапишите что-нибудь о себе. Не надо ничего особенного, просто общие данные. АрхивыКатегории |