Linux Wake-on-lan: Difference between revisions
From WikiMLT
m Стадий: 2 [Фаза:Разработване, Статус:Създаден]; Категория:Linux Server |
|||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude>{{ContentArticleHeader/Network_and_Security|toc=off}}{{ContentArticleHeader/Linux_Server|toc=off}} | ||
== | {{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 <code>wakeonlan</code> command. | |||
== 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 == | |||
* 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>] | |||
... | * Ask Ubuntu: [https://askubuntu.com/a/1441349/566421 How can I enable wake-on-lan permanently?] | ||
<noinclude> | <noinclude> | ||
<div id='devStage'> | <div id='devStage'> | ||
{{devStage | {{devStage | ||
| Прндл = Linux Server | | Прндл = Network and Security | ||
| Стадий = | | Прндл1 = Linux Server | ||
| Фаза = | | Прндл2 = Linux Desktop | ||
| Статус = | | Стадий = 6 | ||
| Фаза = Утвърждаване | |||
| Статус = Утвърден | |||
| ИдтПт = Spas | | ИдтПт = Spas | ||
| РзбПт = {{REVISIONUSER}} | | РзбПт = Spas | ||
| АвтПт = Spas | |||
| УтвПт = {{REVISIONUSER}} | |||
| ИдтДт = 7.09.2022 | | ИдтДт = 7.09.2022 | ||
| РзбДт = {{Today}} | | РзбДт = 7.09.2022 | ||
| АвтДт = 7.09.2022 | |||
| УтвДт = {{Today}} | |||
| ИдтРв = [[Special:Permalink/31192|31192]] | | ИдтРв = [[Special:Permalink/31192|31192]] | ||
| РзбРв = {{REVISIONID}} | | РзбРв = [[Special:Permalink/31196|31196]] | ||
| АвтРв = [[Special:Permalink/31198|31198]] | |||
| УтвРв = {{REVISIONID}} | |||
}} | }} | ||
</div> | </div> | ||
</noinclude> | </noinclude> |
Latest revision as of 12:09, 18 November 2022
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.
Installation on Debian based OS
sudo apt install etherwake
Usage
You need to provide at least the MAC address of the remote instance.
wakeonlan A8:A1:59:6A:F0:5C
Waking up the instance will take few seconds, so be patient before trying to connect it.
References
- NixCraft: How To Wake Up Computers Using Linux Command [ Wake-on-LAN ( WOL ) ] By Sending Magic Packets
- Ask Ubuntu: How can I enable wake-on-lan permanently?