2
0
mirror of https://github.com/pikvm/pikvm synced 2024-11-06 21:20:32 +00:00

Create wol.md

This commit is contained in:
Maxim Devaev 2021-07-17 02:38:38 +03:00 committed by GitHub
parent 43ede23438
commit c234506fd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

21
pages/wol.md Normal file
View File

@ -0,0 +1,21 @@
# Wake-on-LAN
### Simplified method (one host)
To use Wake-on-LAN with your server you must define some options such as the server's MAC address and (optionally) IP address. Use `/etc/kvmd/override.yaml`. The format is:
```yaml
kvmd:
wol:
mac: ff:ff:ff:ff:ff:ff
```
Replace `ff:ff:ff:ff:ff:ff` with the MAC of your server. By default, a packet is sent via a broadcast request to the entire IPv4 network (`255.255.255.255`, port `9`), but you can address it to a specific static address:
```yaml
kvmd:
wol:
mac: ff:ff:ff:ff:ff:ff
ip: 192.168.0.100
# port: 9 # By default
```
then restart `kvmd`.
### GPIO method (multiple hosts)
Follow the [manual for building the GPIO menu](gpio.md) and use the `wol ' driver to build a menu with many buttons tied to different hosts.