Linux Wake-on-lan: Difference between revisions

From WikiMLT
mNo edit summary
Line 2: Line 2:
{{ContentArticleHeader/Linux_Desktop}}</noinclude>
{{ContentArticleHeader/Linux_Desktop}}</noinclude>


If the remote instance supports the Lake-on-LAN (WoL) feature and it is enabled via its UEFI/BIOS you should be able to wake it up from a Linux system by the wakeonlan command.
If the remote instance supports the Lake-on-LAN (WoL) feature and it is enabled via its UEFI/BIOS you should be able to wake it up from a Linux system by the <code>wakeonlan</code> command.
== Installation on Debian based OS ==
== Installation on Debian based OS ==
<syntaxhighlight lang="shell">
sudo apt install etherwake
</syntaxhighlight>


== Usage ==
You need to provide at least the MAC address of the remote instance.<syntaxhighlight lang="shell">
wakeonlan A8:A1:59:6A:F0:5C
</syntaxhighlight>Waking up the instance will take few seconds, so be patient before trying to connect it.


== References ==
== References ==


* ...
* NixCraft: [https://www.cyberciti.biz/tips/linux-send-wake-on-lan-wol-magic-packets.html <nowiki>How To Wake Up Computers Using Linux Command [ Wake-on-LAN ( WOL ) ] By Sending Magic Packets</nowiki>]
 
* ...


<noinclude>
<noinclude>

Revision as of 10:02, 7 September 2022

Template:ContentArticleHeader/Network Se­cu­ri­ty

If the re­mote in­stance sup­ports the Lake-on-LAN (WoL) fea­ture and it is en­abled via its UEFI/BIOS you should be able to wake it up from a Lin­ux sys­tem by the wakeon­lan com­mand.

In­stal­la­tion on De­bian based OS

sudo apt install etherwake

Us­age

You need to pro­vide at least the MAC ad­dress of the re­mote in­stance.

wakeonlan A8:A1:59:6A:F0:5C

Wak­ing up the in­stance will take few sec­onds, so be pa­tient be­fore try­ing to con­nect it.

Ref­er­ences