D-Link Forums

The Graveyard - Products No Longer Supported => Routers / COVR => DIR-655 => Topic started by: limey_rick on June 12, 2009, 08:34:00 AM

Title: DIR 655 and Wake On Lan (WOL) Configuration over internet (SOLVED)
Post by: limey_rick on June 12, 2009, 08:34:00 AM
Hello,

I have been trying in vain to setup my home network so that I can perform wake on lan (WOL) over the internet. I have been able to do WOL with a magic packet utility within my local network - so I know that the PC NICS are configured correctly - but this does not work when I try it from my office for example, over the internet.

I have a virtual server set up forwarding ports 9 and 7, UDP to 192.168.1.101 initially, but found some threads about using the broadcast address so changed this, but still no luck. I had to downgrade to 1.20 from 1.21 as I found several threads here about firmware versions not allowing broadcasts.

My setup is as follows:

Router: 192.168.1.1
PC1      192.168.1.101 (static assigned by MAC address in the router)
PC2      192.168.1.102 (static assigned by MAC address in the router)

Broadcast address was 192.168.1.255

I am stuck now so if anyone has any experience of diagnosing how to see if the setup is correct or how they got it working, it would be appreciated.

Thanks, Rick.
Title: Re: DIR 655 and Wake On Lan (WOL) Configuration over internet
Post by: Demonized on June 12, 2009, 02:07:16 PM
searching this 655 forum for this already discussed topic will save you a lot of time...
Title: Re: DIR 655 and Wake On Lan (WOL) Configuration over internet
Post by: limey_rick on June 12, 2009, 03:39:37 PM
As mentioned, I have already searched the forum for this topic, tried many of the suggestions, but still cannot get WOL to work.
Title: Re: DIR 655 and Wake On Lan (WOL) Configuration over internet
Post by: Fatman on June 12, 2009, 03:44:06 PM
cannot get WOL to work.

You said it!
Title: Re: DIR 655 and Wake On Lan (WOL) Configuration over internet
Post by: Demonized on June 12, 2009, 04:04:29 PM
It doesn't work.
Title: Re: DIR 655 and Wake On Lan (WOL) Configuration over internet
Post by: limey_rick on June 15, 2009, 09:24:04 AM
Here is a link to a post where someone has it working:

http://www.broadbandreports.com/forum/r22315056-DIR655-Virtual-Server-broadcast-address-in-131

Also, if you read all the threads in this forum, several DIR655 users had it working at some point.

Also, why would the router have a WOL option in the Virtual Server settings if there was is no intent to support it? Maybe to keep the forums busy perhaps.
Title: Re: DIR 655 and Wake On Lan (WOL) Configuration over internet (SOLVED)
Post by: limey_rick on June 23, 2009, 11:42:54 AM
Okay, so I have this finally working!!

The problem seems to be well documented in other threads; in previous firmware versions of this router, WOL was possible using the virtual server and forwarding port 9 (normally) to the LAN broadcast address (192.168.1.255 is mine for example). However, DLINK (thank you) decided to stop an IP address ending in 255 from being entered in the virtual server page in later firmware.

I figured out a way around this and now I can wake my PCs from the internet when I am at work. Because Java script is used to validate the IP address entries, I just turned off Java script in my firefox browser while I was on the virtual server page, entered the broadcast IP address I wanted to use as above, turned javascript back on and was able to save the settings. Now when I go to the virtual server page, the broadcast IP address remains.

Now I can send magic packets to any of the PCs on my LAN, over the internet using a Dyndns IP address and hey presto!! 
Title: Re: DIR 655 and Wake On Lan (WOL) Configuration over internet (SOLVED)
Post by: cxny on June 26, 2009, 02:10:45 AM
I just bought the DIR665 and began to set it up tonight. I also tried setting up WOL broadcast forwarding but it didn't work, unlike my 12yr. old USR that did! But since I only have one PC that I wanted to wake up I got it to work this way (not using Virtual Server settings):

