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 02:57] ivan [Gnome Desktop OS] |
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 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 12: | Line 13: | ||
| ===== Ubuntu ===== | ===== Ubuntu ===== | ||
| - | ==== Preparation | + | ==== Connect Network - NetworkManager/ |
| - | + | ||
| - | === Setup LTE Module | + | |
| - | Install | + | You need to set up 4G module to '' |
| ```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 | + | |
| - | sudo 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 42: | 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 65: | Line 47: | ||
| {{/ | {{/ | ||
| - | Choose | + | Choose |
| {{/ | {{/ | ||
| Line 88: | Line 70: | ||
| <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 to see the '' |
| - | **For the first connection to the 4G network**.You need to select the appropriate access point in the small window that pops up. | + | {{/ |
| - | After the first time.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. | ||
| - | {{/ | + | {{/ |
| - | In addition to the above,Based on the first desktop screenshot below. | + | Open the corresponding settings and update the password |
| - | * Click the Settings of the Access Point option to **update the password**. | + | |
| - | * Click the '' | + | |
| - | {{/ | + | {{/ |
| - | {{/ | + | |
| - | {{/ | + | **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 125: | 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 works normally, it will be successful. | If your LTE module works normally, it will be successful. | ||