I’ve decided to use Wake On LAN (WOL) to save power on my file server. It’s mostly a media server, so I only need it one when I need to access media. Most of the time it can be off. To turn on the computer you just send it a magic packet. This can be done over the internet too.
Enable it in the bios
Enable it in the OS
query ethernet adapter
$ ethtool eth0
Enable wol
$ ethtool -s eth0 wol g
Add to /etc/rc.d/rc.local
ethtool -s eth0 wol g
Windows
http://magicpacket.free.fr/
OS X
http://www.readpixel.com/wakeonlan/
Linux
$ wol
Python
#!/usr/bin/env python
import socket
s=socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
s.sendto('\xff'*6+'\xFF\xFF\xFF\xFF\xFF\xFF'*16, ('192.168.1.255', 80))
References