Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools



VIM3/3L M2X Ethernet


This document mainly introduces the usage of Ethernet on M2X . The first part of the document is about how to use it under Ubuntu, and the second part is about how to use it under Android.


System Configuration

Please make sure you use the latest image, if not please follow Upgrade The System to upgrade your system.

Enable M2X Eth

Open /boot/env.txt, add m2x-eth to overlay.

$ sudo vim /boot/env.txt
overlays=uart3 pwm_f i2c3 os08a10 --> overlays=uart3 pwm_f i2c3 os08a10 m2x-eth

Reboot to effect.


Get IP addresss.

khadas@Khadas:~$ ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet  netmask  broadcast
        inet6 fe80::c531:9c16:df20:94f9  prefixlen 64  scopeid 0x20<link>
        ether 02:42:82:4b:1d:2f  txqueuelen 1000  (Ethernet)
        RX packets 113  bytes 13320 (13.3 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 122  bytes 10072 (10.0 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 14

Go online!

khadas@Khadas:~$ ping
PING ( 56(84) bytes of data.
64 bytes from ( icmp_seq=1 ttl=241 time=183 ms
64 bytes from ( icmp_seq=2 ttl=241 time=164 ms
64 bytes from ( icmp_seq=3 ttl=241 time=165 ms
2022/07/06 05:12 · frank
Last modified: 2022/07/13 23:44 by frank