 huntrm0
join:2004-11-14 Alpharetta, GA
| WoL WRT54G over the Internet
Can someone please tell me how I can perform a WoL over the internet through my Linksys WRT54G? I have a web-server working perfectly through the router, but would like to keep the server in a sleep-mode, allowing me to remotely wake it up.
I've got the firewall turned off, and have port forwarding set up for port 9 UDP to hit the static IP of the server. Am trying both Depicus and the DSL Reports Java WoL and am having no luck. Mac address and IP address is all correct.
Thanks for any help.
NOTE: I'd prefer to not hack the WRT54G - but if I must, please advise where to start. Thanks. |
|
  SSidlov Other Things On My Mind Premium join:2000-03-03 Pompton Lakes, NJ
·Optimum Online
·Cingular Wireless
| You have to tell what version of the Linksys and the firmware you are using for anyone to help.
assuming it's not a version 5 which may require a jtag or tftp session,depending on the version; any of the others support DD-WRT or a Thibor firmware and those firmware have a specific WOL function. Here's a link for the WOL in the wiki that has additional references: »dd-wrt.gruftie.com/wiki/index.php/WOL
I believe that the current DD-WRT uses a built-in version of the script to wake by mac address. -- »www.Warpstock.org |
|
 huntrm0
join:2004-11-14 Alpharetta, GA | Thanks for the note. It's V2 of the WRT54G and it's on firmware version 4.3.
I'll query that information you provided. Thank you. |
|
  SSidlov Other Things On My Mind Premium join:2000-03-03 Pompton Lakes, NJ
·Optimum Online
·Cingular Wireless
| Also, fwiw, the FAQ for the forum has WOL setup instructions.
I mention them, to support the forum, though based on your first email, it appeared to me that you read them.....
However, you may find that changing the firmware to DD-Wrt or Thibor's Hyperwrt is a better option and will give you more functionality. -- »www.Warpstock.org |
|
 huntrm0
join:2004-11-14 Alpharetta, GA
| Still not having any success and been all over the forums, as well as few other websites. Linksys support wasn't helpful also.
I did turn off the linksys firewall as well as setup a DMZ for that PC, hoping the router, would send all traffic to it's location. No such luck.
Only thing I can imagine is:
a) Maybe Zonealarm on the PC is somehow blocking WoL commands from the router or
b) Router is still preventing the WoL command going through. Note, I checked incoming logs and I see the word "Discard" from the DSL Reports IP address when I try to use the java wol tool.
Next steps: 1) Turn off zone alarm compeltely on the PC - retest using the router
2) Then, connect PC directly to the internet to see if a WOL command works - eliminating the firewall.
Any ideas? |
|
  SSidlov Other Things On My Mind Premium join:2000-03-03 Pompton Lakes, NJ
·Optimum Online
·Cingular Wireless
1 edit | I would think it IS your ZA. You have to setup an "EXPERT" firewall rule that will allow the UDP WOL packet in on the port you wish...you can specify an IP or not that the packet comes from....
Anyway, open ZA, press F1, and on the Search Tab, type 'firewall rules' and select 'creating expert firewall rules' as the topic....
BTW, standard Linksys firmware does NOT support WOL except on a PC attached to the DMZ....you need Thibor or DD-WRT to configure WOL without a DMz'd device.
-- »www.Warpstock.org |
|
  Phil Rojo Sol Premium join:2001-06-11 Camarillo, CA
·Verizon FIOS
1 edit | reply to huntrm0 I just happen to be trying ot get WoL working with my WRT54G v2 as well. I thought I was successful last night by opening port 9 UDP protocol, changing my motherboards BIOS settings to allow WoL to work, and lastly configuring my integrated NIC to allow for WoL.
Are you using an integrated NIC? If not does your NIC use the PCI bus to activate WoL or does it require a separate cable to connect to the motherboard?
Check your BIOS and make sure WoL is enabled. I'm using an ASUS A7N8X Deluxe v2.0 and had to enable to WoL settings under advanced, power management.
Next make sure your NIC card is properly configured in Windows. There were two things to set for me. One, I had to enable WoL and two, I had to "Allow this device to bring the computer out of standby" under the NIC's power management tab. Don't ask me why this helped, but I tried it both with unchecked and checked and it most definitely needs to be checked.
The last thing is setup the router, but it looks like you have that set correctly. Have you tried waking locally on your network? This would rule out the router being a factor.
Now as I said earlier, I did have it working last night. I even logged into my work PC and tried waking from there successfully, but this morning for whatever reason it's not working! This after several successful attempts last night. -- Correcting one "looser" at a time. |
|
 huntrm0
