Ver Fonte

Create guide for setting up wakeonlan

DricomDragon há 4 anos atrás
pai
commit
4b91310deb
1 ficheiros alterados com 27 adições e 0 exclusões
  1. 27 0
      Guides/wakeonlan.md

+ 27 - 0
Guides/wakeonlan.md

@@ -0,0 +1,27 @@
+# Setup wakeonlan
+
+## Motherboard setup
+
+Enable option _Power up on PCI device_ on BIOS.
+
+## OS Setup
+
+_Tested on Ubuntu Serer 20.04 LTS_
+
+Get your interface name with `ip addr`
+
+Enable wakeonlan with `sudo ethtool -s INTERFACE wol g`
+
+## Send magic packet
+
+Add entry in `/etc/ethers` like _08:00:20:00:61:CA pal_.
+
+Wake with
+```sh
+sudo etherwake pal
+```
+
+You can specify interface if needed (for laptop for instance)
+```sh
+sudo etherwake pal -i wlan
+```