Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

Is there a way to set Kubuntu up so that it wakes up automatically from sleep mode upon ssh connection attempt? I know there is something like WoL, but that's not what I need (am I right?).

share|improve this question
    
I think you need WOL to do it – Fivesheep Jun 23 '12 at 12:23
    
@Fivesheep how to do it? – burtek Jun 23 '12 at 12:24
up vote 1 down vote accepted

Before ssh, you have to send a wol magic package from a machine which is in the same lan with your kubuntu system. it depends on what device you have, it can be a computer or router. for ubuntu, you can install "wakeonlan".

make sure you have wol enabled in your motherboard's bios settings

share|improve this answer
1  
It dont really need to be in the same LAN. You can send Magic packets over the internet. – criziot Jun 23 '12 at 17:42

For those running Tomato by Shibby, other Tomato based, or OpenWRT firmware on their router, you could write a little script to automatically wake up any PC on your local network that receives a new connection on its SSH port. I've written about this on my blog and the code is on github gist.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .