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:5g-module-usage [2022/09/29 08:58] nick [test network] |
products:sbc:common:add-ons:5g-module-usage [2025/03/05 05:06] (current) nick |
||
---|---|---|---|
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:// |
+ | |||
+ | <WRAP tip > | ||
+ | AT command node is ''/ | ||
+ | </ | ||
===== 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 | + | * Insert the 5G module board into the M.2 slot on [[https:// |
- | * Please insert | + | * Insert |
+ | * Insert | ||
- | ===== Set up dial-up tools ===== | + | ===== Linux ===== |
- | **Clone | + | ==== 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 === | ||
- | Paste the following text into the command line, you can get the dialing tool source code. | ||
```shell | ```shell | ||
Line 21: | Line 58: | ||
``` | ``` | ||
- | **Compile the dialing tool source code** | + | |
+ | === Compile the Source Code === | ||
```shell | ```shell | ||
$ cd quectel-CM | $ cd quectel-CM | ||
$ make | $ make | ||
- | |||
``` | ``` | ||
- | **Dial up Internet | + | |
+ | ==== Configure the Network ==== | ||
+ | |||
+ | === Connect to Internet | ||
+ | |||
+ | |||
+ | Execute the command below to connect to internet. | ||
```shell | ```shell | ||
$ sudo ./ | $ sudo ./ | ||
- | |||
``` | ``` | ||
- | ===== 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 92: | ||
``` | ``` | ||
- | **Setup DNS** | + | |
+ | If you can see the IP address '' | ||
+ | |||
+ | === Setup DNS === | ||
+ | |||
+ | You also need to setup the DNS. | ||
```shell | ```shell | ||
$ echo " | $ echo " | ||
- | |||
``` | ``` | ||
- | ===== Check Network ===== | + | ==== Check Network ==== |
- | + | ||
- | You can use the following command text to test the results of the above settings. | + | |
```shell | ```shell | ||
Line 63: | Line 108: | ||
``` | ``` | ||
+ | |||
+ | ==== Check Whether use 5G Network ==== | ||
+ | |||
+ | ===== Andoid ===== | ||
+ | |||
+ | It will support automaticly. | ||