|
|
Wake a Mac from a PC and vice versa
Wrote this a while back - can't remember if I ever posted it though.... 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 an external 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 machinesYou 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 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 3. Identify Your Outside IP address 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: Your Computers IP Number: 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/ One note - Wake On Lan has NO EFFECT on AirPort cards - since they are powered down when the machine is asleep. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.16 seconds |
|