Wake on WAN doesn't work

Report wireless and/or network connectivity problems in this forum.

Moderator: Moderators

Post Reply
ERIC8585
Posts: 25
Joined: Thu Mar 01, 2012 7:34 pm

Wake on WAN doesn't work

Post by ERIC8585 »

I tried forwarding UDP port 9 to one of my devices I want to wake from the internet and it does not work. I had no problem getting this to work on my Dlink DIR-655 router.

I am using the following to send the "Wake on WAN" packet.

http://wakeonlan.me/

gperete
Posts: 3
Joined: Sun Sep 23, 2012 7:29 am

Re: Wake on WAN doesn't work

Post by gperete »

hi, just posting for the benefit of others since i cant seem to find any info to make wake on wan work in gargoyle. applied parts from dd-wrt wiki
http://www.dd-wrt.com/wiki/index.php/WO ... Forwarding

to create start up script for the arp entry, i used putty. after log in,

cd /etc/init.d
vi done

add these lines within the function (assuming the port was forwarded to 192.168.1.254)

ip neigh change 192.168.1.254 lladdr ff:ff:ff:ff:ff:ff nud permanent dev br-lan
ip neigh add 192.168.1.254 lladdr ff:ff:ff:ff:ff:ff nud permanent dev br-lan

save and reboot router

airguy
Posts: 8
Joined: Thu Nov 17, 2011 6:43 am

Re: Wake on WAN doesn't work

Post by airguy »

You can also use the file rc.local to put in these commands if you wish.

The only thing I have noticed, is if you change your config, and save, the permanent status of the IP address will not remain unless you reboot your router. So, if it stops working for some reason, probably need to reboot it!
Netgear WNDR3700 Gargoyle 1.5

kornellh
Posts: 1
Joined: Wed Dec 19, 2012 5:55 am

Re: Wake on WAN doesn't work

Post by kornellh »

i have a TPlink wr941nd and i have put gargoyle v 1.4.7. i'am conected with a static ip to internet. everything works ok except i have 2 problems:

first i tried wol from internet and it didn't work even if:
i put

ip neigh change 192.168.0.109 lladdr ff:ff:ff:ff:ff:ff nud permanent dev br-lan
ip neigh add 192.168.0.109 lladdr ff:ff:ff:ff:ff:ff nud permanent dev br-lan

in rc.local and forwarded port 9 from firewall - nothing happens except everytime i do wol i can see in gargouyle web interface status-connection list that my packet has arrived in router.
if i use arp command i can see this line added (first in list)

IP address HW type Flags HW address Mask Device
192.168.0.109 0x1 0x6 ff:ff:ff:ff:ff:ff * br-lan

i have tried many combinations port/ip in firewall then add arp rule with ipneigh (also tried them in ddwrt and latest gargoyle v1.5.8).i have tried also a tutorial in which when adding arp rule u need to change HW address with pc u want to wake up and still no result.
everytime i have made a modification i rebooted router. i want to mention that wol works with a dlink router which broadcasts udp packets from firewall rule (just set destination to 192.168.0.255).

second problem i cannot connect putty with 192.168.0.1 but works very well from wan.

can someone point me in a good direction? what am i missing here?

Post Reply