What's new

WOL with ASUS RT-AC66U not working from WebInterface

  • 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!

StephanBolten

New Around Here
Hello,

I recently bought an ASUS RT-AC66U. Right after installation I upgraded to asuswrt-merlin and I am pretty satisfied. Currently I have only one small problem with Wake-On-Lan:

- When configuring the target MAC through the WebInterface (Network Tools --> Wake on LAN) I cannot wake the target witht the "Wake Up" button

- When connection to the router with SSH and executing the ether-wake script (ether-wake -b -i br0 <MAC>) the target machine wakes up correctly.

Obviously I would prefer the WebInterface solution over the command line :) How do I get this to work from the WebInterface?

Regards,

Stephan
 
Web interface WOL works for me. Make sure you are on 378.55 (you didn't specify your firmware version), and try a different browser.
 
The ether-wake command issued by the gui doesn't include the broadcast flag.
Try entering the following commands via ssh then refreshing the WOL page to see if it works then.

Code:
cp /www/Main_WOL_Content.asp /tmp/Main_WOL_Content.asp
sed -i 's/ether-wake -i/ether-wake -b -i/g' /tmp/Main_WOL_Content.asp
mount -o bind /tmp/Main_WOL_Content.asp /www/Main_WOL_Content.asp
 
Glad it hear it worked. I think it makes sense to make the change. I'm sure @RMerlin will see the thread (and if it doesn't make sense let us know :) )

In the meantime, the fix I gave you will be lost on a reboot, so you could add those commands to the services-start script in /jffs/scripts to automatically apply them (see the wiki if you need to see how to set up the user scripts).
 
Glad it hear it worked. I think it makes sense to make the change. I'm sure @RMerlin will see the thread (and if it doesn't make sense let us know :) )

I suspect that using the broadcast might resolve issues caused by aggressive power management with some switches. Feel free to provide a pull request.
 
Thanx a lot for the info to both of you. Will try to provide a pull request - never done this before. Maybe you could give a small hint where to start.

Stephan
 
Thanx a lot for the info to both of you. Will try to provide a pull request - never done this before. Maybe you could give a small hint where to start.

Stephan

John should be able to do it (that was more aimed at him actually).
 

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