Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a fedora 12 box that I am using as a sandbox for web development and a few other toys.

The box gets really hot so I would like it to sleep/hibernate when no one is using it, however most of the people connecting to the box will not be able to access it physically.

Is it possible to set up a Wake On Lan that wakes up the machine when it detects an SSH connection?

A google search didn't yield much information. (or atleast I wasn't smart enough to register it as useful!)

share|improve this question

I don't think it is possible to do that without something else in between that would answer the SSH request, and then issue the wake-on-lan to the destination machine. In other words, there has to be something always up for SSH, and then you would issue the wake-up command from that box and SSH to your destination. If you have a Linksys router (like the wrt54g/l) with the tomato firmware installed on it, you can accomplish this using just the router with SSH enabled by SSHing into the router, running /usr/bin/ether-wake destination-mac-address and then sshing to the machine you just powered on.

share|improve this answer
I can also have him explicitly send the WOL command before sshing but I still dont know how to configure the F12 box to support WOL – Toymakerii Mar 19 '10 at 13:03
The WOL on the target machine is hardware dependant, there is nothing to enable on the OS side. It would have to be enabled in the system BIOS. – Alex Mar 20 '10 at 13:47

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.