Wake on lan

How can i setup my bazzite-nvidia-deck to wake on lan ? I've been playing remote with sunshine, but can't wake on lan, even in the same connection.
7 Replies
HikariKnight
HikariKnight7d ago
sudo ethtool --change eth0 wol g replace eth0 with your ethernet network interface if it does not stick around for more than 1 boot then you need to make a service file to enable it sudo systemctl edit wol.service --full --force then add this
[Unit]
Description=Enable Wake-on-LAN
After=network-online.target

[Service]
Type=oneshot
ExecStart=/sbin/ethtool --change eth0 wol g

[Install]
WantedBy=network-online.target
[Unit]
Description=Enable Wake-on-LAN
After=network-online.target

[Service]
Type=oneshot
ExecStart=/sbin/ethtool --change eth0 wol g

[Install]
WantedBy=network-online.target
press i to insert text, paste the text above (and replace eth0 with your network interface), press ESC then type :wq to save and exit the editor you can find your network interface with ifconfig or ip addr
Mic
MicOP7d ago
The first option already solved the problem. Really helped thx!!!!
HikariKnight
HikariKnight7d ago
it fixed it permanently, good, some nics only enables it for the next boot, making it kinda useless :clueless:
Mic
MicOP7d ago
I just had to use the ujust _toggle-autologin. Because it wasnt waking on lan on deck image Now it remote boot on the desktop version, which is also great
HikariKnight
HikariKnight7d ago
the deck image does not block wake on lan, i literally start my htpc and my main pc with wake on lan and both are the deck image (the htpc going into gamemode)
Mic
MicOP7d ago
Worked many times today, but now stopped working Did i do something wrong?
HikariKnight
HikariKnight7d ago
Check and see if the property reset for the nic. If it did then you need to make the service file and systemctl enable --now wol.service

Did you find this page helpful?