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:41] hyphop [Support Check] |
products:sbc:common:add-ons:em06-lte-4g-module [2026/06/20 03:08] (current) nick |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== LTE Module ====== | + | ====== |
| ===== Introduction ===== | ===== Introduction ===== | ||
| - | This document | + | This page mainly introduces how to use the [[https:// |
| ===== Support Check ===== | ===== Support Check ===== | ||
| Line 13: | Line 13: | ||
| ===== Ubuntu ===== | ===== Ubuntu ===== | ||
| - | ==== Preparation | + | ==== Connect Network - NetworkManager/ |
| - | === Setup LTE Module === | + | You need to set up 4G module to ''" |
| - | Install '' | + | ```shell |
| - | + | echo -e " | |
| - | ```sh | + | |
| - | $ sudo apt update | + | |
| - | $ sudo apt install minicom | + | |
| ``` | ``` | ||
| - | Setting to '' | + | LTE module needs power down and restart to switch mode. Unplug your SBC and plug again. LTE module now works in '' |
| - | + | ||
| - | ```sh | + | |
| - | $ minicom -D / | + | |
| - | ``` | + | |
| - | + | ||
| - | Atfer open minicom , enter: | + | |
| - | + | ||
| - | ```sh | + | |
| - | AT+QCFG=" | + | |
| - | + | ||
| - | OK | + | |
| - | ``` | + | |
| - | LTE module needs power down and restart to switch mode. Unplug your SBC and plug again. LTE module now works in '' | + | |
| <WRAP info > | <WRAP info > | ||
| How to restore your LTE module? | How to restore your LTE module? | ||
| - | ```sh | + | ``` |
| - | AT+QCFG=" | + | echo -e "AT+QCFG=\" |
| ``` | ``` | ||
| Unplug your SBC and plug again to switch back to default mode. | Unplug your SBC and plug again to switch back to default mode. | ||
| </ | </ | ||
| - | |||
| - | |||
| - | ==== Connect Network ==== | ||
| <tabbox Xfce Desktop OS> | <tabbox Xfce Desktop OS> | ||
| Line 58: | Line 39: | ||
| {{/ | {{/ | ||
| - | 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 67: | ||
| {{/ | {{/ | ||
| - | And then, you will connect | + | Finally, you will connect |
| <tabbox Gnome Desktop OS> | <tabbox Gnome Desktop OS> | ||
| + | |||
| + | **Ubuntu 20.04:** | ||
| Click the menu bar in the upper right corner to see the '' | Click the menu bar in the upper right corner to see the '' | ||
| Line 94: | Line 77: | ||
| {{/ | {{/ | ||
| - | Click the '' | + | Click the '' |
| {{/ | {{/ | ||
| Line 100: | Line 83: | ||
| {{/ | {{/ | ||
| - | 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 121: | Line 104: | ||
| {{/ | {{/ | ||
| + | |||
| + | **Ubuntu 24.04:** | ||
| + | |||
| + | First, click the menu bar in the upper-right corner. Then, click the navigation arrow by the '' | ||
| + | |||
| + | {{/ | ||
| + | |||
| + | Click the '' | ||
| + | |||
| + | {{/ | ||
| + | |||
| + | Click the '' | ||
| + | |||
| + | {{/ | ||
| + | |||
| + | {{/ | ||
| + | |||
| + | Click the menu bar in the upper-right corner again. The '' | ||
| + | |||
| + | {{/ | ||
| <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 131: | Line 134: | ||
| </ | </ | ||
| - | ==== Check Network ==== | + | ==== Connect |
| + | You need to set up 4G module to ''" | ||
| - | ```sh | + | ```shell |
| - | $ ifconfig | + | echo -e " |
| + | ``` | ||
| - | ... | + | LTE module needs power down and restart to switch mode. Unplug your SBC and plug again. LTE module now works in ''" |
| - | wwan0: flags=4098<BROADCAST, | + | Setup the newwork: |
| - | | + | |
| - | RX packets | + | ```shell |
| + | sudo quectel-CM & | ||
| + | ``` | ||
| + | |||
| + | |||
| + | ==== Check Network ==== | ||
| + | |||
| + | <tabbox 5.15 Kernel> | ||
| + | ```shell | ||
| + | $ ifconfig ppp0 | ||
| + | ppp0: flags=4305<UP, | ||
| + | | ||
| + | inet6 2408:8456:3230:3bc4:ea2c:150e: | ||
| + | inet6 fe80:: | ||
| + | inet6 2408: | ||
| + | inet6 fe80:: | ||
| + | inet6 2408: | ||
| + | inet6 2408: | ||
| + | ppp | ||
| + | RX packets | ||
| 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. |
| + | |||
| + | ```shell | ||
| + | $ sudo ping khadas.com -I ppp0 | ||
| ``` | ``` | ||
| + | <tabbox 5.4/6.12 Kernel> | ||
| + | ```shell | ||
| + | $ ifconfig wwan0 | ||
| + | wwan0: flags=4291< | ||
| + | inet 10.31.233.176 | ||
| + | ether 46: | ||
| + | RX packets 0 bytes 0 (0.0 B) | ||
| + | RX errors 0 dropped 0 overruns 0 frame 0 | ||
| + | TX packets 8 bytes 764 (764.0 B) | ||
| + | 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 khadas.com -I wwan0 |
| ``` | ``` | ||
| + | </ | ||
| - | If your LTE module | + | If your LTE module |