The conversation on this page has been archived and is no longer active.

Remotely power on a Mac

Message #1 - Posted 2007/11/28 - Lorenzo Thurman

Anyone know if this is possible? I once had an ADB device that could do this via the phone line, but I forgot what it was called, Powerkey I think.

Message #2 - Posted 2007/11/28 - dterrors

On Nov 28, 1:44 pm, Lorenzo Thurman wrote:

Anyone know if this is possible? I once had an ADB device that could do this via the phone line, but I forgot what it was called, Powerkey I think.

I've been looking into whether or not WOL works on macs. It's sketchy. Supposedly it works, but many can't get theirs to. Here's a link:

http://www.macosxhints.com/article.php?story=20050118192723153

Message #3 - Posted 2007/11/28 - Clark Martin

Previously, Lorenzo Thurman wrote:

Anyone know if this is possible? I once had an ADB device that could do this via the phone line, but I forgot what it was called, Powerkey I think.

Probably not, while Apple had keyboard power on in it's earliest iMacs but they dropped it. From what I've heard it was because it wasn't standard USB. In order to power it on remotely you have to have some interface that let's you turn it on. On most Macs the only way to turn it on is by pushing a button. Some kind of remote control button pusher would be needed.

I don't think any of the Mac remote controls support power on so that wouldn't fly.

There is an ability to power on via Ethernet but I don't know which models support this. I've just seen the command in Apple Remote Desktop.

You can tell some Macs to start up following a power failure. You might be able to use this and a remote control power switch to turn on the power and have it start up. I don't know if it will start if you do a shutdown, power off then power on.

What about just letting it sleep?

Clark Martin
Redwood City, CA, USA Macintosh / Internet Consulting

"I'm a designated driver on the Information Super Highway"

Message #4 - Posted 2007/11/28 - Greg Buchner

Previously, dterrors@hotmail.com wrote:

On Nov 28, 1:44 pm, Lorenzo Thurman wrote:

Anyone know if this is possible? I once had an ADB device that could do this via the phone line, but I forgot what it was called, Powerkey I think.

I've been looking into whether or not WOL works on macs. It's sketchy. Supposedly it works, but many can't get theirs to. Here's a link:

http://www.macosxhints.com/article.php?story=20050118192723153

I use WOL to wake up my G4 desktop (Digital Audio, upgraded) from m Macbook Pro quite often. (And previously a Pismo.) I use Wake550 to do this and it makes it quite automated.

<http://www.tc.umn.edu/~olve0003/wake550.html>

Greg Buchner

Actual e-mail address is gregbuchner and I'm located at gmail.com

Message #5 - Posted 2007/11/28 - isw

Previously, Lorenzo Thurman wrote:

Anyone know if this is possible? I once had an ADB device that could do this via the phone line, but I forgot what it was called, Powerkey I think.

Macs haven't had external power controls (on keyboards, say) for a while. If a beige G3 will satisfy your requirements otherwise, it has that capability, and it will run OS X. Sort of.

You might take a look at a thing called "WakeOnLAN".

Isaac

Message #6 - Posted 2007/11/29 - Heath Raftery

Lorenzo Thurman wrote:

Anyone know if this is possible? I once had an ADB device that could do this via the phone line, but I forgot what it was called, Powerkey I think.

If the computer is just asleep, you can use a WakeOnLAN packet, as long as you can figure out a way to generate the correct packet on the LAN (tricky over the Internet). If the computer is off I think you'll struggle. You probably need to physically push the button.

-- *--------------------------------------------------------*

^Nothing is foolproof to a sufficiently talented fool^ | Heath Raftery, HRSoftWorks _\|/_ |

*______________________________________m_('.')_m_________*
Message #7 - Posted 2007/11/29 - Jerry Kindall

Previously, Heath Raftery wrote:

Lorenzo Thurman wrote:

Anyone know if this is possible? I once had an ADB device that could do this via the phone line, but I forgot what it was called, Powerkey I think.

If the computer is just asleep, you can use a WakeOnLAN packet, as long as you can figure out a way to generate the correct packet on the LAN (tricky over the Internet). If the computer is off I think you'll struggle. You probably need to physically push the button.

The easiest way to do WakeOnLan is from another machine on the same network. I do that with a Python script that I run by logging into Nugget, my living room media center Mac, via ssh. The one below wakes Ingot, my G5 tower. The \x00\x0a\x95\xd5\x7e\xea bit is the machine's MAC (hardware Ethernet address), the 192.168.100.255 is the broadcast address for my LAN.

#!/usr/bin/env python
import socket
s=socket.socket(socket.AF_INET, socket.SOCK_DGRAM) s.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1) s.sendto('\xff'*6+'\x00\x0a\x95\xd5\x7d\xea'*16, ('192.168.100.255', 9)) print "Attempted to wake Ingot"

My router theoretically allows me to do this through the router, but I prefer to do it via ssh for security reasons (don't like opening any ports I don't have to).

Jerry Kindall, Seattle, WA <http://www.jerrykindall.com/>

Send only plain text messages under 32K to the Reply-To address. This mailbox is filtered aggressively to thwart spam and viruses.

Need Help? Have a Question?

Looking for more help, comments, and answers?

Ask your questions on Ask Different. Ask Different is a community of Apple users ready to help.