Automated power on/off (WIP)
NUT
Configure Wake-on-LAN
Install wakeonlan
and ethtool
.
Identify the ethernet interface of your device.
It will be the one that has the 192.168.xx.xx IP address assigned. For example:
Check your existing Wake-on-LAN status. Replace enp2s0
with the actual ethernet interface of your device.
If you see the following, you can proceed to the next sub-section. Else, continue following along.
If you see Wake-on: d
or any other letter here, it means wake-on-lan is disabled or not optimally configured so you need to change this letter to g
.
Next, make this configuration persistent even after rebooting your system.
Add the following lines to your file.
Example of how your file should look like.
CTRL+O
, ENTER
, CTRL+X
to save and exit.
Apply the new configuration.
Enable Wake-on-LAN in BIOS
Last updated