Page 3 of 4

Re: WoL

Posted: Fri Jan 24, 2014 7:11 am
by mates
in 1.6.0 still this bug exists
still I got MAC address 00:00:00:00:00:00 (sometimes restart works)

how should I wake PC via web shell?

i tried WOL with MAC address , web shell write succes, but PC is still OFF

WOL AA:AA:AA:AA:AA:AA

any suggestion?

Re: WoL

Posted: Thu Jan 30, 2014 6:17 pm
by Rog66
I just got this bug when I upgraded my WDR4300 to 1.6. I have added an "ip neigh add" command to the crontabs schedule to reset the mac address every hour in the arp table - will let you know if this works over the next 24 hours. May be a workaround until the bug is fixed.

Re: WoL

Posted: Fri Jan 31, 2014 4:43 am
by mates
could you please tell me how to do it?

Re: WoL

Posted: Fri Jan 31, 2014 3:15 pm
by Rog66
In /etc/crontabs you'll find a file called root. Add the following line to this file

0 * * * * ip neigh add xxx.xxx.xxx.xxx lladdr ff:ff:ff:ff:ff:ff nud permanent dev br-lan

where xxx.xxx.xxx.xxx is your broadcast address (probably 192.168.1.254)

and then save the file and reboot the router. Mine has kept the mac address ok for the past 24 hours

Re: WoL

Posted: Fri Jan 31, 2014 6:30 pm
by mates
i will try
thank you

Re: WoL

Posted: Mon Feb 03, 2014 7:42 am
by mates
not working for me
after 1 day i lost MAC address


when I run command

Code: Select all

ip neigh show
than i see

192.168.1.2 dev br-lan FAILED or INCOMPLETE

problem start after losing DHCP lease

when I run this via webshell than i am able to Wake my PC (where AA:AA:AA:AA:AA:AA ... is MAC address
xxx.xxx.xxx.xxx ... is IP address)

TEMP FIX:

Code: Select all

ip neigh change xxx.xxx.xxx.xxx lladdr AA:AA:AA:AA:AA:AA nud reachable dev br-lan
or for permanent

Code: Select all

ip neigh change xxx.xxx.xxx.xxx lladdr AA:AA:AA:AA:AA:AA nud permanent dev br-lan
but is not working if i add this command into /etc/crontabs/root

Re: WoL

Posted: Thu Feb 06, 2014 1:37 pm
by Rog66
I see this when dhcp leases have expired but is 192.168.1.2 your broadcast address or just a clients address? My broadcast address has been up and running for 7 days now using this workaround.

Re: WoL

Posted: Fri Feb 07, 2014 1:56 am
by mates
yes it is one of my client address

i have 5 connected devices

192.168.1.2 - 192.168.1.6

but only on one of them I got 00:00... mac address

when i added broadcast address to crone than stil under 192.168.1.2 my PC i have 00:00... mac address


also what is broadcast for 192.168.1.0/255.255.255.0
it is 192.168.1.254 or 192.168.1.255
i think 192.168.1.255


just now only way how to do it is for me

Code: Select all

ip neigh change 192.168.1.2 lladdr 6A:DC:06:07:25:52 nud reachable dev br-lan

Re: WoL

Posted: Fri Feb 07, 2014 4:53 pm
by Rog66
OK - apologies, we're at cross purposes here. I use WOL from the internet to wake my machine up remotely. I have started to get this bug with the broadcast address I set in the arp table at rooter boot up - I am also seeing it on individual pc addresses in the WOL GUI which is the problem you are seeing. The fix I suggested wont help if you're trying to use the WOL GUI .

Re: WoL

Posted: Mon Mar 03, 2014 6:55 am
by n0pin
I have this problem too. I updated Gargoyle to version 1.6, but it didn't help. Does anyone know which command is executed when we press wake up button? I tried to execute wol command with MAC address of my computer, but it didn't work, although when I press wake up button in GUI my computer wakes up (This is when MAC is okay).