Nekonic
← Back to all posts
/ Archlinux

WOL(Wake-on-LAN) in Archlinux

#network #Archlinux

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

댓글 & 반응

GitHub Discussions