User Tools

Site Tools


wol_-_wake_on_lan

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
wol_-_wake_on_lan [2021/06/03 02:05] – created vissiewol_-_wake_on_lan [2021/06/03 02:40] (current) vissie
Line 1: Line 1:
 +===== Create service =====
 <code> <code>
   vim ./apps/wol.service   vim ./apps/wol.service
Line 4: Line 5:
   sudo systemctl enable wol.service   sudo systemctl enable wol.service
   sudo /sbin/ethtool -s enp1s0 wol g   sudo /sbin/ethtool -s enp1s0 wol g
 +</code>
 +
 +
 +<sxh bash; gutter: false>
 +[Unit]
 +Description=Configure Wake-up on LAN
 +
 +[Service]
 +Type=oneshot
 +ExecStart=/sbin/ethtool -s enp1s0 wol g
 +
 +[Install]
 +WantedBy=basic.target     
 +</sxh>
 +
 +===== Activate =====
 +On a remote server/workstation, do the following:
 +
 +<code>sudo apt install etherwake
 +sudo etherwake -i eno1 CC:DD:DD:11:66:EE
 </code> </code>
  
  
wol_-_wake_on_lan.1622711131.txt.gz · Last modified: 2021/06/03 02:05 by vissie