Apple OSX - Wake on Lan

So I "upgraded" my AppleTV (which have served me well for 2 years) to a new MacMini (kind of overkill, but hey one have to have fun).

After mocking around with for the whole weekend it is now working as it should, due to XBMC, and some scripts which stops iTunes from starting.

But as it's sleeping when I'm not around, it would be nice to be able to wake it up when/if I need access it remotely.

If you like GUI's there is WakeUp, if you like commandline there is wakelan.

Both work just nicely.

Now to make the thing sleep again, use AppleScript. Create a shell script with:

#!/bin/bash
osascript -e 'tell application "System Events" to sleep'


Bingo, you can now wakeup your sleeping Mac, and put it back to sleep.

Comments

Popular posts from this blog

Apple AirPort Express and Digital Jitter..

EIZO Colornavigator - Data Access Error

Using Borg backup across SSH with sshkeys