NK nekonic
2024-10-20-wake_on_lan.md
posts20242024-10-20-wake_on_lan.md

WOL(Wake-on-LAN) in Archlinux

Nekonic 1 min read #arch_linux #wol #network

Software configuration

ethtool -s <interface> wol g
vi /etc/systemd/system/wol@.service

[Unit]
Description=Wake-on-LAN for %i
Requires=network.target
After=network.target

[Service]
ExecStart=/usr/bin/ethtool -s %i wol g
Type=oneshot

[Install]
WantedBy=multi-user.target
sudo systemctl start wol@.service

raspberry pi 4 setting

Comments

GitHub Discussions