WoL

If your problem doesn't fall into one of the other categories, report it here.

Moderator: Moderators

mates
Posts: 128
Joined: Mon Nov 14, 2011 7:53 am

Re: WoL

Post 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?

Rog66
Posts: 206
Joined: Fri Jan 04, 2013 4:53 pm

Re: WoL

Post 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.

mates
Posts: 128
Joined: Mon Nov 14, 2011 7:53 am

Re: WoL

Post by mates »

could you please tell me how to do it?

Rog66
Posts: 206
Joined: Fri Jan 04, 2013 4:53 pm

Re: WoL

Post 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

mates
Posts: 128
Joined: Mon Nov 14, 2011 7:53 am

Re: WoL

Post by mates »

i will try
thank you

mates
Posts: 128
Joined: Mon Nov 14, 2011 7:53 am

Re: WoL

Post 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

Rog66
Posts: 206
Joined: Fri Jan 04, 2013 4:53 pm

Re: WoL

Post 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.

mates
Posts: 128
Joined: Mon Nov 14, 2011 7:53 am

Re: WoL

Post 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

Rog66
Posts: 206
Joined: Fri Jan 04, 2013 4:53 pm

Re: WoL

Post 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 .

n0pin
Posts: 129
Joined: Thu Jan 09, 2014 6:39 am

Re: WoL

Post 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).

Post Reply