1. Go to Advanced ->  Port Forwarding
2. Check a new box to enable a new rule and give it a name, ex. WOL
3. Under IP Address enter your PC's address, ex. 192.168.0.10 (not 192.168.0.255)
4. under UDP enter 7, 9
5. Leave the defaults for Schedule: Always and Inbound Filter: Allow All
6. Save Settings and Reboot Now.

It tested fine from the web - I used this site: http://wakeonlan.me/ (http://wakeonlan.me/)

btw, that site requires your PC's mac address to be entered with the dashes. They also tell you they'll send out UDP 9 but they sometimes they send UDP 7 instead - just enable both to make things easier from any site you choose.

*I also woke up my PC using an iPhone right from within the same room (using same website above), but I had to turn off Wi-Fi and only use 3G, otherwise the site complained that I was sending to the same PC I was on. ???
(of course they meant the router, which the phone was also connected via Wi-Fi).
Title: Re: DIR 655 and Wake On Lan (WOL) Configuration over internet (SOLVED)
Post by: Fatman on June 26, 2009, 08:16:41 AM
You will find that method fails if your computer has been of for any length of time.
Title: Re: DIR 655 and Wake On Lan (WOL) Configuration over internet (SOLVED)
Post by: cxny on June 26, 2009, 01:30:11 PM
Thanks for the heads-up. I'll have to test that later.
Title: Re: DIR 655 and Wake On Lan (WOL) Configuration over internet (SOLVED)
Post by: cxny on June 26, 2009, 05:47:58 PM
Well, you were right. I'll have to try your method next, else I'm sending this router back because that's a key feature I need.

As an aside, I'm having a problem where the DHCP server is not working.  :(
'Acquiring Network Address...' in XP. Although it does give an IP (which has been reserved) but browsing fails. I had to go in and release and renew my internet connection IP before it worked again. Weird that those 2 things are related. So this router looks buggy so far. I really thought it would be just like the DGL-4300 I bought my girl 2 yrs. ago - that one is much more solid in comparison.
Title: Re: DIR 655 and Wake On Lan (WOL) Configuration over internet (SOLVED)
Post by: limey_rick on June 30, 2009, 02:55:15 PM
I also pinged D-Link through their online support to get some more information before I figured out how to get it to work for me. Here is the response (a month after I sent the query):

*** START ***
Dear Richard Evans,

Your Case ID is DLK400376212.

[Critical: Please do not change the subject line of your email when you reply. Leaving the subject line as it is will allow us to review your complete history and help us to better serve you.]

Date of Reply: 6/30/2009
Products: DIR-655
Operating System: Windows Vista Ultimate

It is not that it supports or not, because this router is capable of Forwarding ports. Maybe if you reserve the MAC address on the router's DHCP page, so it will not need to send a 'who is' packet. Beyond this, you will need to focus on your WOL NIC device.

Should you require further assistance with your D-Link products, please reply to this message, or call toll free at 877-453-5465.

Thank you for networking with D-Link.

Sincerely,
D-Link Technical Support
*** END ***

This was a completely useless response; according to DLINK then, its not a question of whether its supported or not. I guess its not supported properly nor correctly, but some people seem to have workable solutions.
Title: Re: DIR 655 and Wake On Lan (WOL) Configuration over internet (SOLVED)
Post by: Fatman on June 30, 2009, 03:09:35 PM
That case was answered in ~8 days (still longer than it should have been but nothing like a month), more troublesome is the fact that it is being quoted slightly out of context.

He was saying that it is not that port forwarding for UDP/9 is supported or not, but that the MAC will fall out of your ARP table.  He suggested adding a reservation hoping that would create a static ARP entry (a nice try, but it does not work for this product).  Beyond that he was telling you you are going to have to find a way to keep that device in the ARP table (which is something that can not be done from the DIR itself).

As for solutions, the only one I am aware of (which is posted in this very thread) is extremely hackish, and he couldn't have suggested it.

The biggest problem here is that the only way to accomplish WOL is to either exist on the same L2 network (What WOL was designed for) or to use a L3 broadcast address (which is incredibly insecure).

I would not forward any traffic to L3 broadcast for any reason, which is the reason our validator won't let you.
Title: Re: DIR 655 and Wake On Lan (WOL) Configuration over internet (SOLVED)
Post by: Appiejs on July 29, 2009, 07:34:03 AM
Hi All,

