Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:vim3:configurations:em06-lte-4g-module

This is an old revision of the document!


VIM4 EM06 LTE 4G Module

Introduction

This page mainly introduces how to use the EM06 LTE module from three parts. The first part is about how to query the support list of the LTE module, the second is some related operations under Ubuntu, and the third is some related operations under Android.

Support Check

You can view it on the following two pages:

Ubuntu

Preparation

Setup LTE Module

Install minicom in your SBC.

sudo apt update
sudo apt install minicom

Setting to usbnet mode.

sudo minicom -D /dev/ttyUSB2

After open minicom , enter:

AT+QCFG="usbnet",2
 
OK

LTE module needs power down and restart to switch mode. Unplug your SBC and plug again. LTE module now works in usbnet mode.

How to restore your LTE module?

AT+QCFG="usbnet",0

Unplug your SBC and plug again to switch back to default mode.

Connect Network

Find edit connections in network menu.

xfce1

Add a new connection.

xfce2

Choose the connection type Mobile Broadband.

xfce3

Choose where you are.

xfce4

Choose provider, this needs to be set according to your SIM card.

xfce5

Set your LTE module connection passwork, you need to remember it .

xfce6

Now, you can connect it, LTE module connections will be found in network menu.

xfce7

Input the password which you set.

xfce8

Finally, you will connect successfully!

Check Network

$ ifconfig ppp0
ppp0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1500
        inet 10.142.115.111  netmask 255.255.255.255  destination 10.64.64.64
        inet6 2408:8456:3230:3bc4:ea2c:150e:a766:2645  prefixlen 64  scopeid 0x0<global>
        inet6 fe80::76b9:a691:80fe:992e  prefixlen 64  scopeid 0x20<link>
        inet6 2408:8456:3230:3bc4:a25f:a92d:d49:f994  prefixlen 64  scopeid 0x0<global>
        inet6 fe80::5008:29a0:42fb:cd12  prefixlen 64  scopeid 0x20<link>
        inet6 2408:8456:3230:3bc4:a7ab:fe70:2367:66d6  prefixlen 64  scopeid 0x0<global>
        inet6 2408:8456:3230:3bc4:5008:29a0:42fb:cd12  prefixlen 64  scopeid 0x0<global>
        ppp  txqueuelen 3  (Point-to-Point Protocol)
        RX packets 100  bytes 8864 (8.8 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 109  bytes 8083 (8.0 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Use ping command to test.

$ sudo ping www.baidu.com -I ppp0

If your LTE module works normally, it will be successful.

2022/07/06 04:37 · frank
2022/06/30 05:18
Last modified: 2022/09/07 02:32 by nick