Linux Format

Answers

Q Sleepy server

I’ve upgraded my little home server box to Ubuntu 20.04. It’s set to go into sleep mode and I use a phone-based Wake-on-LAN app to wake it up when I need it again. This used to work fine even when the system on rare occasion needed a reboot. But after the upgrade it no longer works after a reboot.

I’ve followed a guide at http://bit. ly/lxf273wol to create a WOL systemd service, but it still won’t work after a reboot. I have to manually enable the WOL after which is fine until the next reboot. Any ideas?

Neil Moore

A Your systemd service isn’t starting up correctly. You can see this by running the following:

You say it works when you enable Wakeon-LAN manually. I suspect that you mean you’re running the ethtool command given in the guide: where INTERFACE is the name of our ethernet interface. The Systemd unit from that guide is:

Ensure you’ve checked the spellings as always this is case sensitive. This may have worked with older distros, but Ubuntu 20.04 installs the executable in /usr/sbin not /sbin. If it looks like you need to change the path in your unit file to reflect this, you can check that it now

You’re reading a preview, subscribe to read more.

More from Linux Format

Linux Format5 min read
Nvidia GeForce Now for Steam Deck
Good news, Steam Deck fans: Nvidia is making it a little easier to use its GeForce Now game streaming service on Valve’s Linux-based handheld gaming device. This is important because, until now, getting the game streaming service running on a Steam D
Linux Format1 min read
Tom’s HARDWARE
No matter if you're building a PC, buying a laptop or learning about robots, Tom’s Hardware has all the comprehensive knowledge you need. Scan & Subscribe for free! ■
Linux Format1 min read
Helpdex
shane_collinge@yahoo.com ■

Related Books & Audiobooks