Wake On LAN for OS X

Recently there was an interesting discussion on a work related mac-alias how to actually use the Wake On LAN feature on Macs that support it.

Basically you need to send a packet to the mac address of the host
(example in Python with MAC address is 01-23-45-67-89-0a)

#!/usr/bin/env python
import socket
s=socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
s.sendto('\xff'*6+'\x01\x23\x45\x67\x89\x0a'*16, ('192.168.1.255', 80))

Here are a couple of links to similar web pages, articles, products I wanted to preserve:

No votes yet