WOL - package etherwake vs. wakeonlan

My router is a TP-Link C7 v5 running on an OpenWrt 19.07.8 custom image.

I am testing wake on LAN and not having success yet. I have not exhausted all the cases I could test, but thought I might clear these preliminary questions first.

Questions:

  1. Package etherwake seems better than wakeonlan. By quick research, etherwake has three different methods of use while wakeonlan only one (and not a good one at that), as described in METHOD OF USE below. Am I right about that?

  2. Does LuCI's Wake on LAN use etherwake? Does LuCI use wakeonlan? If yes to both, which package will LuCI choose when both are present?




METHOD OF USE

On either package, these are the methods of use I found references to.

etherwake

  • By LuCI, maybe, subject of this post. But the package page for luci-app-wol lists etherwake as a dependency:

https://openwrt.org/packages/pkgdata/luci-app-wol

  • By command that assumes prior configuration, as in:

https://openwrt.org/docs/guide-user/services/w_o_l/etherwake

  • By command that assumes no prior configuration, as in:

https://www.erol.name/openwrt-wake-on-lan-with-etherwake/

wakeonlan

  • By starting the /etc/init.d/wol init script, as in:

https://openwrt.org/docs/guide-user/services/w_o_l/wol

This method seems to wake all the machines in the relevant config.

It does.
Etherwake is the underlying functionality provider for the LuCI app.

2 Likes