Ubuntu's networking stack is constantly evolving and most previous information on enabling Wake-on-LAN for an interface is outdated (like the Ubuntu wiki).
Now that Ubuntu uses Netplan instead of /etc/network/interfaces
, how do I enable Wake-on-LAN automatically whenever a particular interface comes up?