This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
wol_-_wake_on_lan [2021/06/03 02:05] – created vissie | wol_-_wake_on_lan [2021/06/03 02:40] (current) – vissie | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Create service ===== | ||
< | < | ||
vim ./ | vim ./ | ||
Line 4: | Line 5: | ||
sudo systemctl enable wol.service | sudo systemctl enable wol.service | ||
sudo / | sudo / | ||
+ | </ | ||
+ | |||
+ | |||
+ | <sxh bash; gutter: false> | ||
+ | [Unit] | ||
+ | Description=Configure Wake-up on LAN | ||
+ | |||
+ | [Service] | ||
+ | Type=oneshot | ||
+ | ExecStart=/ | ||
+ | |||
+ | [Install] | ||
+ | WantedBy=basic.target | ||
+ | </ | ||
+ | |||
+ | ===== Activate ===== | ||
+ | On a remote server/ | ||
+ | |||
+ | < | ||
+ | sudo etherwake -i eno1 CC: | ||
</ | </ | ||