D-Link Forums

D-Link Wireless Routers for Home and Small Business => Information => Archive => Topic started by: jaffadog on December 07, 2010, 07:49:24 AM

Title: The DIR-655 WOL Knowledgebase Thread
Post by: jaffadog on December 07, 2010, 07:49:24 AM
Hello All,

I've going through the trials and tribulations of getting WOL running on my DIR-655.  Well, I'm actually trying to get wake-on-wan (WOW) or WOL via internet working... There are plenty of threads out there that provide tidbits, but they all seem to be lacking some crucial piece of information - like what firmware version people eventually succeeded with - and whether the solution proved to be long lived (was not subject to the arp cache aging issue).  So, I hope this thread may become the single source of truth - over time - to provide comprehensive information and solutions, so that more people may get this seemingly simple piece of functionality to work.

So with that, let's visit some of the purported issues.  Having read many posts before starting this thread, it seems clear to me that some of these issues manifest in some firmware versions but not others.  So as you contribute to this thread - PLEASE explicitly state what firmware and hardware version your information pertains to. On to the issues...

1. Validator prevents use of x.x.x.255 (broadcast ip) in the Virtual Server configuration.  There are workarounds for this issue, including disabling javascript in your browser; or switching your subnet mask so that you have a different broadcast ip (x.x.x.127).
2. The arp cache gets flushed - after which point the WOL packet does not get delivered to your dormant PC.  Not aware of any effective workaround.  Setting a static dhcp reservation does not seem to be effective.
3. Must use the "Wake-on-Lan" preset in the Virtual Server configuration rather than creating your own identical rule.  There's something magic about the preset?  Not sure why this makes a difference, but some folks claim it did.

I currently have the 1.34NA firmware loaded, and I have hardware version A3.  I'm using the "Wake-on-Lan" Virtual Server preset, and it lets me specify x.x.x.255 (broadcast) as the internal IP - no validator/javascript error preventing me from doing this.  However, I do seem to be suffering from the arp cache flush issue.  After the PC sleeps for a few minutes, I am no longer able to wake it from a WAN magic packet.

Please contribute your information to the table below.  Add specifics about your working configuration.

Thanks!

FirmwareHardwareWOL WorksCan set x.x.x.255ARP flush issueNotes
1.34NAA3noyesyes-
1.33NA????-
1.32NA????-
1.31NA????-
1.21????-
1.21SS????-
1.20????-
1.11?yesyes?Sounds like lots of people stuck with 1.11 because WOL works there
Title: Re: The DIR-655 WOL Knowledgebase Thread
Post by: hackztor on December 12, 2010, 08:23:14 PM
Yes, firmware 1.11 works best for the wol. Passes the broadcast to 192.168.0.255 ect to the correct location. I finally just felt like upgrading after 1-2 years on it to 1.34 and wol does not work well. In the end it is not as important to me anymore, because I can set up my popcorn or my nas to wake up the computers on the network since those devices are on all the time anyways. It is the one feature I wish dlink would still have supported as it was useful.
Title: Re: The DIR-655 WOL Knowledgebase Thread
Post by: kyeck on January 26, 2011, 04:35:52 PM
I, too, am trying to get WOL working, but I've got the DIR-655 V2 with the latest firmware, 2.00NA.

Can anyone tell me how to configure it to work?

I've tried setting up a Virtual Server as others have said, selecting the "Wake-On-Lan" application, but as the previous versions, it won't let me save an address of 192.168.0.255 (out of range).  I've also tried the java.submit() command to no avail.

Any insight would be appreciated.  Please tell me D-Link supports WOL!

Thanks!
Title: Re: The DIR-655 WOL Knowledgebase Thread
Post by: FurryNutz on January 27, 2011, 09:49:20 AM
http://forums.dlink.com/index.php?topic=16418.0 (http://forums.dlink.com/index.php?topic=16418.0)

See if anything will help you out. Let us know.
Title: Re: The DIR-655 WOL Knowledgebase Thread
Post by: emax on February 22, 2011, 02:24:36 PM
Kyeck,

Have you found out a way to do this with the 2.00NA firmware?
Title: Re: The DIR-655 WOL Knowledgebase Thread
Post by: dagodfather on May 04, 2011, 05:12:06 AM
I got WOL to work for DIR-655, Hardware Version: B1, Firmware Version: 2.00NA

FIRST STEP
On SETUP, NETWORK SETTINGS, I changed the Subnet Mask to 255.255.255.128, where the Router IP Address was already set to 192.168.0.1

