The MAC address can be found out with the command ifconfig or ip. For example, 00:1e:06:42:bf:78 is the MAC address access Wake-On-Lan magic.

$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 00:1e:06:42:bf:78 brd ff:ff:ff:ff:ff:ff
    inet brd scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::21e:6ff:fe42:bf78/64 scope link 
       valid_lft forever preferred_lft forever

By adding one argument to the kernel command line, Wake-On-Lan can be enabled and will be affected on the next boot.


For example, in order to enable Wake-On-Lan.

setenv bootargs "... enable_wol=1"

Firstly, we are assuming that ODROID-N2/C4 is suspended while DC power cable and ethernet cable are attached.

$ sudo systemctl suspend

From another a device, a desktop or a router which can triggers an Wake-On-Lan packet, you can wake up the ODROID-N2/C4. For example, from Ubuntu desktop, the command wakeonlan with a specific MAC address will make the ODROID-N2/C4 start instantly.

$ wakeonlan 00:1e:06:42:bf:78
2020/03/17 11:43 · luke.go