Powered by coANDco UK

How to wake up a computer via command line

From How2s

Use this python script:

#!/usr/bin/env python
import socket
s=socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
s.sendto('\xff'*6+'\x3c\x07\x54\x14\xb5\x13'*16, ('192.168.1.103', 80))

where the mac address is

3c:07:54:14:b5:13

and the IP is

192.168.1.103
Please check out our sponsor, thanks to whom How2s.org is FREE: