Fedora 41 and Wake on LAN

In the BIOS enable the correct Wake-on-LAN option for your motherboard. Then boot into Fedora and display NIC status (my device is enp3s0)

sudo ethtool enp3s0

search for line with 'Wake-on', in my case was displayed “Wake-on: d” (disabled). In order for WOL to work, after reboot Wake-on should be in mode “g” (MagicPacket).

The Fix

You need to create this file /etc/systemd/network/50-wired.link

sudo nano /etc/systemd/network/50-wired.link

[Match]
MACAddress=11:22:33:44:55:66

[Link]
NamePolicy=kernel database onboard slot path
MACAddressPolicy=persistent
WakeOnLan=magic

Write in your MAC address instead of 11:22:33:44:55:66, save and after reboot.

Now check the status again with:

sudo ethtool enp3s0

Wake-on should be in mode “g” permenently.


Wake-on-LAN - ArchWiki