Wake-On-Lan workaround for VM on Proxmox host
Unfotunately it appears that a "normal" WOL procedure is not supported by the virtualized network cards of a VM.
Therefore I would be grateful if somebody could help me with a quick bashscript as a workaround.
Idea (unless somebody has another simple idea):
I have a VM (vmid 101) with the MAC address 76:ED:A4:3C:15:2B, and IP 1.1.1.81 which is turned off.
A simple bashscript on the Proxmox host continuousy listens in the backround.
For example something alike:
nc -ul 9
"|" sends the output to the next command grep, which then looks for the MAC address 76:ED:A4:3C:15:2B , and if it is recognized then the command
qm start 101
is run.
Can somebody please help me write this script? I would do it on my own, but sadly my knowledge of bash is insufficient.
Thank you very much.
Last edited: