Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:common:add-ons:5g-module-usage

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
Last revision Both sides next revision
products:sbc:common:add-ons:5g-module-usage [2022/09/29 08:58]
nick [test network]
products:sbc:common:add-ons:5g-module-usage [2023/04/11 07:35]
ivan [Upgrade System]
Line 3: Line 3:
 ===== Introduction ===== ===== Introduction =====
  
-This page will introduce the use of 5G modules.You will learn how to use the 5G module on Khadas SBC with dial-up Internet access tools.+This page will introduce the usage of [[https://www.khadas.com/product-page/5g-nr-module | RM500Q 5G NR module]].You will learn how to use the 5G module on Khadas SBC.
  
 ===== Preparation ===== ===== Preparation =====
  
   * Disconnect the Khadas SBC power port cable.   * Disconnect the Khadas SBC power port cable.
-  * Insert the 5G module board into the M.2 interface on the back of the Khadas SBC. +  * Insert the 5G module board into the M.2 slot on [[https://www.khadas.com/product-page/new-m2x-extension | M2X WWAN Extension]] board. 
-  * Please insert a valid ''Micro SIM'' card on the 5G module.+  * Insert the M2X WWAN Extension board into the SBC. 
 +  * Insert a valid ''Nano SIM'' card on the 5G module.
  
-===== Set up dial-up tools =====+===== Linux =====
  
-**Clone the source code form our Github**+==== Upgrade System ==== 
 + 
 +You need to [[products:sbc:common:configurations:upgrade-system|]] to latest version. 
 + 
 +=== Setup the PCIe / USB3.0 port === 
 + 
 +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 > /sys/class/mcu/usb_pcie_switch_mode 
 +$ sudo reboot 
 +``` 
 +''Reboot'' the system to bring changes into effect. 
 + 
 +==== Disable ModemManager ==== 
 + 
 +As the ModemManager doesn't support this 5G modem, so you have to disable it and use Quectel QConnectManager to connect to the internet. 
 + 
 +```shell 
 +$ sudo systemctl stop ModemManager.service 
 +$ sudo systemctl disable ModemManager.service 
 +``` 
 + 
 +==== Setup Quectel QConnectManager ==== 
 + 
 +You need to use ''Quectel QConnectManager'' to connect to the internet. 
 + 
 +=== Get Source Code ===
  
-Paste the following text into the command line, you can get the dialing tool source code. 
  
 ```shell ```shell
Line 21: Line 48:
  
 ``` ```
-**Compile the dialing tool source code**+ 
 +=== Compile the Source Code === 
  
 ```shell ```shell
 $ cd quectel-CM $ cd quectel-CM
 $ make $ make
- 
 ``` ```
-**Dial up Internet access**+ 
 +==== Configure the Network ==== 
 + 
 +=== Connect to Internet === 
 + 
 + 
 +Execute the command below to connect to internet. 
 ```shell ```shell
 $ sudo ./quectel-CM & $ sudo ./quectel-CM &
- 
 ``` ```
-===== Configure the network ===== 
  
 +=== Check the Network Node ===
  
-**Confirm the network interface IP** 
 ```shell ```shell
 $ ifconfig rmnet_mhi0.1 $ ifconfig rmnet_mhi0.1
Line 49: Line 82:
  
 ``` ```
-**Setup DNS**+ 
 +If you can see the IP address ''inet addr'' mean the network is fine. 
 + 
 +=== Setup DNS === 
 + 
 +You also need to setup the DNS.
  
 ```shell ```shell
 $  echo "nameserver 1.0.0.1" | sudo tee /etc/resolv.conf $  echo "nameserver 1.0.0.1" | sudo tee /etc/resolv.conf
- 
 ``` ```
-===== Check Network ====+==== Check Network ====
- +
-You can use the following command text to test the results of the above settings.+
  
 ```shell ```shell
Line 63: Line 98:
 ``` ```
  
 +
 +==== Check Whether use 5G Network ====
 +
 +===== Andoid =====
 +
 +It will support automaticly.
  
Last modified: 2023/06/11 23:48 by nick