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/08/05 03:12] hyphop [Preparation] |
products:sbc:common:add-ons:em06-lte-4g-module [2024/08/06 22:43] (current) ivan [Ubuntu] |
||
---|---|---|---|
Line 3: | Line 3: | ||
===== Introduction ===== | ===== Introduction ===== | ||
- | This page mainly introduces how to use the 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. | + | This page mainly introduces how to use the [[https:// |
===== Support Check ===== | ===== Support Check ===== | ||
Line 20: | Line 20: | ||
```shell | ```shell | ||
- | $ sudo apt update | + | sudo apt update |
- | $ sudo apt install minicom | + | sudo apt install minicom |
``` | ``` | ||
Line 27: | Line 27: | ||
```shell | ```shell | ||
- | $ minicom -D / | + | sudo minicom -D / |
``` | ``` | ||
- | After open minicom , enter: | + | After open '' |
```txt | ```txt | ||
Line 58: | 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 86: | Line 86: | ||
{{/ | {{/ | ||
- | And then, you will connect | + | Finally, you will connect |
<tabbox Gnome Desktop OS> | <tabbox Gnome Desktop OS> | ||
Line 94: | Line 94: | ||
{{/ | {{/ | ||
- | Click the '' | + | Click the '' |
{{/ | {{/ | ||
Line 100: | 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 124: | 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 133: | 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 | ||
+ | ``` | ||
+ | |||
+ | 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 | + | If your LTE module |