[Solved] PC WOL not working (Etherwake works)

I am trying to do a simple task and its simply not working. Have been researching for hours and no luck, hoping someone can please help,

I want to send a WOL packet from my PC to Home Server (PC is connected via Wifi, Server is hard wired to Router).

PC - RT3200 (Openwrt 22.03) (- Virgin Hub 4 Modem) - Server

I send a WOL packet from PC and nothing happens. The ethernet light on the back is on, WOL enabled in bios.

So I installed Etherwake and if I SSH into router and run a etherwake command it works fine, the Server boots up.

Tried Port 7 and 9, lowercase and uppercase MAC address, also tried sending WOL request from phone (wifi) to server - still no luck.

Am I suppose to modify the firewall or port forward ? I thought I didn't need to because its all within
LAN.

Thanks

This is probably not related to your OpenWrt setup, but we can review your config to be sure...

Please copy the output of the following commands and post it here using the "Preformatted text </> " button:
grafik
Remember to redact passwords, MAC addresses and any public IP addresses you may have:

cat /etc/config/network
cat /etc/config/wireless
cat /etc/config/firewall

[quote="psherman, post:2, topic:152879"]
cat /etc/config/network

Are both devices on the same network (i.e. both on lan)?

If so, this is likely a problem with your individual devices, not the OpenWrt router/configuration.

Yes, both are on lan.

However It did work before (without the OpenWRT router) and just the Virgin Modem in router mode

Well, there is nothing in the configuration that would prevent this from working... the firewall cannot impact L2 (switched) connections, and you don't have client isolation enabled or anything else that could prevent local connections.

I got it to work, using a different method.

I installed etherwake on the PC (Ubuntu) and needed to specify the interface. This url helped me figure it out:

https://forum.odroid.com/viewtopic.php?t=41324

I used this command:

sudo etherwake -i [interface name] [MAC Address]

Is etherwake fundamentally different from something like using Ampare Wake On LAN utility ? You don't get the option to specify the interface with Ampare

I don't know anything about Ampare WOL... you could ask the people who maintain that.

But, as you can now see, this was indeed not related to your OpenWrt router/config... Glad you found a working solution.

If your problem is solved, please consider marking this topic as [Solved]. See How to mark a topic as [Solved] for a short how-to.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.