I had the same problem as some other, that WOL didn't worked from the internet.
It seems that the broadcast address x.x.x.255 doesn't work.

So I changed my DHCP subnet to x.x.x.128 and use the IP range from .1 till .128
When you do this you can use the broadcast address x.x.x.127 and it works  :D

In the router you go to: Advanced \ Virtual Server
Then you select application name: Wake-On-LAN (port 9)
And fill in your broadcast address as mentioned above.

Save settings \ reboot
Then you can use the website www.wakeonlan.me (http://www.wakeonlan.me) to try it.

Also you can see if a packet is deliverd through the router.
In the router go to: Status \ Internet Sessions
Here you can see if a packet is sent to you local x.x.x.127:9 address.

You can also start a ping to see if the PC is starting up: Tools \ System Check.
Works for me.
Good Luck
Title: Re: DIR 655 and Wake On Lan (WOL) Configuration over internet (SOLVED)
Post by: cmos on July 30, 2009, 10:29:48 AM
I can't get this to work at all on my 655. I have tried pretty much everything in this thread. I changed my subnet mask 10 10.0.0.255 (I'm on a 10.x.x.x network) and tried the broadcast address set to 10.0.0.127 and it didn't work. I've checked the connections on the router and it clearly shows an incoming connection on port 9 to the broadcast address but it doesn't wake the PC up. I've checked my BIOS and network card settings over and over and over and made sure all three checkboxes in the Power Management tab of my network card were checked and that it was configured to wake up and that it was set to magic packet. This used to work before on an earlier version of the firmware but does not work anymore and I'm on 1.32NA so I can't downgrade... I think I'm better off selling this thing on E-Bay and getting another with simultaneous dual-band N like a DIR-825 but that may even have the same issue...

Any help getting my 655 to work would be much appreciated!
Title: Re: DIR 655 and Wake On Lan (WOL) Configuration over internet (SOLVED)
Post by: Appiejs on July 31, 2009, 05:00:25 AM
You will have to change your subnet maks to 255.255.255.128
So your DHCP settings will be something like:
gateway: 192.168.0.1
subnetmask: 255.255.255.128
DHCP range: 192.168.0.2 till 192.168.0.126

In this case your broadcast address will be 192.168.0.127 and you will need to fill in this address as a virtual server as described in my earlier post.

You can also look in the logs from the router to see if a packet is been received and send to the broadcast address. If it has been send but it didn't work you can try port 7 or 9. For me port 9 works.

Good luck
Title: Re: DIR 655 and Wake On Lan (WOL) Configuration over internet (SOLVED)
Post by: williamcsk on August 09, 2009, 08:03:46 PM
Hi all,
Maybe it's a little bit late to reply, here's my 2 cents for this problem.
I am using firmware 1.21 and the javascript at Virtual Server page do not allow me to save the boardcasting IP 192.168.0.255 for wake on lan.
I know that I could change the subnet mask to make it work for IP like 192.168.0.127, however, that would make me need to change a lot of assigned IP in my network. I still want to boardcast at IP 192.168.0.255.

My work around is like this:
1. Login the router and go to Virtual Server page.
2. Just fill the table with port 9 and route to IP 192.168.0.255 and check the box for activation.
3. If you press Save settings now, you will get an error.
4. What I do is type "javascript:mf.submit()" at the address bar.
5. This will bypass the checking function of javascript and directly save the form.
6. Now the settings should be saved and working.
Title: Re: DIR 655 and Wake On Lan (WOL) Configuration over internet (SOLVED)
Post by: nine00 on December 24, 2009, 07:25:38 PM
I've done everything that Appiejs has posted and can't get WOL over internet to work.  I can wake my PC up if I send the magic packet on my LAN, but not able to do it from an outside network. 

