LITTLEBLACKDOG.COM Forum Index LITTLEBLACKDOG.COM

 
LWD LWD   FAQ FAQ   Memberlist Memberlist   Usergroups Usergroups   Active Topics Active Topics   Register Register  
  Profile Profile   Log in to check your private messages Log in to check your private messages   Log in Log in  
  Who is Online Who is Online   Image Gallery Image Gallery   Chat Chat   Search Search  
  LWDGear       LBDGear  

View next topic
View previous topic
Post new topic     Reply to topic   LITTLEBLACKDOG.COM Forum Index -> Operating Systems » OS - Apple / Mac
Author Message
soup4you2
Tail-Wagger
Tail-Wagger


Joined: 15 Mar 2002
Posts: 2453
Location: Desolate wastelands of Virginia

Post Posted: Thu Feb 19, 2004 8:28 am   Post subject: My Mac took Nyquil Reply with quote Back to top  

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
View user's profile Send private message Send e-mail
Webster
Guide Dog
Guide Dog


Joined: 16 Feb 2002
Age: 28
Posts: 8701
Location: Vacationland

Post Posted: Thu Feb 19, 2004 11:17 am   Post subject: Reply with quote Back to top  

Power management that works? Oooh....

_________________
www .Run To Win.com
The Marathon Thread
I finally published my book: Comprehensive Guide to Marathon Preparation & Recovery
View user's profile Send private message Send e-mail Visit poster's website AIM Address
tecgod13
Tail-Wagger
Tail-Wagger


Joined: 13 Aug 2002
Posts: 2866
Location: Western Massachusetts

Post Posted: Thu Feb 19, 2004 11:51 pm   Post subject: Reply with quote Back to top  

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/
View user's profile Send private message Send e-mail
hohlecow
Tail-Wagger
Tail-Wagger


Joined: 17 May 2002
Posts: 2151
Location: hungary for turkey and chile

Post Posted: Fri Feb 20, 2004 6:48 am   Post subject: Reply with quote Back to top  

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)
View user's profile Send private message Send e-mail Visit poster's website AIM Address
soup4you2
Tail-Wagger
Tail-Wagger


Joined: 15 Mar 2002
Posts: 2453
Location: Desolate wastelands of Virginia

Post Posted: Fri Feb 20, 2004 7:50 am   Post subject: Reply with quote Back to top  

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic     Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
phpBB SEO
All times are GMT - 8 Hours

Help us keep advertisements off this site. Donate today!