This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
products:sbc:common:add-ons:em06-lte-4g-module [2022/10/30 03:19] ivan |
products:sbc:common:add-ons:em06-lte-4g-module [2025/09/29 21:41] (current) reeve [Gnome Desktop OS] |
||
---|---|---|---|
Line 3: | Line 3: | ||
===== Introduction ===== | ===== Introduction ===== | ||
- | This page mainly introduces how to use the LTE module from two parts. The first part is about how to query the support list of the LTE module, the second is some related operations under Ubuntu. | + | This page mainly introduces how to use the [[https:// |
===== Support Check ===== | ===== Support Check ===== | ||
Line 13: | Line 14: | ||
==== Preparation ==== | ==== Preparation ==== | ||
- | <wrap important > | ||
- | |||
- | It is necessary to insert a valid SIM card and connect the antenna to the 4G module correctly | ||
- | |||
- | </ | ||
- | |||
- | |||
=== Setup LTE Module === | === Setup LTE Module === | ||
- | |||
- | Install '' | ||
- | |||
- | ```shell | ||
- | sudo apt update | ||
- | sudo apt install minicom | ||
- | ``` | ||
Setting to '' | Setting to '' | ||
```shell | ```shell | ||
- | sudo minicom | + | echo -e " |
``` | ``` | ||
- | After open '' | ||
- | |||
- | ```txt | ||
- | AT+QCFG=" | ||
- | |||
- | OK | ||
- | ``` | ||
LTE module needs power down and restart to switch mode. Unplug your SBC and plug again. LTE module now works in '' | LTE module needs power down and restart to switch mode. Unplug your SBC and plug again. LTE module now works in '' | ||
Line 49: | Line 29: | ||
``` | ``` | ||
- | AT+QCFG=" | + | echo -e "AT+QCFG=\" |
``` | ``` | ||
Line 72: | Line 52: | ||
{{/ | {{/ | ||
- | Choose | + | Choose |
{{/ | {{/ | ||
Line 95: | Line 75: | ||
<tabbox Gnome Desktop OS> | <tabbox Gnome Desktop OS> | ||
- | Click the menu bar in the upper right corner to see the '' | ||
- | {{/ | + | **Ubuntu 20.04:** |
- | Click the enable button for the '' | + | Click the menu bar in the upper right corner |
- | * **The first connection | + | |
- | * **After the first 4G connection**.Click the enable button for the '' | + | |
- | {{/ | + | {{/ |
- | {{/ | + | Click the '' |
- | To complete the access point selection, click ''<'' | + | {{/ |
- | {{/ | + | {{/ |
- | {{/ | + | |
+ | Choose where you are. | ||
+ | |||
+ | {{/ | ||
+ | |||
+ | Choose provider, this needs to be set according to your SIM card. | ||
+ | |||
+ | {{/ | ||
+ | |||
+ | After choosing provider, the next two steps are to use defconfiguration. So you just need to choose '' | ||
+ | |||
+ | {{/ | ||
+ | |||
+ | {{/ | ||
After entering the password, you can connect normally. | After entering the password, you can connect normally. | ||
- | {{/ | + | {{/ |
+ | |||
+ | Open the corresponding settings and update the password in '' | ||
+ | |||
+ | {{/ | ||
+ | |||
+ | **Ubuntu 24.04:** | ||
+ | |||
+ | First, click the menu bar in the upper-right corner. Then, click the navigation arrow by the '' | ||
+ | |||
+ | {{/ | ||
+ | |||
+ | Click the '' | ||
+ | |||
+ | {{/ | ||
+ | |||
+ | Click the '' | ||
+ | |||
+ | {{/ | ||
+ | |||
+ | {{/ | ||
- | **In addition to the above**, | + | Click the menu bar in the upper-right corner again. The '' |
- | * Click the Settings of the Access Point option to **update the password**. | + | |
- | * Click the '' | + | |
- | {{/ | + | {{/ |
- | {{/ | + | |
- | {{/ | + | |
<tabbox Server OS> | <tabbox Server OS> | ||
Line 135: | Line 141: | ||
==== Check Network ==== | ==== Check Network ==== | ||
+ | <tabbox 5.15 Kernel> | ||
+ | ```shell | ||
+ | $ ifconfig ppp0 | ||
+ | ppp0: flags=4305< | ||
+ | inet 10.142.115.111 | ||
+ | inet6 2408: | ||
+ | inet6 fe80:: | ||
+ | inet6 2408: | ||
+ | inet6 fe80:: | ||
+ | inet6 2408: | ||
+ | inet6 2408: | ||
+ | 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. | ||
+ | |||
+ | ```shell | ||
+ | $ sudo ping www.baidu.com -I ppp0 | ||
+ | ``` | ||
+ | <tabbox 5.4 Kernel> | ||
```shell | ```shell | ||
$ ifconfig wwan0 | $ ifconfig wwan0 | ||
- | wwan0: flags=4098< | + | wwan0: flags=4291<UP,BROADCAST, |
- | ether 1a:68:e0:a7:94:88 | + | inet 10.31.233.176 |
+ | ether 46:57:61:32:f4:a5 | ||
RX packets 0 bytes 0 (0.0 B) | RX packets 0 bytes 0 (0.0 B) | ||
RX errors 0 dropped 0 overruns 0 frame 0 | RX errors 0 dropped 0 overruns 0 frame 0 | ||
- | TX packets | + | TX packets |
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 | TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 | ||
``` | ``` | ||
- | |||
Use ping command to test. | Use ping command to test. | ||
```shell | ```shell | ||
- | $ ping www.baidu.com -I wwan0 | + | $ sudo ping www.baidu.com -I www0 |
``` | ``` | ||
+ | </ | ||
If your LTE module works normally, it will be successful. | If your LTE module works normally, it will be successful. |