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 [2023/04/05 02:47]
ivan [Check Network]
products:sbc:common:add-ons:em06-lte-4g-module [2025/08/21 00:25] (current)
nick
Line 16: Line 16:
  
 === Setup LTE Module === === Setup LTE Module ===
- 
-Install ''minicom'' in your SBC. 
- 
-```shell 
-sudo apt update 
-sudo apt install minicom 
-``` 
  
 Setting to ''usbnet'' mode. Setting to ''usbnet'' mode.
  
 ```shell ```shell
-sudo minicom -/dev/ttyUSB2+echo -e "AT+QCFG=\"usbnet\",2\r\n" >  /dev/ttyUSB2
 ``` ```
  
-After open ''minicom'' , enter: 
- 
-```txt 
-AT+QCFG="usbnet",2 
- 
-OK 
-``` 
 LTE module needs power down and restart to switch mode. Unplug your SBC and plug again. LTE module now works in ''usbnet'' mode. LTE module needs power down and restart to switch mode. Unplug your SBC and plug again. LTE module now works in ''usbnet'' mode.
  
Line 43: Line 29:
  
 ``` ```
-AT+QCFG="usbnet",0+echo -e "AT+QCFG=\"usbnet\",0\r\n" >  /dev/ttyUSB2
 ``` ```
  
Line 133: Line 119:
 ==== Check Network ==== ==== Check Network ====
  
 +<tabbox 5.15 Kernel>
 +```shell
 +$ ifconfig ppp0
 +ppp0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1500
 +        inet 10.142.115.111  netmask 255.255.255.255  destination 10.64.64.64
 +        inet6 2408:8456:3230:3bc4:ea2c:150e:a766:2645  prefixlen 64  scopeid 0x0<global>
 +        inet6 fe80::76b9:a691:80fe:992e  prefixlen 64  scopeid 0x20<link>
 +        inet6 2408:8456:3230:3bc4:a25f:a92d:d49:f994  prefixlen 64  scopeid 0x0<global>
 +        inet6 fe80::5008:29a0:42fb:cd12  prefixlen 64  scopeid 0x20<link>
 +        inet6 2408:8456:3230:3bc4:a7ab:fe70:2367:66d6  prefixlen 64  scopeid 0x0<global>
 +        inet6 2408:8456:3230:3bc4:5008:29a0:42fb:cd12  prefixlen 64  scopeid 0x0<global>
 +        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<BROADCAST,MULTICAST>  mtu 1500 +wwan0: flags=4291<UP,BROADCAST,RUNNING,NOARP,MULTICAST>  mtu 1430 
-        ether 1a:68:e0:a7:94:88  txqueuelen 1000  (Ethernet)+        inet 10.31.233.176  netmask 255.255.255.224  broadcast 10.31.233.191 
 +        ether 46:57:61:32:f4:a5  txqueuelen 1000  (Ethernet)
         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  bytes (0.0 B)+        TX packets  bytes 764 (764.0 B)
         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
-$ sudo ping www.baidu.com -I wwan0+$ sudo ping www.baidu.com -I www0
 ``` ```
 +</tabbox>
  
 If your LTE module works normally, it will be successful. If your LTE module works normally, it will be successful.
Last modified: 2023/04/05 02:47 by ivan