1

I've just setup my old laptop to wake up / power on / resume from suspend controlled by my primary laptop. In the process I had to install two different packages:

sudo apt install ethtool
sudo apt install wakeonlan

Is there a package that accomplishes both or maybe in conjunction with preinstalled software only one package is needed?

muru
  • 207,228

2 Answers2

2

The only package I see that currently (20.04) install those two at the same time is:

shutdown-at-night

It depends on other software, that could in turn depend on other software. Exactly what's going to be installed, besides ethtool and wakeonlan depends on your current set of packages.

To find that out I ran:

$ apt-cache rdepends ethtool | egrep "^[[:space:]]+[[:alnum:]]"|sort > /tmp/ethtool.rdep
$ apt-cache rdepends wakeonlan | egrep "^[[:space:]]+[[:alnum:]]"|sort > /tmp/wakeonlan.rdep
$ comm -1 -2 /tmp/ethtool.rdep /tmp/wakeonlan.rdep 
1

You don't need to install ethtool to enable "wake on LAN" feature of your NIC on Ubuntu. If you have systemd, then you can look at this answer. wakeonlan utility is still needed on your primary laptop.