Installation requirements.
All nodes must be within the same subnet.
Direct layer 2 connectivity between nodes.
Timezone must be set to Etc/UTC
.
cp /usr/share/zoneinfo/Etc/UTC /etc/localtime
printf '%s\n' "Etc/UTC" > /etc/timezone
Wake-on-Lan must be enabled if it is supported.
-
Check if supported
Note: If empty, Wake-on-Lan is not supported
_dev="eth0" sudo ethtool "$_dev" | grep 'Supports Wake-on'
-
Check if enabled
Note: Value
d
indicates that it is disabled_dev="eth0" sudo ethtool "$_dev" | grep 'Wake-on' | grep --invert-match 'Supports Wake-on'
-
Enable
Warning: Wake-on-Lan must be enabled also in the BIOS
Note: Example device
eth0
Edit
/etc/network/interfaces
auto eth0 iface eth0 inet dhcp + pre-up /usr/sbin/ethtool -s eth0 wol g
-
Reboot
sudo reboot
-