What's new

Wake On Lan Does not work

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Bijan

New Around Here
I recently went from DD-WRT to Asus-WRT Merlin. I have been having some issues getting WoL to work properly.

Here is what I have done so far.

Administration > System > Enabled JFFS Custom Scripts/Configs
Created /jffs/scripts/net-start script that runs `arp -i br0 -s 192.168.1.254 FF:FF:FF:FF:FF:FF`. Made script executable.

WAN > Port Forwarding > Added entry with Port of 9 for Port Range and Local Port and put in 192.168.1.254 for Local IP.

Downloaded Wake On LAN Monitor and turned on for Port 9 to alert me of Wake On LAN Packets.

Network Tools > Wake on LAN > Attempted to wake up PCs MAC Address. Nothing happened.

I SSH'd into Router and tried to run `ether-wake -b -i br0 F0:79:59:XX:XX:XX`

Running `arp -a 192.168.1.11x` returns `Zebra (192.168.1.11x) at f0:79:59:xx:xx:xx [ether] on br0`

I tried changing the IP of the Port forwarding to the actual PCs IP and it did not work either.

Is there something I am doing wrong? My PC should already have the correct WOL settings since it was working with DD-WRT
 
This is the script I use to wake up a computer when a VPN connection is made:
Code:
#!/bin/sh
logger "VPN client connected!"
# MAC address of the device you want to wake up
/usr/sbin/ether-wake -i br0 -b "xx:xx:xx:xx:xx:xx"
exit 0
Perhaps the quotes?
 
Last edited:
This is the script I use to wake up a computer when a VPN connection is made:
Code:
#!/bin/sh
logger "VPN client connected!"
# MAC address of the device you want to wake up
/usr/sbin/ether-wake -i br0 -b "xx:xx:xx:xx"
exit 0
Perhaps the quotes?

Nope, no difference. Am I supposed to do port forwarding for port 9 on 192.168.1.254 or the machines IP address? How does ether-wake know to send it via port 9? Could it be different port like 7? I was using port 9 before.
 
Router model? Firmware version?

Forget port forwarding for the moment, try getting WOL working on your LAN. If it doesn't work on the LAN it definitely won't work from the internet.
 
Router model? Firmware version?

Forget port forwarding for the moment, try getting WOL working on your LAN. If it doesn't work on the LAN it definitely won't work from the internet.

Whoops. v384.5 of AsusWrt-Merlin, RT-AC56R
 
I SSH'd into Router and tried to run `ether-wake -b -i br0 F0:79:59:XX:XX:XX`

Could you try that without the -b switch? That’s meant to send to the broadcast address, which is not what you’re trying to do.
 
Could you try that without the -b switch? That’s meant to send to the broadcast address, which is not what you’re trying to do.

Removed the flag and still get nothing.

Here is my question.. I set my WoL Monitor program to run on UDP Port 9 (It's easier to first see if computer is receiving signal). When I run ether-wake, how does it know to send it to Port 9?
 
There's a page in the Wiki that might be helpful.

Because the script I am using is triggered by a VPN connection, I've never needed port forwarding. Because the packet is coming from the router, rather than from somewhere else in the LAN or from the WAN, I don't see how port forwarding figures in this.

To be clear, when you ssh in, are you running /usr/sbin/ether-wake, or just ether-wake?
 

Ah, changed the filename but even when I run command manually, WoL does not work.

It’s an unofficial ‘standard’ for WoL.

But i have seen port 7 be used to.

There's a page in the Wiki that might be helpful.

Because the script I am using is triggered by a VPN connection, I've never needed port forwarding. Because the packet is coming from the router, rather than from somewhere else in the LAN or from the WAN, I don't see how port forwarding figures in this.

To be clear, when you ssh in, are you running /usr/sbin/ether-wake, or just ether-wake?

i run just ether-wake but it shouldnt matter since /usr/sbin is part of the path.

I got a utility called WakeMeOnLan that lets me test Magic Packet for WoL. To have it work, I had to use the machines IP as the broadcast address. In another program, I had to send WOL to the Broadcast IP (255.255.255.255). But I have still yet to have have the router send a signal to turn on the PC.

It is fine if I do not get port forwarding to work. I can always make script to SSH into router and run command manually.
 
Have you tried the Router's WoL with the PC actually in a sleep state rather than using your test utility (sorry for the obvious question but we have to cover the basics)?

I'm assuming the PC is wired directly into the router and not wireless or going through some other equipment?
 
This always works for me.

So, you added the MAC address, then applied it. Then clicked on the address and executed it, and nothing happened? Then this is on the pc side.
 
Have you tried the Router's WoL with the PC actually in a sleep state rather than using your test utility (sorry for the obvious question but we have to cover the basics)?

I'm assuming the PC is wired directly into the router and not wireless or going through some other equipment?

So im an idiot. Doing it from PC being off worked.
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top