Magic packet wakes remote Mac, but then it goes back to sleep...

Anyone know how, once it's been woken remotely, to keep a Mac awake (other than have it never sleep)?
Kevin McMurtrie wrote on :

In article D.P.C.Sankey-A14D24.09492410062008@redacted.invalid, David Sankey D.P.C.Sankey@redacted.invalid wrote:

I'm interested in having an old MDD G4 in our computer room for occasional file synchronisation.

As usage is intermittent, having the machine asleep most of the time seems sensible.

I have no problem with sending it a magic packet to wake it remotely, but it then goes back to sleep even if I've logged in (ssh) or even mounted one of its disks (personal file sharing).

Anyone know how, once it's been woken remotely, to keep a Mac awake (other than have it never sleep)?

Many thanks,

        Dave Sankey

It might be easier to switch to an iMac or Mini that doesn't use much power while on but idle.

David Sankey replied on :

In article mcmurtri-31A044.22182110062008@redacted.invalid, Kevin McMurtrie mcmurtri@redacted.invalid wrote:

In article D.P.C.Sankey-A14D24.09492410062008@redacted.invalid, David Sankey D.P.C.Sankey@redacted.invalid wrote:

I'm interested in having an old MDD G4 in our computer room for occasional file synchronisation. ... Anyone know how, once it's been woken remotely, to keep a Mac awake (other than have it never sleep)? ... It might be easier to switch to an iMac or Mini that doesn't use much power while on but idle.

Jon B's answer solved it.

It's the password prompt on wake that puts it back to sleep if there is no direct response.

Having the machine sit at the initial login window means you don't get this prompt and it stays awake as defined by the energy saving settings.

Kind regards,

Dave