|
|
#1 |
|
Major Leaguer
Join Date: Jan 2002
Location: Edinburgh, Scotland
Posts: 437
|
remote wake from sleep
Hi Guys,
I left my G4 sleeping today when I went to work. Is there any way to remotely wake it up? I noticed that the Sys Prefs have a "wake for admin access" setting, which I'm pretty sure I left on. Does this mean I can just SSH in and the machine will wake up? Please advise - I need my mail! |
|
|
|
|
|
#2 |
|
Triple-A Player
Join Date: Feb 2003
Posts: 59
|
I wish I knew. Whenever I try to SSH to a sleeping mac, it responds with a "host is down" message. I tried searching versiontracker for a program that might remotely wake it up but was unsuccessful.
|
|
|
|
|
|
#3 | |||||||||||||||||||
|
Triple-A Player
Join Date: Sep 2002
Posts: 99
|
Re: remote wake from sleep
Are you actually sure the option is there? I thought it was removed in OS X and is only in Classic... I wonder if booting into Classic, enabeling the option, then booting back into X will allow SSH to wake your Mac? Or prehaps a Wake-On-LAN utility could wake the sleeping Mac. I don't know exactally how you could send a Wake-On-LAN signal through the Internet I've have this problem too, and I would like a solution as well. |
|||||||||||||||||||
|
|
|
|
|
#4 |
|
Triple-A Player
Join Date: Feb 2003
Posts: 59
|
No, the option is there in 10.2. No need to boot into classic.
|
|
|
|
|
|
#5 |
|
League Commissioner
Join Date: Jan 2002
Posts: 5,536
|
there is WakeUp, which i believe can send womp (wake on magic packet) to a snoozer
http://www.coriolis.ch/article18.html |
|
|
|
|
|
#6 |
|
Triple-A Player
Join Date: Feb 2003
Posts: 59
|
Excellent! This is exactly what I needed. Thanks.
|
|
|
|
|
|
#7 |
|
Major Leaguer
Join Date: Jan 2002
Location: Edinburgh, Scotland
Posts: 437
|
Hmm. Nope.
I'm looking for a method that will let me wake up my machine from work - where we're stuck in the dark ages of win95 (I'm not kidding). SURELY there's a way to do it? Or will pinging my machine wake it (as the above link seems to imply)? |
|
|
|
|
|
#8 |
|
All Star
Join Date: Jan 2002
Location: NY, NY
Posts: 776
|
Typing: "Wake On Magic Ping" (WOMP) in google gives a number of interesting hits including these 2:
http://pages.towson.edu/aczech/magicpkt/ http://gsd.di.uminho.pt/jpo/software...i-howto-2.html Googling: "Wake On Magic Packet" (WOMP) gives even more interesting avenues. I haven't worked through the particulars but it seems you could do this yourself with a little research. Hugh
__________________
First they laugh at you, then they fight you, then you win. |
|
|
|
|
|
#9 | |||||||||||||||||||
|
Site Admin
Join Date: Dec 2001
Location: Wichita, KS
Posts: 2,350
|
Good find! ![]() This works great on my LAN, but I don't see how it can be configured to work over the Internet. That ethernet address is seen only on the LAN, right? Has anyone found a way to do remote wakeup of a Mac on a LAN via the Internet? I don't use a modem for FAXing so that's not an option. |
|||||||||||||||||||
|
|
|
|
|
#10 |
|
Major Leaguer
Join Date: Sep 2002
Location: Cambridge, MA
Posts: 367
|
I use wakeonlan from a *nix terminal, but it's fairly hit and miss success-wise. Part of the problem is that if my powerbook is closed, it will fall asleep again. Not that I should be runing it with the screen closed anyway...
|
|
|
|
|
|
#11 |
|
MVP
Join Date: Jan 2002
Posts: 1,562
|
wakeonlan works great - you could prob do it from your remote machine, but since you have not already installed wakeonlan - then you are out of luck for today... sorry
|
|
|
|
|
|
#12 |
|
Prospect
Join Date: Mar 2003
Location: Sunnyvale, CA
Posts: 2
|
Try DSL Reports wake up
Try the wake up tool at DSL Reports:
http://www.dslreports.com/wakeup I tried it once to wake up my G4 but couldn't get it to work through my SMC router. Didn't figure out which port needs to be open. If anyone gets this working, post back. |
|
|
|
|
|
#13 |
|
MVP
Join Date: Jan 2002
Posts: 1,562
|
i doubt you will ever get the DSLReports wakeup to work.
|
|
|
|
|
|
#14 |
|
Major Leaguer
Join Date: Jul 2002
Posts: 393
|
i use wake550 which keeps list of connect addresses. is there a terminal command or and applescript that i could use for waking? i have no problems using the method that i am using but i want to let a friend who is very ( and i stress very ) computer illiterate. i want to allow him to access my itunes library. i made an applescript for that. however the computer goes to sleep so i need him to be able to wake it up first but in a simple manner.
__________________
Quicksilver G4/933, 1.5GB RAM, 10.5.x, Graphite AGP G4/450 640GB RAM, 10.4.x MacBook Pro Core 2 Dual/2.33, 2GB RAM, 10.5.x, MacBook Core 2 Dual/2.16, 1GB RAM, 10.5.x |
|
|
|
|
|
#15 |
|
League Commissioner
Join Date: Jan 2002
Posts: 5,536
|
__________________
On a clear disk, you can seek forever. |
|
|
|
|
|
#16 |
|
Site Admin
Join Date: Dec 2001
Location: Wichita, KS
Posts: 2,350
|
I've been through that Hints exchange and numerous Google links searching for how to wake a sleeping Mac over the Internet and nothing has worked. The app Wake Up recommended above does a great job on a LAN, as do other apps and scripts.
If anyone knows how to do this over the Internet, please let us know. |
|
|
|
|
|
#17 |
|
Moderator
Join Date: Jan 2002
Posts: 10,677
|
FWIW, recently speaking with an Apple Engineer over an unrelated issue, he mentioned that he had no idea what type of "admin access" was actually required to make "Wake on admin access" actually work. We briefly theorized that it was a forward-thinking thing built into older OSs planning for Apple Remote Desktop (Timbuktu is not 'admin' enough to wake a slept machine remotely
).
|
|
|
|
|
|
#18 |
|
MVP
Join Date: Jan 2002
Posts: 1,562
|
I have tried this over the years several times waking over the internet and it has NEVER worked.... until today... I just woke my iBook and an iMac over cable modem, through router, from a website... here's the trick...
My LAN setup uses numbers in the range 192.168.1.0 to 255 - you may need to adjust numbers below to meet your own LAN. Assuming those numbers... 1. Identify the MAC addresses of your machines You can easily find it in the Network PrefPane at the bottom of the window. You can also issue the following command in a terminal: arp <ip address> and it will return the Mac address of the computer (NIC) in question. For example: arp 192.168.1.167 returns book.my.lan (192.168.1.167) at 0:45:65:fb:66:26 (note - each digit in the Mac address must be two digits - so in the example above we fill in the missing digits (char 1) with a zero and end up with this Mac address: 004565fb6626 2. Setup EnergySaver PrefPane Open the Energy Saver PrefPane, click Show Deatils button, then the Options tab and check the box for "Wake for Network Administrative Access" 3. Identify Your Outside IP address Identify the outside address of your LAN - you can easily find this in the router setup. 4. Setup Port Forwarding on the Router Most online wake utilities use UDP port 9, so you need to set up your router to forward UDP port 9 to the whole internal LAN - your broadcast address. For me this means port forwarding all udp request on port 9 to 192.168.1.255. Some online wake utilities allow you to choose a port to send the packets on - if you desire - choose another port and open UDP traffic on it appropriately. The secret here is to have the port broadcast the UDP signal on that port to your whole subnet - in my case 192.168.1.255. 5. Test it out Put the computer on your LAN to sleep then visit one of the online wake utilities. I tried these two: DSLReports - DID NOT WORK! http://www.dslreports.com/wakeup Depicus Wake On Lan - WORKS! http://www.depicus.com/wake-on-lan/woli.asp Using the Depicus utility - here's how I did it: Your Network Cards Mac Address: <MAC address from step 2-NO COLONS> Your Computers IP Number: <outside IP address determined in step 3 above> Your Subnet Mask: 255.255.255.255 # see note below Port Number: 9 My normal subnet mask FOR MY LAN - not the WAN is 255.255.255.0, but you want to make sure and broadcast to the full range so make sure the last digit is 255 also. I can verify this works using Comcast cable and a Linksys 4 port router. I was able to successfully wake both an iBook 2001 (stock Mac OS X 10.2.5 install and ethernet card) and an iMac 350MHz with stock ethernet card. If you are having troubles with your IP addressing or subnet numbers - heres a nice little tool for calculating. There are others availble - search for "subnet tool" http://www.mattjustice.com/subnet/ |
|
|
|
|
|
#19 |
|
MVP
Join Date: Jan 2002
Posts: 1,562
|
If you want to get sneaky - you can just create this HTML file on and it will do the same thing - note it is still accessing the Depicus site to perform the action. I tried just encoding the info into the url in hope of creating a bookmark like so:
Code:
http://www.depicus.com/wake-on-lan/woli.asp?MacAddress=XXXXXXXXXXXX&IpNumber=X.X.X.X&SubnetMask=255.255.255.255&PortNumber=9&submit=WakeMeUp Code:
<html> <head> <title>Wake On Wan</title> </head> <body> <form method="POST" action="http://www.depicus.com/wake-on-lan/woli.asp"> <table border="0" cellpadding="0" cellspacing="0" width="100%" height="102"> <tr> <td width="33%" height="25" align="right">Your Network Cards Mac Address</td> <td width="5%" height="25"></td> <td width="62%" height="25"> <input type="text" name="MacAddress" size="20" value="009027a322fe"></td> </tr> <tr> <td width="33%" height="25" align="right">Your Computers Ip Number</td> <td width="5%" height="25"></td> <td width="62%" height="25"> <input type="text" name="IpNumber" size="20" value="217.204.255.55"></td> </tr> <tr> <td width="33%" height="25" align="right">Your Subnet Mask</td> <td width="5%" height="25"></td> <td width="62%" height="25"> <input type="text" name="SubnetMask" size="20" value="255.255.255.240"></td> </tr> <tr> <td width="33%" height="27"> <p align="right">Port Number</td> <td width="5%" height="27"> </td> <td width="62%" height="27"> <input type="text" name="PortNumber" size="20" value="7"></td> </tr> <tr> <td width="33%" height="27"> <p align="center"></td> <td width="5%" height="27"> </td> <td width="62%" height="27"> <input type="submit" value="Wake On Wan" name="WakeMeUp"></td> </tr> </table> <p align="left"></p> </form> <p align="left"> </body> </html> |
|
|
|
|
|
#20 |
|
Site Admin
Join Date: Dec 2001
Location: Wichita, KS
Posts: 2,350
|
Thanks bluehz! I intend to give this a try tomorrow when I'm on the road.
|
|
|
|
![]() |
|
|