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?).
2 Answers
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
-
1It dont really need to be in the same LAN. You can send Magic packets over the internet.– fmancoJun 23, 2012 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.