Linux Wake-on-lan: Difference between revisions
From WikiMLT
mNo edit summary |
|||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{ContentArticleHeader/ | <noinclude>{{ContentArticleHeader/Network_and_Security|toc=off}}{{ContentArticleHeader/Linux_Server|toc=off}} | ||
{{ContentArticleHeader/ | {{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>] | ||
* 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 | ||
| Прндл = Network Security | | Прндл = Network and Security | ||
| Прндл1 = Linux Server | | Прндл1 = Linux Server | ||
| Прндл2 = Linux Desktop | | Прндл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?