Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


Sidebar

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

This is an old revision of the document!


5G Module Usage

 

Introduction

This page will introduce the use of 5G modules.You will learn how to use 5G modules on Khadas SBC.

Preparation

  • Disconnect the Khadas SBC power port cable.
  • Insert the 5G module board into the M.2 interface on the back of the Khadas SBC.
  • Please insert a valid Micro SIM card on the 5G module.

Set up dial-up tools

1.Clone the source code form our Github

Paste the following text into the command line, you can get the dialing tool source code.

$ git clone https://github.com/numbqq/quectel-CM.git

2.Compile the dialing tool source code

$ cd quectel-CM
$ make

3.Dial up Internet access

$ sudo ./quectel-CM &

Configure the network

Confirm the network interface IP

$ ifconfig rmnet_mhi0.1
rmnet_mhi0.1 Link encap:UNSPEC  HWaddr 02-50-F4-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet addr:10.129.59.93  Mask:255.255.255.252
          inet6 addr: fe80::50:f4ff:fe00:0/64 Scope:Link
          UP RUNNING NOARP  MTU:1500  Metric:1
          RX packets:1089360 errors:0 dropped:0 overruns:0 frame:0
          TX packets:176581 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1521449058 (1.4 GiB)  TX bytes:57525792 (54.8 MiB)

Set dns

$  echo "nameserver 1.0.0.1" | sudo tee /etc/resolv.conf

test network

You can use the following command text to test the results of the above settings.

$  ping -I rmnet_mhi0.1 khadas.com
Last modified: 2022/09/27 05:52 by ivan