Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »



Resources

Installation

$ sudo apt install ethtool

Remote PC

  • BIOS: Enable Wake on Lan(WOL) or Wake On PCI(E).

  • MAC Address: Get your MAC Address from ipconfig

  • WOL: Run the following code to enable wol on your interface

$ sudo ethtool -s enp3s0 wol g

This only enables it for the next reboot. Either enable it as a startup script or when remotely shutting down (see scripts below).

Local PC

snorriheim-wake
#!/bin/bash

wakeonlan 10:c3:7b:92:5c:67
snorriheim-sleep
#!/bin/bash

ssh -t snorriheim "sudo ethtool -s enp3s0 wol g && sudo shutdown -h now"
  • No labels