Using Wake On Lan so you don't have to use your fingers

📆 2025-03-14 14:52

WakeOnLan is a very useful feature, especially if you're a lazy person. With WakeOnLan you can start your machines without walking or using your fingers and push the power button.

What you need

You only need 2 things: wakeonlan and ethtool. You can easily install them with:

`wakeonlan` is needed on the machine you'll be using to send the wake up command while `ethtool` is used to configure your network card.

Using ethtool to enable Wake-on-LAN

You should see something like ` Supports Wake-on: pumbg`. To enable WakeOnLan you have to:

Right now WakeOnLan is enabled but the setting is not persistent.

Persist Wake-on-LAN After Reboot

Add the following and replace `enp1s0` with your network card

Enable the service:

Using wakeonlan to start your computers

In order to wake up your computers with a magic wakeonlan packet you need to know it's MAC address. You can easily find it with `sudo ethtool -P enp1s0` command. Once you get the MAC address you can easily wake the computer up from another computer using the wakeonlan command:

I have create a small bash script to wake up all my 3 Lenovo M53's at once:

🚶 Back to my blog

The page https://sava.rocks/blog/using-wake-on-lan-so-you-dont-use-your-fingers/ is served from my cluster by tiny and available on 2 other protocols:
Gemini:
gemini://sava.rocks/blog/using-wake-on-lan-so-you-dont-use-your-fingers/
Gopher:
gopher://sava.rocks/1/blog/using-wake-on-lan-so-you-dont-use-your-fingers/
How can you reach these protocols ?
It's simple. Details are found here for gopher and here for gemini on Wikipedia.
Website Meta
text/gemini
Mastodon