join:2004-11-14 Alpharetta, GA
| WoL on this machine has been working fine for few years. The problem is trying to WoL over the internet.
Funny, I've got a Depicus batch command and when I'm connected to the router, I can instantly wake up the machine. But for some reason over the internet, I cannot wake up the darn thing. Grrr....
I disabled Zone Alarm, and then I realized ZA doesn't sit between the router and the network card, so that likely doesn't do anything. But, even with it disabled, still no wakeup.......
Fairly complicated for me to try to connect the machine straight to the cable modem. I also tried the Depicus on-line wake-up tool for over the internet. I entered the MAC address of the NIC card in multiple formats, with colons, dashes, spaces, etc. No such luck.
I got to believe that either the packets are being dropped over the internet (i.e., Comcast doesn't like them so it filters them out), or it's an issue with the router.
Has anyone, without hacking their router, been able to deliver a magic packet WoL successfully on a WRT54G? I've tinkered with the router enough to where I'm ready to give up. |
|
  Phil Rojo Sol Premium join:2001-06-11 Camarillo, CA
·Verizon FIOS
| I ended up installing DD-WRT to get this to work. DD-WRT allows one to modify the ARP table rules which apparently is necessary to WoL to work over the internet. Here's the guide I followed to get it working: »www.dd-wrt.com/wiki/index.php/WOL -- Correcting one "looser" at a time. |
|
 huntrm0
join:2004-11-14 Alpharetta, GA
| Phil - I followed your lead and did the same. It is now working for me. What remote WoL program or website do you use?
The steps I took, in case anyone else wants to do this are:
1) Router: Linksys WRT54G V2, V4.3 Firmware. Download DD-WRT V23 MINI version.
2) Follow DD-WRT instructions for udating the firmware. I use the Linksys WRT54G firmware and not the generic firmware.
3) Then, I followed DD-WRT's WIKI on WoL and how to modify the ARP table rules. See Phil's link up above.
4) I tested it last night and this morning, using the WoL site that DD-WRT recommended.
Next steps: - Try to get my Depicus WoL batch file to work if possible - Tinker with enabling the router firewall to ensure WoL will still work
Thanks all. |
|
  Phil Rojo Sol Premium join:2001-06-11 Camarillo, CA
·Verizon FIOS
| I am using the Depicus WoL tool for Windows: »www.depicus.com/wake-on-lan/wake···gui.aspx
I like this method because it allows me to choose the port and I can use my domain as opposed my IP.
Glad you got it working.  -- Correcting one "looser" at a time. |
|
 huntrm0
join:2004-11-14 Alpharetta, GA
| Phil -
Once again thanks. However, I can only get the following site to perform WoL:
»stephan.mestrona.net/wol/
The format is that the mac address is in the xx:xx:xx:xx
And I enter the IP address xx.xxx.xx.
For the sake of me I can't get other WoL tools to work, including the one you suggested? What format are you entering the information? |
|
  Phil Rojo Sol Premium join:2001-06-11 Camarillo, CA
·Verizon FIOS
| The following settings are the Depicus tool I mentioned earlier:
Mac Address: 12-34-56-78-90-AB (it can be : delimited as well) Internet Address: I use my dyndns.org domain name (phil.dyndns.org) Subnet Mask: 255.255.255.255 Send Options: Internet Remote Port Number: 9
I orginally had my subnet mask as 255.255.255.0 and it did not work. Changing it 255.255.255.255 got it working. -- Correcting one "looser" at a time. |
|
 huntrm0
join:2004-11-14 Alpharetta, GA | The dashes and the .255 solved it.
Thanks. |
|