Outils du site

Si Superman est tellement malin, pourquoi est-ce qu'il met son slip par-dessus son pantalon ? [Inconnu]

04-linux:10-administration:wakeonlan

Différences

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

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
04-linux:10-administration:wakeonlan [2021/01/15 21:02] Roge04-linux:10-administration:wakeonlan [2021/01/16 13:20] (Version actuelle) – [Réveil] Roge
Ligne 17: Ligne 17:
  
  
-sudo vi /etc/systemd/system/wol.service+  * sudo vi /etc/systemd/system/wol.service 
 + 
 In that file, paste the following: In that file, paste the following:
  
 +<code bash>
 [Unit] [Unit]
 Description=Configure Wake On LAN Description=Configure Wake On LAN
Ligne 29: Ligne 32:
 [Install] [Install]
 WantedBy=basic.target WantedBy=basic.target
 +</code>
  
  
 Save and close the file. Make systemd aware of the new script with the command: Save and close the file. Make systemd aware of the new script with the command:
 +  * sudo systemctl daemon-reload
  
-sudo systemctl daemon-reload +Enable the new service with the command:  *  
-Enable the new service with the command:+  * sudo systemctl enable wol.service
  
-sudo systemctl enable wol.service 
 Finally, start the service with the command: Finally, start the service with the command:
- +  * sudo systemctl start wol.service
-sudo systemctl start wol.service+
  
 ===== Réveil ===== ===== Réveil =====
  
-  * wakeonlan MAC+  * wakeonlan <@MAC>
Dernière modification : 2021/01/15 21:02