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/07/06 04:39] frank add Introduction |
products:sbc:common:add-ons:em06-lte-4g-module [2024/08/06 22:43] (current) ivan [Ubuntu] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== LTE Module ====== | + | ====== |
===== Introduction ===== | ===== Introduction ===== | ||
- | This document | + | This page mainly introduces how to use the [[https:// |
===== Support Check ===== | ===== Support Check ===== | ||
- | You can view it on the following two pages: | + | You can view it on the following two pages: |
- | + | | |
- | [[https:// | + | |
- | [[https:// | + | |
===== Ubuntu ===== | ===== Ubuntu ===== | ||
Line 20: | Line 19: | ||
Install '' | Install '' | ||
- | ```sh | + | ```shell |
- | $ sudo apt update | + | sudo apt update |
- | $ sudo apt install minicom | + | sudo apt install minicom |
``` | ``` | ||
Setting to '' | Setting to '' | ||
- | ```sh | + | ```shell |
- | $ minicom -D / | + | sudo minicom -D / |
``` | ``` | ||
- | Atfer open minicom , enter: | + | After open '' |
- | ```sh | + | ```txt |
AT+QCFG=" | AT+QCFG=" | ||
Line 43: | Line 42: | ||
How to restore your LTE module? | How to restore your LTE module? | ||
- | ```sh | + | ``` |
AT+QCFG=" | AT+QCFG=" | ||
``` | ``` | ||
Line 59: | Line 58: | ||
{{/ | {{/ | ||
- | Add new connect. | + | Add a new connection. |
{{/ | {{/ | ||
- | Choose | + | Choose |
{{/ | {{/ | ||
- | Choose you provider' | + | Choose |
{{/ | {{/ | ||
- | Choose | + | Choose provider, this needs to be set according to your SIM card. |
{{/ | {{/ | ||
- | Set you LTE module | + | Set your LTE module |
{{/ | {{/ | ||
- | Now, you can connect it , you will find you LTE module connections in network menu. | + | Now, you can connect it, LTE module connections |
{{/ | {{/ | ||
Line 87: | Line 86: | ||
{{/ | {{/ | ||
- | And then, you will connect | + | Finally, you will connect |
<tabbox Gnome Desktop OS> | <tabbox Gnome Desktop OS> | ||
Line 95: | Line 94: | ||
{{/ | {{/ | ||
- | Click the '' | + | Click the '' |
{{/ | {{/ | ||
Line 101: | Line 100: | ||
{{/ | {{/ | ||
- | Choose you provider’s country | + | Choose |
{{/ | {{/ | ||
- | Choose | + | Choose provider, this needs to be set according to your SIM card. |
{{/ | {{/ | ||
- | After choose you provider, the next two steps use defconfigiure. So you just need to choose '' | + | After choosing |
{{/ | {{/ | ||
Line 125: | Line 124: | ||
<tabbox Server OS> | <tabbox Server OS> | ||
- | ```sh | + | ```shell |
$ sudo nmcli connection add type gsm apn 3gnet user 0000 password 0000 con-name "EM06 4G" | $ sudo nmcli connection add type gsm apn 3gnet user 0000 password 0000 con-name "EM06 4G" | ||
Line 134: | Line 133: | ||
==== 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 | ||
+ | ``` | ||
- | ```sh | + | Use ping command to test. |
- | $ ifconfig -a | + | |
- | ... | + | ```shell |
+ | $ sudo ping www.baidu.com -I ppp0 | ||
+ | ``` | ||
+ | <tabbox 5.4 Kernel> | ||
- | wwan0: flags=4098< | + | ```shell |
- | ether 1a:68:e0:a7:94:88 | + | $ ifconfig wwan0 |
+ | wwan0: flags=4291<UP,BROADCAST, | ||
+ | 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. | ||
- | ```sh | + | ```shell |
- | $ ping www.baidu.com -I wwan0 | + | $ sudo ping www.baidu.com -I www0 |
``` | ``` | ||
+ | </ | ||
- | If your LTE module | + | If your LTE module |