Page MenuHomeVyOS Platform

Wake-On-Lan CLI implementation
Closed, ResolvedPublicFEATURE REQUEST

Description

  • Replace the installed wakeonlan package with https://packages.debian.org/buster/etherwake as it supports specifying an interface where to send the magic packet to rather then an IP address.
  • Write op-mode command which has multiple <path>interfaces (ethernet|bond|...)</path> completion helper lines so we can TAB-complete the interface we want to send out the WOL packet

Suggestion:

  • new exec tree in main op-mode tree
  • or: wol top level command like we have for ping/traceroute

Details

Version
-
Is it a breaking change?
Unspecified (possibly destroys the router)

Event Timeline

c-po closed this task as Unknown Status.Jun 1 2020, 11:54 AM
c-po claimed this task.
c-po triaged this task as Low priority.
c-po edited a custom field.

vyos@vyos:~$ wake-on-lan interface eth0.201 host a:b:c:d:e:f

vyos@vyos:~$ wake-on-lan interface eth0.201 host a:b:c:d:e:f:f
etherwake: The Magic Packet host address must be specified as
  - a station address, 00:11:22:33:44:55, or
  - a hostname with a known 'ethers' entry.
c-po changed the task status from Unknown Status to Resolved.Jun 1 2020, 12:01 PM
c-po moved this task from Needs Triage to Finished on the VyOS 1.2 Crux (VyOS 1.2.6) board.