LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   How to WOL through router via SSH (https://www.linuxquestions.org/questions/linux-networking-3/how-to-wol-through-router-via-ssh-4175433095/)

I Use Dial 10-19-2012 01:11 PM

How to WOL through router via SSH
 
I have a computer that I SSH into from outside my network and I want to be able to access another computer that is behind a firewall (DD-WRT router). The other computer is normally turned off as it is only used for running certain tasks.

Both computers run Ubuntu Server 64 12.04.

The router is set up to forward ports 7 and 9 and I've been trying to use etherwake to wake up the computer behind the firewall. I know the computer responds to WOL requests because I can boot it up using the WOL option in DD-WRT.

Here is the command I have tried sending to the router:

Code:

etherwake <MAC address of computer to be woken> -b <router IP address>
But this hasn't been working. What am I doing wrong?

michaelk 10-20-2012 06:29 AM

Have you read this tutorial?
http://www.dd-wrt.com/wiki/index.php/WOL

I Use Dial 10-20-2012 11:24 PM

Yes, I have read that tutorial. In fact, I have confirmed I have the correct setup by enabling WOL on the computer that is outside the firewall and starting it up from the Internet through an other DD-WRT router, but when I do that, I am not using terminal to wake the computer.


All times are GMT -5. The time now is 01:11 AM.