LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-19-2012, 01:11 PM   #1
I Use Dial
LQ Newbie
 
Registered: Jul 2009
Location: Morgan Hill, CA
Distribution: Ubuntu
Posts: 20

Rep: Reputation: 0
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?
 
Old 10-20-2012, 06:29 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,592

Rep: Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880
Have you read this tutorial?
http://www.dd-wrt.com/wiki/index.php/WOL
 
Old 10-20-2012, 11:24 PM   #3
I Use Dial
LQ Newbie
 
Registered: Jul 2009
Location: Morgan Hill, CA
Distribution: Ubuntu
Posts: 20

Original Poster
Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] wol on a different port along with ssh ziplark Linux - Networking 3 09-10-2010 07:50 PM
port forwarding in router for wol??? p03p Linux - Networking 6 03-04-2009 03:28 PM
Got new router, can't ssh in now Chuk Linux - Networking 2 10-16-2004 01:52 AM
ssh and router, I need help. babyboss Linux - Networking 4 09-22-2004 11:40 AM
ssh behind a router The sakkie Linux - Networking 16 07-12-2003 04:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration