Thinkpad lid close - sleep - wake on lan issue

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
decuser
Level 1
Level 1
Posts: 41
Joined: Wed Nov 01, 2017 10:56 am

Thinkpad lid close - sleep - wake on lan issue

Post by decuser »

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 :).
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Locked

Return to “Networking”