I've changed my subnet to xxx.xxx.x.128 and made a WOL entry on the Virtual Server page.  Am I missing a step to make this work on a network outside of my LAN?
Title: Re: DIR 655 and Wake On Lan (WOL) Configuration over internet (SOLVED)
Post by: EddieZ on December 25, 2009, 03:29:01 AM
Did you enable your modem (which is in between the outside world and the router) to relay the WOL packet?
Title: Re: DIR 655 and Wake On Lan (WOL) Configuration over internet (SOLVED)
Post by: Doebe on February 02, 2010, 11:22:54 AM
I have Done It i tried this with the DIR-855 to Start my QNap TS-459 from internet
Is set up the following :
Settings internal Network :

Router internal IP: 192.168.0.1
subnetmask: 255.255.255.128
DHCP range: 192.168.0.2 till 192.168.0.126

My Qnap IP = 192.168.0.5

But my Virtual server settings are :

24--VIRTUAL SERVERS LIST

1st Server List

Name WOL Port 7
IP Address :       192.168.0.127
Public Port :       7
Private Port :     7
Traffic Type :     UDP
Schedule :         Always
Inbound Filter :  Allow All

2nd Server List

Name WOL Port 9
IP Address :       192.168.0.127
Public Port :       9
Private Port :     9
Traffic Type :     UDP
Schedule :         Always
Inbound Filter :  Allow All

Thank you guys For helping  :) :) :) :) :)

February 02, 2010, 11:25:07 AM

Changed to latest firmware  NA1.22, now the settings are

Router internal IP: 192.168.0.1
subnetmask: 255.255.255.0
DHCP range: 192.168.0.2 till 192.168.0.20

My Qnap IP = 192.168.0.5

Name WOL Port 9
IP Address :       192.168.0.255
Public Port :       9
Private Port :     9
Traffic Type :     UDP
Schedule :         Always
Inbound Filter :  Allow All
Title: Re: DIR 655 and Wake On Lan (WOL) Configuration over internet (SOLVED)
Post by: hackztor on February 04, 2010, 12:14:10 PM
I use the broadcast method for when sending wol from internet from dslreports. Under my filter I have it set to only allow it from dslreport ip address to help with the insecurity of it. In addition, I now have a popcorn device in which I use that to wake up computers.
Title: Re: DIR 655 and Wake On Lan (WOL) Configuration over internet (SOLVED)
Post by: ekis on April 02, 2010, 08:38:39 AM
Hi guys,

My settings:

Firmware-> 1.33NA
Router IP-> 192.168.1.1
Subnet Mask-> 255.255.255.0
DHCP Range-> 192.168.1.100 - 192.168.1.199

First I tried to set UDP port 9 and IP 192.168.1.255 manually in "Advanced/Virtual Server". It wouldn't work. Then I remember reading somewhere about people complaining that they couldn't get it to work even though there is an Wake-On-LAN setting in "Application Name" window. So I tried to choose the "Wake-On-LAN" alternative + "<<" + saved and it worked!!

It is so strange that it started to work because everything looks identical to my original settings.

Oh well. I hope I helped someone.

