This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
products:sbc:common:add-ons:5g-module-usage [2022/09/27 03:44] ivan created |
products:sbc:common:add-ons:5g-module-usage [2025/03/05 05:06] (current) nick |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== 5G Module |
| + | ===== Introduction ===== | ||
| - | {{page> | + | This page will introduce the usage of [[https:// |
| + | <WRAP tip > | ||
| + | AT command node is ''/ | ||
| + | </ | ||
| + | |||
| + | |||
| + | ===== Preparation ===== | ||
| + | |||
| + | * Disconnect the Khadas SBC power port cable. | ||
| + | * Insert the 5G module board into the M.2 slot on [[https:// | ||
| + | * Insert the M2X WWAN Extension board into the SBC. | ||
| + | * Insert a valid '' | ||
| + | |||
| + | ===== Linux ===== | ||
| + | |||
| + | ==== Upgrade System ==== | ||
| + | |||
| + | You need to [[products: | ||
| + | |||
| + | === Enable PCIe Port (VIM3 Only) === | ||
| + | |||
| + | <WRAP important > | ||
| + | If you use the VIM3 board, you need to enable the PCIe function. | ||
| + | </ | ||
| + | |||
| + | |||
| + | Khadas VIM3 PCIe/USB3.0 share one data port,and the default mode is USB 3.0.So when we need to use 5G module, we need to switch it to PCIe port. | ||
| + | |||
| + | ```shell | ||
| + | $ echo 1 > / | ||
| + | $ sudo reboot | ||
| + | ``` | ||
| + | '' | ||
| + | |||
| + | ==== Disable ModemManager ==== | ||
| + | |||
| + | As the ModemManager doesn' | ||
| + | |||
| + | ```shell | ||
| + | $ sudo systemctl stop ModemManager.service | ||
| + | $ sudo systemctl disable ModemManager.service | ||
| + | ``` | ||
| + | |||
| + | ==== Setup Quectel QConnectManager ==== | ||
| + | |||
| + | You need to use '' | ||
| + | |||
| + | === Get Source Code === | ||
| + | |||
| + | |||
| + | ```shell | ||
| + | $ git clone https:// | ||
| + | |||
| + | ``` | ||
| + | |||
| + | === Compile the Source Code === | ||
| + | |||
| + | |||
| + | ```shell | ||
| + | $ cd quectel-CM | ||
| + | $ make | ||
| + | ``` | ||
| + | |||
| + | ==== Configure the Network ==== | ||
| + | |||
| + | === Connect to Internet === | ||
| + | |||
| + | |||
| + | Execute the command below to connect to internet. | ||
| + | |||
| + | ```shell | ||
| + | $ sudo ./ | ||
| + | ``` | ||
| + | |||
| + | === Check the Network Node === | ||
| + | |||
| + | ```shell | ||
| + | $ ifconfig rmnet_mhi0.1 | ||
| + | rmnet_mhi0.1 Link encap: | ||
| + | inet addr: | ||
| + | inet6 addr: | ||
| + | UP RUNNING NOARP MTU: | ||
| + | RX packets: | ||
| + | TX packets: | ||
| + | collisions: | ||
| + | RX bytes: | ||
| + | |||
| + | ``` | ||
| + | |||
| + | If you can see the IP address '' | ||
| + | |||
| + | === Setup DNS === | ||
| + | |||
| + | You also need to setup the DNS. | ||
| + | |||
| + | ```shell | ||
| + | $ echo " | ||
| + | ``` | ||
| + | ==== Check Network ==== | ||
| + | |||
| + | ```shell | ||
| + | $ ping -I rmnet_mhi0.1 khadas.com | ||
| + | ``` | ||
| + | |||
| + | |||
| + | ==== Check Whether use 5G Network ==== | ||
| + | |||
| + | ===== Andoid ===== | ||
| + | |||
| + | It will support automaticly. | ||