Advertisement

06.18.2007 at 07:47AM PDT, ID: 22640678 | Points: 500
[x]
Attachment Details

WOL, sleep, pmset and remote login

Tags: wol, sleep, mac, os, pmset
When logged in from console, following command prevents succsessfully Mac OS X (10.4.9) to go sleep:
  sudo pmset sleep 0
and you can configure/enable the sleep timout again like:
  sudo pmset sleep 42
This works flawless if used from console login.

No, if I'm logged in (same user as above) remote, for example using ssh, this does not work.
There is always a short timeout (roughly 1 minute) 'til OS X sleeps again.

Why does OS X behave different here? where to configure it or which command to use to inhibit sleep mode?

Note: before logging in from remote, OS X have been waked up using wake-on-lan. So it might have to do somthing with that. If logged in without using wake-on-lan before it works from remote too.
Start your free trial to view this solution
Question Stats
Zone: Apple
Question Asked By: ahoffmann
Question Asked On: 06.18.2007
Participating Experts: 1
Points: 500
Views: 0
Translate:
Loading Advertisement...
06.20.2007 at 08:15AM PDT, ID: 19325348

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
06.21.2007 at 12:59AM PDT, ID: 19331228

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
07.05.2007 at 01:02PM PDT, ID: 19426856

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
10.27.2007 at 08:44AM PDT, ID: 20161800

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
20080236-EE-VQP-29