How to wake up your computer on the LAN?
the answer is just to send a Magic Packet to your computer on port 7 or 9.
However when your computer is down, it has no ip, so send it to the broadcast ip
the following python script implements the above idea.
 
 
import struct, socket
 
def wake_on_lan(ether_addr, inet_addr):
addr_byte=ether_addr.split(’:')
[...]

Continue reading " wake-on-lan by python script "