Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:common:add-ons:em06-lte-4g-module

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
products:sbc:common:add-ons:em06-lte-4g-module [2024/08/06 22:43]
ivan [Ubuntu]
products:sbc:common:add-ons:em06-lte-4g-module [2026/06/20 03:08] (current)
nick
Line 13: Line 13:
 ===== Ubuntu ===== ===== Ubuntu =====
  
-==== Preparation ====+==== Connect Network - NetworkManager/ModemManager ====
  
-=== Setup LTE Module === +You need to set up 4G module to ''"usbnet",2'' mode if you want to use ''NetworkManager/ModemManager'' to manage the network.
- +
-Install ''minicom'' in your SBC.+
  
 ```shell ```shell
-sudo apt update +echo -e "AT+QCFG=\"usbnet\",2\r\n" >  /dev/ttyUSB2
-sudo apt install minicom+
 ``` ```
  
-Setting to ''usbnet'' mode. +LTE module needs power down and restart to switch mode. Unplug your SBC and plug again. LTE module now works in ''"usbnet",2'' mode.
- +
-```shell +
-sudo minicom -D /dev/ttyUSB2 +
-``` +
- +
-After open ''minicom'' , enter: +
- +
-```txt +
-AT+QCFG="usbnet",+
- +
-OK +
-``` +
-LTE module needs power down and restart to switch mode. Unplug your SBC and plug again. LTE module now works in ''usbnet'' mode.+
  
 <WRAP info > <WRAP info >
Line 43: Line 27:
  
 ``` ```
-AT+QCFG="usbnet",0+echo -e "AT+QCFG=\"usbnet\",0\r\n" >  /dev/ttyUSB2
 ``` ```
  
 Unplug your SBC and plug again to switch back to default mode. Unplug your SBC and plug again to switch back to default mode.
 </WRAP> </WRAP>
- 
- 
-==== Connect Network ==== 
  
 <tabbox Xfce Desktop OS>  <tabbox Xfce Desktop OS> 
Line 89: Line 70:
  
 <tabbox Gnome Desktop OS>  <tabbox Gnome Desktop OS> 
 +
 +**Ubuntu 20.04:**
  
 Click the menu bar in the upper right corner to see the ''mobile board settings'' option. Click the menu bar in the upper right corner to see the ''mobile board settings'' option.
Line 121: Line 104:
  
 {{/products/sbc/common/add-ons/gnome-lte9.png?800|gnome-lte9}} {{/products/sbc/common/add-ons/gnome-lte9.png?800|gnome-lte9}}
 +
 +**Ubuntu 24.04:**
 +
 +First, click the menu bar in the upper-right corner. Then, click the navigation arrow by the ''Mobile'' icon.
 +
 +{{/products/sbc/common/add-ons/gnome-noble-lte1.webp?800|gnome-noble-lte1}}
 +
 +Click the ''mobile board settings'' option.
 +
 +{{/products/sbc/common/add-ons/gnome-noble-lte2.webp?800|gnome-noble-lte2}}
 +
 +Click the ''Access Point Names'', choose ''CTNET'', finally, close all menus.​
 +
 +{{/products/sbc/common/add-ons/gnome-noble-lte3.webp?800|gnome-noble-lte3}}
 +
 +{{/products/sbc/common/add-ons/gnome-noble-lte4.webp?800|gnome-noble-lte4}}
 +
 +Click the menu bar in the upper-right corner again. The ''Mobile'' icon will turn orange, indicating a successful 4G connection.​
 +
 +{{/products/sbc/common/add-ons/gnome-noble-lte5.webp?800|gnome-noble-lte5}}
  
 <tabbox Server OS>  <tabbox Server OS> 
Line 130: Line 133:
  
 </tabbox> </tabbox>
 +
 +==== Connect Network - QMI_WWAN ====
 +
 +You need to set up 4G module to ''"usbnet",0'' mode if you want to use QMI_WWAN.
 +
 +```shell
 +echo -e "AT+QCFG=\"usbnet\",0\r\n" >  /dev/ttyUSB2
 +```
 +
 +LTE module needs power down and restart to switch mode. Unplug your SBC and plug again. LTE module now works in ''"usbnet",0'' mode.
 +
 +Setup the newwork:
 +
 +```shell
 +sudo quectel-CM &
 +```
 +
  
 ==== Check Network ==== ==== Check Network ====
Line 154: Line 174:
  
 ```shell ```shell
-$ sudo ping www.baidu.com -I ppp0+$ sudo ping khadas.com -I ppp0
 ``` ```
-<tabbox 5.4 Kernel>+<tabbox 5.4/6.12 Kernel>
  
 ```shell ```shell
Line 171: Line 191:
  
 ```shell ```shell
-$ sudo ping www.baidu.com -I www0+$ sudo ping khadas.com -I wwan0
 ``` ```
 </tabbox> </tabbox>
  
 If your LTE module works normally, it will be successful. If your LTE module works normally, it will be successful.
Last modified: 2024/08/06 22:43 by ivan