This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
products:sbc:common:configurations:wol [2022/07/06 02:00] nick created |
products:sbc:common:configurations:wol [2024/08/06 03:09] (current) nick |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== WOL (Wake on Lan) ====== | + | ====== WOL (Wake-On-Lan) ====== |
+ | ===== Introduction ===== | ||
+ | |||
+ | This document mainly introduces WOL. You will learn how to enable WOL and wake up through WOL. The first part of the document describes the usage under Ubuntu, and the second part describes the usage under Android. | ||
+ | |||
+ | <WRAP info > | ||
+ | Wake-On-LAN (WOL) is a protocol standard that allows your PC/ | ||
+ | </ | ||
+ | |||
+ | ===== Get Ethernet MAC Address ===== | ||
+ | |||
+ | The Mac address is pasted onto the back of your SBC: | ||
+ | |||
+ | <tabbox VIM2> | ||
+ | {{/ | ||
+ | <tabbox VIM3/ | ||
+ | {{/ | ||
+ | <tabbox VIM4> | ||
+ | {{/ | ||
+ | <tabbox Edge1> | ||
+ | {{/ | ||
+ | </ | ||
+ | |||
+ | If the sticker has peeled-off, you can use following Terminal commands to get the MAC Address. | ||
+ | |||
+ | Type '' | ||
+ | |||
+ | ```shell | ||
+ | $ ifconfig | ||
+ | eth0 Link encap: | ||
+ | inet addr: | ||
+ | inet6 addr: fe80:: | ||
+ | ``` | ||
+ | |||
+ | HWaddr '' | ||
+ | |||
+ | ===== Enable WOL ===== | ||
+ | |||
+ | ==== Enable with U-Boot ==== | ||
+ | |||
+ | |||
+ | By default Wake-On-LAN is disabled. So you’ll have to use the [[/ | ||
+ | |||
+ | ```shell | ||
+ | kvim2# kbi trigger wol w 1 | ||
+ | |||
+ | ``` | ||
+ | |||
+ | If you want to check the WOL status, you can input: | ||
+ | |||
+ | ```shell | ||
+ | kvim2# kbi trigger wol r | ||
+ | boot wol: enable | ||
+ | ``` | ||
+ | |||
+ | ==== Enable with Ubuntu ==== | ||
+ | |||
+ | You can enable WOL via the '' | ||
+ | |||
+ | {{products: | ||
+ | |||
+ | Select WOL mode. | ||
+ | |||
+ | {{products: | ||
+ | |||
+ | ==== Enable with Android ==== | ||
+ | |||
+ | You can enable WOL in the '' | ||
+ | |||
+ | ===== Testing WOL ===== | ||
+ | |||
+ | After doing the steps above, you can test the WOL function. | ||
+ | |||
+ | - Connect with a LAN. | ||
+ | - Power off. | ||
+ | - Attempt to wake up, via a Ubuntu device on the same LAN. | ||
+ | - Install the wakeonlan tool. \\ ```shell | ||
+ | $ sudo apt-get install wakeonlan | ||
+ | ``` | ||
+ | - Wake up your VIM2 using it’s MAC Address. \\ ```shell | ||
+ | $ wakeonlan 98: | ||
+ | ``` | ||
+ | |||
+ | |||
+ | ===== See Also ===== | ||
+ | |||
+ | [[/ |