Use wakeonlan by hostname rather than MAC/IP
Solution 1:
See man 5 ethers
; basically, put MAC / hostname pairs in your /etc/ethers
. Then etherwake
will be able to wake them.
Solution 2:
- No. MAC addresses do not correspond to hostnames. MAC Adddresses are lower level and specific to the technology used (ethernet).
- WakeOnLan works with MAC addresses, ONLY.
Ergo - sorry - no hostname.