Mail Icon

Setup of Sleep-On-Lan

Step 1: Enable a Mac to be put asleep:

    Open 'Sharing' in the 'System Preferences', select the 'Services' tab, and check the 'Remote Login' and 'Remote Apple Events'. This is required by AppleScript to work remotely.

    Sharing Pref Panel


    Since Sleep-On-Lan uses AppleScript, it is not possible to put any Windows or Linux PC's to sleep remotely.

Troubleshooting Sleep-On-Lan

    If Sleep-On-Lan doesn't work, follow this steps:

    1. Check if the remote Mac has "Remote Login" and "Remote Apple Events" enabled (see above).

    2. Check if the login you're using on the remote Mac has administrator rights. Open System Preferences on the remote Mac, select "Accounts", and look for the "Admin" title below the user name.

    3. Check if "Remote Login" has been used from this Mac to this remote Mac before. Mac OS X contains a security feature which asks for a user confirmation the first time a Mac tries to login to a remote Mac. Select the remote Mac in the WakeOnLan list, then select 'Debug Sleep-On-Lan' from the 'Help' menu. This will open a Terminal window with a ssh command, and another window with possible results and next steps how to resolve the problem.

    Note: You might have to repeat this step 3 for all remote Macs you wish to put asleep remotly.

More Troubleshooting if WakeOnLan crashes during Sleep-On-Lan

    Some users reported crashes during SleepOnLan if the required passwords are stored in Mac OS X's Keychain. If this happens, launch Apple's Keychain Access.app (located in /Applications/Utilities) and make the "login" keychain the default one (select login chain, then click on menu "File", "Make Keychain login Default"). If this doesn't avoid crashes, remove any WakeOnLan passwords from Keychain and type the passwords manually.