| Author |
Message |
soup4you2
Tail-Wagger


Joined: 15 Mar 2002 Posts: 2452
Location: Desolate wastelands of Virginia
|
Posted:
Thu Feb 19, 2004 8:28 am Post subject: My Mac took Nyquil |
|
Ok one of the great things i've discovered about macs is that the power management actually works.. and returns from sleep..
Now using the wakeup on lan technology built into it is also great for when i need to ssh in or something.. took me a bit to figure out how to wake it up.. i was origionaly under the impression that i could send any type of network packet and it would wake up.. boy was i wrong...
The 'magic packet' consists of 0xFF 6 times followed by 16 times the hardware address of the NIC (MAC Address). Sent through the broadcast address. This sequence can be encapsulated in any kind of packet.
After learning how the magic packet works i was able to get this puppie to return it to the living. However say i launch a Irc session it will go back to sleep.. I'm assuming the system is just checking for activity in the GUI it's self. Is there a way other than disabeling the energy saver to allow it to stay on while a user is ssh'd in?
I imaging i could write up a script to send out a magic packet every 30 min while ssh'd in and break once done.. but i should not have to do that. any suggestions? |
_________________ tomorrow will be canceled due to lack of interest
|
|
|
|
|
Webster
Guide Dog


Joined: 16 Feb 2002 Age: 28 Posts: 8690
Location: Vacationland
|
Posted:
Thu Feb 19, 2004 11:17 am Post subject: |
|
|
|
|
|
tecgod13
Tail-Wagger


Joined: 13 Aug 2002 Posts: 2853
Location: Western Massachusetts
|
Posted:
Thu Feb 19, 2004 11:51 pm Post subject: |
|
Not that I know anything about macs, or scripts, but could you write a script that would move the mouse every so often?
Or a sshd login script that disables or changes the power features while logged in, then reenables them when you log out? |
_________________ "The problem with America is stupidity. I'm not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself?"
http://www.livejournal.com/users/tecgod13/
|
|
|
|
|
hohlecow
Tail-Wagger


Joined: 17 May 2002 Posts: 2151
Location: hungary for turkey and chile
|
Posted:
Fri Feb 20, 2004 6:48 am Post subject: |
|
i haven't played with it at all, but in System Preferences->Energy Saver in the Options tab there is a check box for Wake for Ethernet network administrator access.
does that just mean wake on WOL, or will it actually wake on telnet? |
_________________ give as much as you can, and take nothing
sometimes i think if zombies were attacking us, liberals would be fighting for thier rights, "they eat brains for fuel, it's part of who they are" or "we can't descriminate against them, that's just the way they were reanimated."
trying it again: POTD (picture of the day)
|
|
|
|
|
soup4you2
Tail-Wagger


Joined: 15 Mar 2002 Posts: 2452
Location: Desolate wastelands of Virginia
|
Posted:
Fri Feb 20, 2004 7:50 am Post subject: |
|
hohlecow wrote:i haven't played with it at all, but in System Preferences->Energy Saver in the Options tab there is a check box for Wake for Ethernet network administrator access.
does that just mean wake on WOL, or will it actually wake on telnet?
Thanks the wakeup on lan.. only wakes up when you send a magic packet. i believe the remote desktop sends one by default.. i'm digging around howto turn sleep mode on and off in the console.. |
_________________ tomorrow will be canceled due to lack of interest
|
|
|
|
|
|
|