| Article: |
Control Your Mac from Afar | |
| Subject: | Wake on LAN | |
| Date: | 2003-09-21 10:32:15 | |
| From: | anonymous2 | |
|
Great article. I was expecting to see something about waking up a sleeping computer, though. This is something I've been struggling with on my home network: how to wake my sleeping iMac (17" 1gHz) from my powerbook (G4 667), through a router (Netgear MR814). I've worked through the suggestions on macosxhints.com including python and perl scripts. I've also tried utilities like Wake550. Nothing seems to work! My iMac just doesn't seem to pay any attention to those "magic" packets. Any ideas?
|
||
Showing messages 1 through 6 of 6.
-
Wake on LAN
2003-09-30 18:43:56 anonymous2 [Reply | View]
You're trying to send the magic packet from one wired Mac to another, right? Magic packets are broadcast (which is why you have to specify the remote computer by hardware (aka MAC) address rather than by ip) and broadcasts are limited to a single network. The wired ports on the router and the wireless network are separate networks so you can't send magic packets from one to the other.
I haven't used WoL with Macs but I have with PCs. I use the perl script, "wakeonlan" for that purpose. gsd.di.uminho.pt/jpo/software/wakeonlan/
-
Wake on LAN
2003-09-25 07:42:35 anonymous2 [Reply | View]
I have a similar problem -- I would love to wake up my iMac from my a portable, because that's where my shared printer is. Haven't had any luck. -
Wake on LAN
2003-09-27 08:41:20 anonymous2 [Reply | View]
There is a setting in the Energy Control Panel that allows for network access when the machine is asleep.. open the energy preference and click the options tab........not button.
second line down has a button to check for "Wake for Network Administrator Access"
I do not see how this would not solve your problem





A new question. Can anyone here tell me why the following python script will only wake a computer if it has been sleeping for less than about 5mins? All other methods (Wake550, WakeUp, and a Perl script "wakeonlan") successfully wake my iMac regardless of how long it has been asleep. Seems strange that the python script would be time dependent!
#!/usr/bin/env python
import socket
s=socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
s.sendto('\xff'*6+'\x##\x##\x##\x##\x##\x##'*16, ('192.168.0.3', 80))
where # symbols replace the computer's MAC address
Mark