Setting up Wake On LAN on Linux
1 minute read •
On the machine to wake
Install the “ethtool” package.
Check the network interface MAC address.
Check the wake-on-lan state:
|
Sample Output:
|
The “d” state means “disabled”. So, enable it.
Now, it’s enabled. Now we gotta make it persist throghout reboots and shutdowns.
# Add the following line at the end and save it.
On the main machine from where it will send the wake-on-lan signal aka magick packet
Install the “wakeonlan” package.
You’re done!