SECOND STEP
I then saved the change. My router hung and had to reset it, but the change occurred. Admittedly this is a pain in the ass, but blame D-LINK.

THIRD STEP
On ADVANCED, VIRTUAL SERVER, I added 192.168.0.127 as the device to wake-up EVEN THOUGH the actual IP Address of the PC I want to wake-up is 192.168.0.100. I am not an expert, but I believe ALL PCs on my local network that are setup to Wake-up On Lan, will in fact wake-up. I can live with that as ONLY my PC that is PERMANENTLY ASSIGNED 192.168.0.100 is set to wake up which is exactly what I want. BEFORE saving the changes on ADVANCED, VIRTUAL SERVER, I additionally set Name to Wake-On-LAN, Public and Private ports to 9, Protocol to UDP, Schedule to Always, Inbound Filter to Allow All. I then saved the changes.

I can't begin to tell you how many suggestions I tried that did NOT work! However the above procedure worked for my DIR-655, Hardware Version: B1, Firmware Version: 2.00NA.
Title: Re: The DIR-655 WOL Knowledgebase Thread
Post by: mh0001 on May 04, 2011, 05:29:57 AM
I don't know why there should be any problems with WOL.
I'm using a DIR-655 Revision A5 with firmware 1.34EU.

I just activated the Virtual Server - profile "Wake-On-LAN" pointing to 192.168.0.255, nothing else. I don't need to do any tricks to set this setting, I don't get any errors like "out of range" or something like that. If your Subnet-Mask is 255.255.255.0 and your IP-range is 192.168.0.100 to 192.168.0.199 (0 everywhere!) then it should accept it.
With everything else than this 0 I get out of range, too.

And it works, I can wakeup every PC at home I want to. All have fixed DHCP-reservations (but I don't even think this is important, because 192.168.0.255 packets are accepted by everything that is connected to the router).
I have already used it over 3 weeks, two times. I switched my PC off before I went to vacation, and after 1 week I sent the WOL package over the internet to start the PC which has an remote server installed, and it worked without any problems. I did several complete shutdowns and reboots over internet.

I noticed only one situation in which it doesn't work. If you set the PC-specific IP for WOL instead of 192.168.0.255, then it works just for the next minutes after you switched off your PC (ARP flush issue I think?), but if you set the IP broadcast, there are no problems at all.

I have 3 PCs at home, installed remote control servers on each of them, and wrote a list with their MAC adresses, then I can just use this website (http://stephan.mestrona.net/wol/) to reactivate the PC I want to have access to.

It took me 5 minutes to set up a completely working Wake-On-Internet without having any knowledge about WOL before, so I really don't know why I always read statements about the DIR-655 and other Dlink-router that this isn't possible.
Maybe differences between the EU and NA firmware?
Title: Re: The DIR-655 WOL Knowledgebase Thread
Post by: dagodfather on May 04, 2011, 05:43:01 AM
I have DIR-655, Hardware Version: B1, Firmware Version: 2.00NA, where the webpage will NOT allow me to use a Virtual Server with an address of 192.168.0.255. Specifically, when I enter that address and other settings you suggested, the response I get when I save the changes is that 192.169.0.255 is illegal! Additionally, I viewed the webpage code and can see where it blocks using 192.168.0.255. Apparently is does matter that I am using Firmware Version: 2.00NA for  DIR-655, Hardware Version: B1.


Title: Re: The DIR-655 WOL Knowledgebase Thread
Post by: daedao on May 04, 2011, 12:49:05 PM
I have DIR-655, Hardware Version: B1, Firmware Version: 2.00NA, where the webpage will NOT allow me to use a Virtual Server with an address of 192.168.0.255. Specifically, when I enter that address and other settings you suggested, the response I get when I save the changes is that 192.169.0.255 is illegal! Additionally, I viewed the webpage code and can see where it blocks using 192.168.0.255. Apparently is does matter that I am using Firmware Version: 2.00NA for  DIR-655, Hardware Version: B1.

dagodfather

I'm on hardware A4, firmware 1.20ON.
I have a fix for your problem. It's a simple, yet effective hack.

Here are the steps:
************************************************
1) Download and install Firefox 4
2) Install Firebug as an add-on for Firefox
3) In Firefox, login in your router's administration page
4) Go to Advanced --> Virtual Server
5) Change the IP to 192.168.0.255 for the WoL rule
6) Open Firebug
7) In Firebug click on Console
8 ) In the console enter the following line of code


page_verify=function(){return 1;}


9) Click on Run in Firebug
************************************************
10) Then on the page, Virtual Server, hit Save Settings



Voila, hackfix.

