I have Mint 20.2 installed on my Lenovo Thinkpad T430. When I close the lid, the laptop goes to sleep (yay). However, I want to be able to ssh into it, even if it's asleep. I figured turning on wake on lan would be sufficient, so I:
Code: Select all
sudo vi /etc/systemd/system/wol@wlp3s0.service
[Unit]
Description=Wake-on-LAN (%i)
Requires=network.target
After=network.target
[Service]
ExecStart=/sbin/ethtool -s %i wol g
Type=oneshot
[Install]
WantedBy=multi-user.target
sudo systemctl enable wol@wlp3s0
and rebooted. Lid close, sleep, but no waking when I try to ssh into it.
Help
.