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:13] hyphop [Connect Network] |
products:sbc:common:add-ons:em06-lte-4g-module [2026/06/20 03:08] (current) nick |
||
|---|---|---|---|
| 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 13: | Line 13: | ||
| ===== Ubuntu ===== | ===== Ubuntu ===== | ||
| - | ==== Preparation | + | ==== Connect Network - NetworkManager/ |
| - | === Setup LTE Module === | + | You need to set up 4G module to '' |
| - | + | ||
| - | Install | + | |
| ```shell | ```shell | ||
| - | $ sudo apt update | + | echo -e " |
| - | $ 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 '' |
| - | + | ||
| - | ```shell | + | |
| - | $ minicom -D / | + | |
| - | ``` | + | |
| - | + | ||
| - | 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 '' | + | |
| <WRAP info > | <WRAP info > | ||
| Line 43: | Line 27: | ||
| ``` | ``` | ||
| - | 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> | ||
| Line 130: | Line 133: | ||
| </ | </ | ||
| + | |||
| + | ==== Connect Network - QMI_WWAN ==== | ||
| + | |||
| + | You need to set up 4G module to ''" | ||
| + | |||
| + | ```shell | ||
| + | echo -e " | ||
| + | ``` | ||
| + | |||
| + | LTE module needs power down and restart to switch mode. Unplug your SBC and plug again. LTE module now works in ''" | ||
| + | |||
| + | Setup the newwork: | ||
| + | |||
| + | ```shell | ||
| + | sudo quectel-CM & | ||
| + | ``` | ||
| + | |||
| ==== 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 khadas.com -I ppp0 | ||
| + | ``` | ||
| + | <tabbox 5.4/6.12 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 khadas.com -I wwan0 |
| ``` | ``` | ||
| + | </ | ||
| - | If your LTE module | + | If your LTE module |