From f14c65e71a5c59c96081a99b2c96e682004c6004 Mon Sep 17 00:00:00 2001 From: Djeex Date: Mon, 30 Nov 2026 13:49:22 +0000 Subject: [PATCH] Use a network card placeholder in the Wake on LAN steps --- content/en/3.serveex/2.core/1.installation.md | 10 +++++++--- content/fr/3.serveex/2.core/1.installation.md | 10 +++++++--- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/content/en/3.serveex/2.core/1.installation.md b/content/en/3.serveex/2.core/1.installation.md index e5bb81c..90a2aaf 100644 --- a/content/en/3.serveex/2.core/1.installation.md +++ b/content/en/3.serveex/2.core/1.installation.md @@ -231,11 +231,15 @@ ip -br link You get something like `enp1s0 UP aa:bb:cc:dd:ee:ff`. Keep both: the interface name for the commands below, the MAC address for the machine that will send the packet. +::warning +The interface name `enp1s0` above is only an example. In the commands and the service file below, replace `` with the name you got from `ip -br link` on your own machine, otherwise the setting will be applied to a card that doesn't exist. +:: + #### Check the card supports it ```bash [Terminal] sudo apt install ethtool -sudo ethtool enp1s0 | grep -i wake +sudo ethtool | grep -i wake ``` The answer looks like `Supports Wake-on: pumbg` then `Wake-on: d`. The letter that matters is **g**, for magic packet. If the *Supports* line doesn't have it, the card can't do it and there's nothing to configure. `Wake-on: d` simply means disabled, which the next step fixes. @@ -243,7 +247,7 @@ The answer looks like `Supports Wake-on: pumbg` then `Wake-on: d`. The letter th #### Turn it on ```bash [Terminal] -sudo ethtool -s enp1s0 wol g +sudo ethtool -s wol g ``` Run the check again, `Wake-on` should now be `g`. This setting is reset at every boot, so it needs to be reapplied automatically. @@ -261,7 +265,7 @@ After=network.target [Service] Type=oneshot -ExecStart=/usr/sbin/ethtool -s enp1s0 wol g +ExecStart=/usr/sbin/ethtool -s wol g [Install] WantedBy=basic.target diff --git a/content/fr/3.serveex/2.core/1.installation.md b/content/fr/3.serveex/2.core/1.installation.md index 64cebf9..fb78df1 100644 --- a/content/fr/3.serveex/2.core/1.installation.md +++ b/content/fr/3.serveex/2.core/1.installation.md @@ -232,11 +232,15 @@ ip -br link Vous obtenez quelque chose comme `enp1s0 UP aa:bb:cc:dd:ee:ff`. Gardez les deux : le nom de l'interface pour les commandes ci-dessous, l'adresse MAC pour la machine qui enverra le paquet. +::warning +Le nom d'interface `enp1s0` ci-dessus n'est qu'un exemple. Dans les commandes et le fichier de service ci-dessous, remplacez `` par le nom obtenu avec `ip -br link` sur votre propre machine, sinon le réglage sera appliqué à une carte qui n'existe pas. +:: + #### Vérifier que la carte le gère ```bash [Terminal] sudo apt install ethtool -sudo ethtool enp1s0 | grep -i wake +sudo ethtool | grep -i wake ``` La réponse ressemble à `Supports Wake-on: pumbg` puis `Wake-on: d`. La lettre qui compte est **g**, pour magic packet. Si la ligne *Supports* ne la contient pas, la carte ne sait pas le faire et il n'y a rien à configurer. `Wake-on: d` signifie simplement désactivé, ce que l'étape suivante corrige. @@ -244,7 +248,7 @@ La réponse ressemble à `Supports Wake-on: pumbg` puis `Wake-on: d`. La lettre #### L'activer ```bash [Terminal] -sudo ethtool -s enp1s0 wol g +sudo ethtool -s wol g ``` Relancez la vérification, `Wake-on` devrait maintenant être à `g`. Ce réglage est réinitialisé à chaque démarrage, il faut donc le réappliquer automatiquement. @@ -262,7 +266,7 @@ After=network.target [Service] Type=oneshot -ExecStart=/usr/sbin/ethtool -s enp1s0 wol g +ExecStart=/usr/sbin/ethtool -s wol g [Install] WantedBy=basic.target