Outils pour utilisateurs

Outils du site


welcome:proxmox:wake-on-lan

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

welcome:proxmox:wake-on-lan [2021/08/30 17:24] (Version actuelle)
Ligne 1: Ligne 1:
 +Source: https://forum.proxmox.com/threads/persistent-wake-on-lan-option.46057/
  
 +<code>
 +
 +apt-get update && apt-get install ethtool
 +nano /etc/systemd/system/wol.service
 +
 +    [Unit]
 +    Description=Wake-on-LAN for <interface id>
 +    Requires=network.target
 +    After=network.target
 +
 +    [Service]
 +    ExecStart=/usr/sbin/ethtool -s <interface id> wol g
 +    ExecStop=/usr/sbin/ethtool -s <interface id> wol g
 +
 +    [Install]
 +    WantedBy=multi-user.target
 +
 +
 +systemctl start wol.service
 +systemctl enable wol.service
 +systemctl is-enabled wol.service
 +systemctl daemon-reload
 +
 +</code>
 +\\
 +In order to wake up a distant machine: <code># apt install etherwake</code>
welcome/proxmox/wake-on-lan.txt · Dernière modification: 2021/08/30 17:24 (modification externe)

DokuWiki Appliance - Powered by TurnKey Linux