Package Details: wol-systemd 20210121-1

Git Clone URL: (read-only, click to copy)
Package Base: wol-systemd
Description: A systemd unit file for enabling Wake-On-LAN automatically
Upstream URL:
Licenses: MIT
Submitter: phiresky
Maintainer: blackhole
Last Packager: blackhole
Votes: 14
Popularity: 0.159105
First Submitted: 2015-09-03 15:31
Last Updated: 2021-01-21 15:29

Dependencies (1)

Required by (0)

Sources (2)

Latest Comments

matejdro commented on 2021-01-21 16:07

Awesome, thanks!

blackhole commented on 2021-01-21 15:31


matejdro commented on 2021-01-21 15:00

Any chance this package is updated with After set to:

On my machine it seems like network card (r8169) is initialized AFTER is up, which means this script fails to enable WOL. Moving initialization to fixes the issue.

phiresky commented on 2015-11-21 00:39


Updated with a warning in .install if network manager is present.

Also disowning because I use NetworkManager.

bayone commented on 2015-11-20 07:11

It is not conflicting in a classic sense.
Maybe put in a message during installation to check if the NetworkManager is installed (it comes with most DEs, AFAIK) and if yes, to enable WOL using nmcli (

phiresky commented on 2015-11-17 12:56


so should I add NetworkManager as a conflict?

bayone commented on 2015-11-17 06:16

This is pretty useless if NetworkManager >= 1.0.6 is installed on the system.
"systemctl start wol@enp5s0.service" works for hibernation, but not for shutdown.
"systemctl enable wol@enp5s0.service" does not give me any results after restart.
The reason is that Network Manager disables WOL after systemctl runs this service at boot. The proper way is setting NM as described in

Stebs commented on 2015-09-13 17:53

Sorry, my fault, didn't see that "interface" in "Then activate this new service by starting wol@interface.service."
Somehow believed that systemd would replace %i with active interface...

phiresky commented on 2015-09-13 12:05

did you enable/run it with systemctl start wol@enp5s0.service?

Stebs commented on 2015-09-12 15:02

Got some problem here: %i is not replaced correctly!?:
systemd[1]: Starting Wake-on-LAN for .system...
ethtool[2716]: Cannot get current wake-on-lan settings: No such device
ethtool[2716]: not setting wol
systemd[1]: Started Wake-on-LAN for .system.
Workaround for my LAN (enp5s0):
ExecStart=/usr/bin/ethtool -s enp5s0 wol g