Hyper Open Edge Cloud

How To Test Your ORS With Quectel 5G Modules

The process to test your ORS with Quectel 5G Modules.
  • Last Update:2024-09-26
  • Version:001
  • Language:en

How To Test Your ORS With Quectel 5G Modules

This tutorial explains how to test your ORS with Quectel 5G modules. In this tutorial, we will use Quectel RM500Q-GL to test Rapid.Space ORS at 5G N78 SA on Ubuntu 20.04

Agenda

  1. Prerequisites
  2. Quectel Modem Setup
  3. Update 5G Module's Firmware
  4. Set IP For Your PC
  5. Verification
 

Prerequisites

Power On Your ORS on 5G for the purpose of testing. A Quectel 5G module is required. 

*Ubuntu 20.04: this tutorial is based on Ubuntu 20.04 OS. It could adapt to other OS.

Quectel Modem Setup

Install dependencies: 
$ sudo apt install minicom libqmi-utils

Set up modem by minicom, set /dev/ttyUSB2 115200:

$ sudo minicom -s 

After setup, you will be able to use AT commands: Quectel_RG50xQ&RM5xxQ_Series_AT_Commands_Manual_V1.1.1_Preliminary_20201009.pdf

Let's check the firmware by:

at+qgmr
# output:                                                                                                                
# RM500QGLABR11A06M4G_01.001.01.001                                                                                                                                                                                                          
# OK

Update 5G Module's Firmware

Before start use the 5G module, please ensure that the fireware of the module is new as (or newer than) RM500QGLABR11A06M4G_01.001.01.001.

If not, please upgrade the firmware using Qflash with the link: RM500QGLABR11A06M4G_01.001.01.001.

 

Set IP For Your PC

Install dependency:
$ apt install libqmi-utils

Get the interface name:
$ qmicli --device=/dev/cdc-wdm0 --device-open-proxy --get-wwan-iface
# wwan0 
$ qmicli --device=/dev/cdc-wdm0 --device-open-proxy --wds-start-network="ip-type=4,apn=internet" --client-no-release-cid
# this should print
# [/dev/cdc-wdm0] Network started
#     Packet data handle: '592354176'
# [/dev/cdc-wdm0] Client ID not released:
#     Service: 'wds'
#         CID: '16'
$ ip link set dev wwan0 down
$ echo Y > /sys/class/net/wwan0/qmi/raw_ip
$ ip link set dev wwan0 up
$ udhcpc -q -f -n -i wwan0

The PC should have an IP from the 5G module from the 5G signal of ORS. 

Verification

$ ping 8.8.8.8

You can verify the connection by cutting up other network on your PC. 

Ensure that /etc/resolv.conf is point to a valid IP.