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

Difficulty level
Easy (less than an hour)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)

Event Timeline

c-po changed the task status from Open to Backport candidate.Jun 1 2020, 11:54 AM
c-po claimed this task.
c-po triaged this task as Low priority.
c-po changed Difficulty level from Unknown (require assessment) to Easy (less than an hour).

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 moved this task from Needs Triage to Finished on the VyOS 1.2 Crux (VyOS 1.2.6) board.