How to Use Wake-on-LAN to Power On Khadas VIM3/VIM3L SBC

Khadas VIM2, Edge and VIM3/VIM3L SBC’s all come with Wake-on-LAN (WoL) support which allows you to power on the board with a specific Ethernet packet. This is not especially useful if your board sits on a desk since you have easy access to the power button, but if you’ve placed the SBC in a cabinet, inside an enclosure without access to the power button, or in another hard-to-reach location this can be a lifesaver.

I had never tried the feature until today, so I decided to give it up a go adapting the instructions provided on Khadas Wiki. I’ll use Khadas VIM3L running Android 9.0 and sent WoL packets from my Android phone as well as an Ubuntu 18.04 laptop.

Khadas VIM3L WoL Configuration

WoL is disabled by default, but it’s really easy to enable in Android 9. Go to Settings->More Settings->Device Preferences->WOL.

Khadas VIM3L WoL Settings

Make sure Wake on LAN is enabled, and note the Ethernet MAC address.

Using Wake-on-LAN with an Android Smartphone

Several Android apps support Wake-on-LAN including the one from the same name available for download on Google Play.

After launching the app, click on + icon to add a new device, and scroll down to scan IP addresses from your local network.

Wake-on-LAN Android App
Click to Enlarge

Select the one that corresponds to the MAC address in Khadas VIM3L settings, and edit it with a user-friendly name such as “Khadas VIM3L”. When the board is running, there will be a small green, and after turning off the board the dot will become red. So how to start the board again? Simply tap on the device and it will automatically start. It’s that simple as the video below demonstrates.

 

Using Wake-on-LAN from an Ubuntu Computer

We can send a magic WoL packet from the command line with wakeonlan utility follow with the MAC address as parameters:


We can also do the same from a GUI with gWakeOnLan:


It’s a bit easier to use since the program will auto-detect IP address on the LAN so you don’t need to remember or input the MAC address.

gWakeOnLan

Once you’ve added the machine, you can select it, and click on Turn On button, and you’re good.

gWakeOnLAN Machine SettingsThis program also allows you to add addresses from the Internet, so it’s possible to make Wake-on-LAN also works on the net but outside the scope of this post.

Wake-on-LAN from a Windows Machine

I have not tested this one, but based on the info from the WiFi, you can install Wake-On-LAN Sender tool, and add your machine is a similar way to what is done in Ubuntu.

Wake-On-LAN Sender Windows

Share this:

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress

ROCK 5 ITX RK3588 mini-ITX motherboard
Subscribe
Notify of
guest
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
4 Comments
oldest
newest
Gouwa
4 years ago

When WOL mode is enabled, the CPU and all the other peripherals is shutdown, and only MCU and the Ethernet PHY is powered for lowest power consumption.

The VIMs SBC can be used for outdoor digital signage together with the RTC battery for timer on or off 🙂

Jay
4 years ago

Is your timeline for shipping the VIM3L HTPC on target for end of October, or are there any changes (sooner/delayed)?

Also, how would you be shipping – FedEx/DHL/etc.?

Gouwa
4 years ago

Hi Jay, thanks for the order!

Yes, our team are managing the SMT process now, and the VIM3L will be ready for shipping next week.

Jay
4 years ago

Hi Gouwa,

From your own post on your forum, looks like you’re delayed – https://forum.khadas.com/t/vim3l-opening-up-new-possibilities-for-diy-htpc-enthusiasts/4956/133. Hope this is a week’s delay maximum.

Also, could you answer the question from my previous post on how you would be shipping – FedEx/DHL etc.?

Thanks,
Jay

Khadas VIM4 SBC