oceanfoki.blogg.se

Download sleepwatcher mac
Download sleepwatcher mac















You have to edit naswake.sh and change the MAC-address to the address the LAN-adapter of your WOL-capable NAS is using.

Download sleepwatcher mac install#

Download and install NASwakeĬheck the download area on this site for an installable NASwake.pkg which contains all the files needed. If after 60 seconds still no network is up, naswake.sh will be terminated automatically by launchd. The LaunchDaemon will spawn a new thread for naswake.sh so your Mac’s boot time won’t increase. What does naswake.sh do? It checks every 5 seconds if the network is up and once it is, it sends a Wake-on-LAN packet to the MAC-address indicated. usr/bin/wol 00:02:9C:C5:AD:31 #<- Edit NAS MAC address here To automatically start this WOL command line tool at boot time I needed a new “LaunchDaemon”.Ĭom. LaunchDaemon configuration I found some source code for a command line Wake-on-LAN tool and created a new x86_64 binary using Apple Xcode.

download sleepwatcher mac

I then could use the internal scheduler in the NAS’s configuration interface to shut it down at predefined times (i.e. So I thought it would be nice if the NAS could be woken from deep sleep whenever I’m starting my Mac. I usually don’t need my NAS on power hungry standby all day and night when I’m not at my Mac. I’m using my QNAP NAS primarily for backup purposes with Time Machine and SuperDuper. It just keeps its network adapter barely alive so it’s able to “hear” a Wake-on-LAN signal. However, once I shut my NAS down, it only consumes 1W in deep sleep mode. For instance, my QNAP NAS still consumes around 25W after all disks spun down. Depending on the make and model, some NAS units consume a considerable amount of energy even in standby mode.

download sleepwatcher mac

The consumer NAS units you can buy these days are actually small Linux computers with a software RAID and a bunch of S-ATA hard drives inside. Please see this post for a more recent version which works in OS X 10.11 El Capitan and newer.ĭo you own a Wake-on-LAN (WOL) capable NAS (network attached storage) unit? Is your computer a Mac? Want to save on your energy bill?















Download sleepwatcher mac