Enable Wake On Lan on Linux

I’ve set up a media center with Debian 10 (and another with 11) based on Kodi on an Intel Nuc. I wanted to enable Wake-On-Lan so I could start it remotely. First make sure wake on lan is enabled in bios, and it’s usually on by default.

Create a new file /etc/systemd/system/wake-on-lan.service with the following content:

Description=Wake On Lan

ExecStart=/usr/sbin/ethtool -s enp3s0 wol g


Install the ethtool utility with:

apt install ethtool

Then enable it on boot with:

systemctl daemon-reload
systemctl enable wake-on-lan.service
systemctl start wake-on-lan.service

2 pensieri su “Enable Wake On Lan on Linux

Lascia un commento

Il tuo indirizzo email non sarà pubblicato.

Solve : *
16 − 8 =

Questo sito usa Akismet per ridurre lo spam. Scopri come i tuoi dati vengono elaborati.