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.

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.

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.

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

This 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.

Share this:

Support CNX Software! Donate via PayPal or cryptocurrencies, become a Patron on Patreon, or buy review samples

4 Replies to “How to Use Wake-on-LAN to Power On Khadas VIM3/VIM3L SBC”

  1. 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 🙂

    1. 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.?

Leave a Reply

Your email address will not be published.