Here, an image as  "a image is worth 1000 words" guide.

(http://img88.imageshack.us/img88/1421/dir655wolhack.jpg)


It should work, because it works on my setup.
The image is a bit large, because I was lazy when I wrote this post, you'll have to scroll  right, or you could download the image on your PC for easy viewing.
Title: Re: The DIR-655 WOL Knowledgebase Thread
Post by: dagodfather on May 04, 2011, 01:00:58 PM
Thank you, daedao! I will give it a try as it seems like a better solution.
Title: Re: The DIR-655 WOL Knowledgebase Thread
Post by: daedao on May 04, 2011, 01:03:54 PM
Thank you, daedao! I will give it a try as it seems like a better solution.

Let us know if it works on your version of the router, so others might have a solution for their routers.

Oh, and the hackfix if nothing permanent. That mean, that the next time you want to change some Virtual Server's rules, you'll have to follow these steps again, in order to save the 192.168.0.255 IP.
Title: Re: The DIR-655 WOL Knowledgebase Thread
Post by: dagodfather on May 04, 2011, 02:12:39 PM
It did not work. I still get the following message: The 4th range of IP address must be between  1 ~ 254.
It is possible that I did not correctly follow the instructions you provided.
Title: Re: The DIR-655 WOL Knowledgebase Thread
Post by: daedao on May 04, 2011, 02:28:37 PM
It did not work. I still get the following message: The 4th range of IP address must be between  1 ~ 254.
It is possible that I did not correctly follow the instructions you provided.



You're doing it wrong, if it pops up  a message. My hackfix overloads a JavaScript function, so it's impossible for any kind of popup to be displayed.
Title: Re: The DIR-655 WOL Knowledgebase Thread
Post by: emax on May 04, 2011, 06:25:37 PM
daedao,

I get the same message as dagodfather.  I don't think this hackfix works with the: Hardware Version: B1, Firmware Version: 2.00NA.  Thanks for the info though.
Title: Re: The DIR-655 WOL Knowledgebase Thread
Post by: daedao on May 04, 2011, 09:52:16 PM
 
daedao,

I get the same message as dagodfather.  I don't think this hackfix works with the: Hardware Version: B1, Firmware Version: 2.00NA.  Thanks for the info though.


On the page "Virtual Server", in your browser, could you view the source and then copy it and send it to me as a message?
I might be able to help.

From what I've seen D-Link uses a JavaScript function called page_submit() on my router, to save the settings in the "Virtual Server" page. In this function, it calls another function page_verify(), that validates the values from all the inputs. If this function return the numeric value 1, then the values are considered as valid.
Maybe your version of the firmware, uses a JavaScript validation A BIT different than 1.20 firmware, but something tells me that with a little bit of hacking, this validation could be bypassed in order to save the broadcast IP.
So if you could provide the source code, I'll look into it.
Title: Re: The DIR-655 WOL Knowledgebase Thread
Post by: emax on May 05, 2011, 05:30:45 PM
daedao,

Check your PM.  Hopefully you can find a solution.  Thanks.
Title: Re: The DIR-655 WOL Knowledgebase Thread
Post by: daedao on May 06, 2011, 03:40:07 AM
daedao,

Check your PM.  Hopefully you can find a solution.  Thanks.

I've checked my PM and also my email, and.. nothing.
You could paste the source code on http://pastebin.com/ (http://pastebin.com/) and just give me the link to it.

Title: Re: The DIR-655 WOL Knowledgebase Thread
Post by: daedao on May 08, 2011, 11:22:13 PM
emax


In Firefox, in Firebug's console, execute the following:

check_LAN_ip=function(){return true;};
check_address=function(){return true;};


and then try to save the settings. Let me know if it works.
Title: Re: The DIR-655 WOL Knowledgebase Thread
Post by: emax on May 10, 2011, 06:55:31 AM
daedao,

I used the dagodfather method and that has been working.  Hopefully soon I will try out your Firebug java method.  Thank you for your help.
Title: Re: The DIR-655 WOL Knowledgebase Thread
Post by: synergy on July 22, 2011, 04:31:17 PM
I got WOL to work for DIR-655, Hardware Version: B1, Firmware Version: 2.00NA

FIRST STEP
On SETUP, NETWORK SETTINGS, I changed the Subnet Mask to 255.255.255.128, where the Router IP Address was already set to 192.168.0.1

SECOND STEP
I then saved the change. My router hung and had to reset it, but the change occurred. Admittedly this is a pain in the ass, but blame D-LINK.

THIRD STEP
On ADVANCED, VIRTUAL SERVER, I added 192.168.0.127 as the device to wake-up EVEN THOUGH the actual IP Address of the PC I want to wake-up is 192.168.0.100. I am not an expert, but I believe ALL PCs on my local network that are setup to Wake-up On Lan, will in fact wake-up. I can live with that as ONLY my PC that is PERMANENTLY ASSIGNED 192.168.0.100 is set to wake up which is exactly what I want. BEFORE saving the changes on ADVANCED, VIRTUAL SERVER, I additionally set Name to Wake-On-LAN, Public and Private ports to 9, Protocol to UDP, Schedule to Always, Inbound Filter to Allow All. I then saved the changes.

I can't begin to tell you how many suggestions I tried that did NOT work! However the above procedure worked for my DIR-655, Hardware Version: B1, Firmware Version: 2.00NA.

OMG!...Thank you!  This worked for me, and is the only suggestion that worked!  I can confirm it works on B1 hardware version with 2.01NA firmware.
Title: Re: The DIR-655 WOL Knowledgebase Thread
Post by: dougk on October 12, 2011, 10:50:59 PM
I have h/w version A3 with firmware version 1.21.  WOL worked only after the following:

1) reset to factory settings (still 1.21 firmware)
2) Automatically selected "wake-on-lan" from virtual server application name
3) Automatically selected PC from virtual server computer name, then changed IP to 192.168.0.255
4) public & private port to 9
5) Schedule = always, inbound filter = allow all

