瀏覽代碼

Create guide for setting up wakeonlan

DricomDragon 4 年之前
父節點
當前提交
4b91310deb
共有 1 個文件被更改,包括 27 次插入0 次删除
  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
+```