BTW. I had no trouble saving the broadcast-address (In my case-> 192.168.1.255) with firmware 1.33NA.
Title: Re: DIR 655 and Wake On Lan (WOL) Configuration over internet (SOLVED)
Post by: bugs21 on November 21, 2010, 11:32:36 AM
hi i found from another d-link forum  (http://forum.dlink.ru/viewtopic.php?p=656321#p656321)
another solution :

that works fine for my static ip address

1.connect to your modem with telnet
windows cmd console
 telnet 192.168.1.1 (IP of your modem)

2.Add a static ARP cache entry
arp add <IP address> <MAC address> (static IP of your computer, MAC address of your network adapter)
example: arp add 192.168.1.25 00:13:8F:DD:CF:63

(so when you login to dlink admin panel, Device  info > ARP you will see address that you add)

port forwarding
advanced setup>wan>virtual servers
server ip address: 192.168.1.25
UDP start/end =  9

That's all!
Title: Re: DIR 655 and Wake On Lan (WOL) Configuration over internet (SOLVED)
Post by: churin on March 11, 2011, 07:11:23 PM

My settings:

Firmware-> 1.33NA
Router IP-> 192.168.1.1
Subnet Mask-> 255.255.255.0
DHCP Range-> 192.168.1.100 - 192.168.1.199

First I tried to set UDP port 9 and IP 192.168.1.255 manually in "Advanced/Virtual Server". It wouldn't work. Then I remember reading somewhere about people complaining that they couldn't get it to work even though there is an Wake-On-LAN setting in "Application Name" window. So I tried to choose the "Wake-On-LAN" alternative + "<<" + saved and it worked!!

The settings for the target PC to be turned on:

Firmware: 1.32NA
Router IP: 192.168.1.1
Subnet Mask: 255.255.255.0
DHCP Range: 192.168.1.100 - 192.168.1.149
Local IP of the target PC: static 192.168.1.152
Virtual server is set up for 192.168.1.152, UDP port 9. Then entered the alternate name as above.
To send the magic packet, I am using depicus (http://www.depicus.com/wake-on-lan/wake-on-lan-gui.aspx) GUI.

The result is that the target PC could be turned on but only if the magic packet is sent out within about 30 seconds after the target PC is turned off.

Any suggestion is appreciated.

Title: Re: DIR 655 and Wake On Lan (WOL) Configuration over internet (SOLVED)
Post by: churin on March 12, 2011, 07:08:42 AM
I have Done It i tried this with the DIR-855 to Start my QNap TS-459 from internet
Is set up the following :
Settings internal Network :

Router internal IP: 192.168.0.1
subnetmask: 255.255.255.128
DHCP range: 192.168.0.2 till 192.168.0.126

My Qnap IP = 192.168.0.5

But my Virtual server settings are :

24--VIRTUAL SERVERS LIST

1st Server List

Name WOL Port 7
IP Address :       192.168.0.127
Public Port :       7
Private Port :     7
Traffic Type :     UDP
Schedule :         Always
Inbound Filter :  Allow All

My router is DIR-655. How can I set the Inbound Filter for Allow All?
Title: Re: DIR 655 and Wake On Lan (WOL) Configuration over internet (SOLVED)
Post by: churin on March 12, 2011, 07:13:52 AM
hi i found from another d-link forum  (http://forum.dlink.ru/viewtopic.php?p=656321#p656321)
another solution :

that works fine for my static ip address

1.connect to your modem with telnet
windows cmd console
 telnet 192.168.1.1 (IP of your modem)
. . . . . . . . 

I attempted to follow the above but I got the following error message:

'telnet' is not recognized as an internal or external command, operable progarm or batch file.

I wonder what I am doing wrong.
Title: Re: DIR 655 and Wake On Lan (WOL) Configuration over internet (SOLVED)
Post by: FurryNutz on March 12, 2011, 08:53:23 AM
is the TELNET program installed in windows?
Title: Re: DIR 655 and Wake On Lan (WOL) Configuration over internet (SOLVED)
Post by: davevt31 on March 12, 2011, 09:22:12 AM
Telent is not installed by a default installation of Windows 7.  You need to go to Programs and Features and use the Turn Windows Features On and Off link.  Then use the check box under Telnet Client to enable it.
Title: Re: DIR 655 and Wake On Lan (WOL) Configuration over internet (SOLVED)
Post by: churin on March 12, 2011, 02:26:01 PM
Telent is not installed by a default installation of Windows 7.  You need to go to Programs and Features and use the Turn Windows Features On and Off link.  Then use the check box under Telnet Client to enable it.
Thanks for your reply. The telnet client has been installed. I am now getting the following message:
"Connecting to 192.168.1.1... Could not open connection to the host, on port 23:  Connect failed."
What could be wrong now?
Title: Re: DIR 655 and Wake On Lan (WOL) Configuration over internet (SOLVED)
Post by: thecreator on March 12, 2011, 02:52:42 PM
Thanks for your reply. The telnet client has been installed. I am now getting the following message:
"Connecting to 192.168.1.1... Could not open connection to the host, on port 23:  Connect failed."
What could be wrong now?

Hi churin,

When you change the IP Default Address of the D-Link DIR-655 Router, it specifically tells you:
Quote
Use this section to configure the internal network settings of your router. The IP Address that is configured here is the IP Address that you use to access the Web-based management interface. If you change the IP Address here, you may need to adjust your PC's network settings to access the network again.

Reset to Factory Defaults and configure using the Default Address of the Router.

Title: Re: DIR 655 and Wake On Lan (WOL) Configuration over internet (SOLVED)
Post by: davevt31 on March 12, 2011, 04:07:10 PM
Not all cable/dsl modems allow you to telnet into them.  You will have to contact your ISP for assistance.
I know my modem is 192168.100.1, so your numbers may be different too.

Is 192.168.1.1 your routers address?  You need to telent to your modem not the router.
Title: Re: DIR 655 and Wake On Lan (WOL) Configuration over internet (SOLVED)
Post by: davevt31 on March 12, 2011, 04:13:09 PM
That link (to Russian dlink site)in the previous post is information about setting up WOL on a ASDL modem which is totally different than this router. 
Title: Re: DIR 655 and Wake On Lan (WOL) Configuration over internet (SOLVED)
Post by: FurryNutz on March 13, 2011, 02:29:21 PM
Try this:
http://forums.dlink.com/index.php?topic=37018.0 (http://forums.dlink.com/index.php?topic=37018.0)
Title: Re: DIR 655 and Wake On Lan (WOL) Configuration over internet (SOLVED)
Post by: churin on March 14, 2011, 06:29:57 AM
Hi churin,

Quote
When you change the IP Default Address of the D-Link DIR-655 Router, it specifically tells you:
Reset to Factory Defaults and configure using the Default Address of the Router.

Reset to Factory Defaults and configure using the Default Address of the Router.

I have no problem accessing the router at 192.168.1.1. by any browser. Do you still think I should change it back to 192.168.0.1?
Title: Re: DIR 655 and Wake On Lan (WOL) Configuration over internet (SOLVED)
Post by: thecreator on March 14, 2011, 08:05:02 AM
Reset to Factory Defaults and configure using the Default Address of the Router.

I have no problem accessing the router at 192.168.1.1. by any browser. Do you still think I should change it back to 192.168.0.1?

Hi churin,

Why did you change it to 1.1 in the first place?

Also note: You can't telnet from within your Home Network to a place within your Home Network.

Telnet works from external IP Addresses, not internal.

Change it back. And then use LogMeIn Free. As long as a single Wired computer is on, you can turn on other Wired Computers only. Can't turn on Wireless.

Title: Re: DIR 655 and Wake On Lan (WOL) Configuration over internet (SOLVED)
Post by: churin on March 14, 2011, 12:21:14 PM
Hi churin,

Change it back. And then use LogMeIn Free. As long as a single Wired computer is on, you can turn on other Wired Computers only. Can't turn on Wireless.
I think the LogMeIn will work with any router IP.
I see it's an idea that I get a slow but very low power consumption PC and use as suggested but as a last resort.
Title: Re: DIR 655 and Wake On Lan (WOL) Configuration over internet (SOLVED)
Post by: churin on March 14, 2011, 05:06:03 PM
Try this:
http://forums.dlink.com/index.php?topic=37018.0 (http://forums.dlink.com/index.php?topic=37018.0)
Thanks for your reply.
I reviewed the linked post and found that that is the way I had done except 1. and 6.  I do not need setting up DDNS because I have a way to remotely check the public IP for the target machine.  I do not think Windows Firewall is something which interferes turning on the machine.  I am using the GUI Magic Packet sender by Depicus as one in your list.

Please note that 1) WOL works if packet is sent out from within the same LAN and 2)WOL from the Internet works if the magic packet is sent out within about 30 seconds after it is turned off.
Title: Re: DIR 655 and Wake On Lan (WOL) Configuration over internet (SOLVED)
Post by: daedao on May 06, 2011, 04:47:03 AM
Quote
WOL from the Internet works if the magic packet is sent out within about 30 seconds after it is turned off.

churin and others,

If you're on A4 firmware 1.20, have a look at this hack, to solve the ARP cache flushing issue that causes WOL over the Internet to not work after a couple of minutes have passed since the PC was put to sleep mode.

http://forums.dlink.com/index.php?topic=16404.msg127219#msg127219 (http://forums.dlink.com/index.php?topic=16404.msg127219#msg127219)

The thread is The DIR-655 WOL Knowledgebase Thread