Unfortunately one of my PC's (which was working fine) suddenly doesn't wake up any longer.  I checked all the PC and bios settings and they look correct.  So I downloaded Wireshark on all PC's on the network and sure enough the PC's that wake up all receive the magic packet, however the one that isn't waking up doesn't receive it!  I've tried changing ports on the router between PC's and keep getting the same result.  Can anyone explain why a broadcast magic packet would get sent to some computers but not others...I'm perplexed!?

Doug
Title: Re: The DIR-655 WOL Knowledgebase Thread
Post by: selkov on January 20, 2012, 10:12:35 AM

Last night I installed the newest firmware  1.35na  onto my version 1 DIR-655. Followed instructions supplied here and it worked! In fact i can power on my pc from my windows phone as well.....coooool.


PS...when using a packet sender OR Depicus be sure to set the subnet mask to 255.255.255.255.



Title: Re: The DIR-655 WOL Knowledgebase Thread
Post by: churin on March 08, 2012, 01:06:42 PM
I am very much interested in the post by mh0001 above.  He states that he has no problem at all without any trick or workaround.  Only difference between his router and mine is that his firmware is 134EU and mine is 135NA.  It appears that the solution is replacing(flashing) my FW with 134EU.  Comment is appreciated.
Title: Re: The DIR-655 WOL Knowledgebase Thread
Post by: FurryNutz on March 08, 2012, 01:25:10 PM
If your unit is a NA router and has NA FW loaded then loading EU will present you with other problems as NA and EU FW are very different.
Title: Re: The DIR-655 WOL Knowledgebase Thread
Post by: churin on March 09, 2012, 06:15:04 AM
If your unit is a NA router and has NA FW loaded then loading EU will present you with other problems as NA and EU FW are very different.
NA router or EU router?  I understand there are two different HW versions, A or B. Is there still another way to designate HW version?
Title: Re: The DIR-655 WOL Knowledgebase Thread
Post by: FurryNutz on March 09, 2012, 07:51:50 AM
A# or B# is all that I've ever seen.
Title: Re: The DIR-655 WOL Knowledgebase Thread
Post by: churin on March 09, 2012, 07:55:57 AM
Then what do you mean by "NA router" or "EU router"? How can I tell which one I have?
Title: Re: The DIR-655 WOL Knowledgebase Thread
Post by: FurryNutz on March 09, 2012, 07:57:50 AM
Sticker under the router.
Title: Re: The DIR-655 WOL Knowledgebase Thread
Post by: churin on March 09, 2012, 05:37:44 PM
Here is the sticker. It shows HW version and FW version being A4 and 132NA respectively. Is this EU router
or NA router? What to look to determine which one it is?

(http://khonjo.home.mindspring.com/pictures/DIR655.jpg)
Title: Re: The DIR-655 WOL Knowledgebase Thread
Post by: adoggy on March 17, 2012, 02:12:18 AM
Hi,
Im wondering if someone can help me with the command/code in firbug to disable the message about range of ip-adress.
I have tried page_verify=function(){return 1;}
and
check_LAN_ip=function(){return true;};
check_address=function(){return true;};

but nothing seems to do it, I would appreciate any help :)