RM520NGLAP Module setup

I am working on trying to setup the RM520NGLAP-M20-SGASA module, but there is one problem I can’t wrap my head around.

More precisely, my system recognizes the modem well, I can see the modem via ModemManager and I can even see the connection after doing all the setup steps (I am following this guide). So everything seems fine - I can unlock my sim, connect to an APN, and signal quality is ok. DNS is assigned to the interface, etc. However, I still can’t ping (the las step in the guide) 8.8.8.8 nor the DNS address, it results in 100% packet loss. I’m not even sure if this is a problem of setting up the modem or something else and decided to ask here.

I’ve also tested the SIM card in my own phone, and there the APN is the same, and I can even go to Google in my browser and google there.

If it helps, the firmware version is RM520NGLAAR01A08M4G.

RM520NGLAP-M20-SGASA not working well with MM. You should use Quectel-CM.

Dear @kase
Please check the register status and PDP context.
AT+QENG=“servingcell”
AT+QIACT?
AT+CGDCONT?
AT+QCFG=“usbnet”

If I understand right, these are the commands to use with Quectel-CM, which I’m having problems with. When I launch Quectel-CM, it results in this:

[01-10_10:19:11:776] network interface '' or qmidev '' is not exist
[01-10_10:19:11:776] atdevice_detect failed
[01-10_10:19:11:776] qmidevice_detect failed

and nothing more happens. The Quectel-CM version is QConnectManager_Linux_V1.6.5

What is the Linux kernel version?
Could you show

lspci
and
lsusb

Kernel version is 6.8.0-51-generic

lspci:

00:00.0 Host bridge: Intel Corporation 12th Gen Core Processor Host Bridge/DRAM Registers (rev 02)
00:02.0 VGA compatible controller: Intel Corporation AlderLake-S GT1 (rev 0c)
00:08.0 System peripheral: Intel Corporation 12th Gen Core Processor Gaussian & Neural Accelerator (rev 02)
00:14.0 USB controller: Intel Corporation Alder Lake-S PCH USB 3.2 Gen 2x2 XHCI Controller (rev 11)
00:14.2 RAM memory: Intel Corporation Alder Lake-S PCH Shared SRAM (rev 11)
00:15.0 Serial bus controller: Intel Corporation Alder Lake-S PCH Serial IO I2C Controller #0 (rev 11)
00:15.1 Serial bus controller: Intel Corporation Alder Lake-S PCH Serial IO I2C Controller #1 (rev 11)
00:15.2 Serial bus controller: Intel Corporation Alder Lake-S PCH Serial IO I2C Controller #2 (rev 11)
00:15.3 Serial bus controller: Intel Corporation Alder Lake-S PCH Serial IO I2C Controller #3 (rev 11)
00:16.0 Communication controller: Intel Corporation Alder Lake-S PCH HECI Controller #1 (rev 11)
00:16.3 Serial controller: Intel Corporation Device 7aeb (rev 11)
00:17.0 SATA controller: Intel Corporation Alder Lake-S PCH SATA Controller [AHCI Mode] (rev 11)
00:19.0 Serial bus controller: Intel Corporation Alder Lake-S PCH Serial IO I2C Controller #4 (rev 11)
00:19.1 Serial bus controller: Intel Corporation Alder Lake-S PCH Serial IO I2C Controller #5 (rev 11)
00:1a.0 PCI bridge: Intel Corporation Alder Lake-S PCH PCI Express Root Port #25 (rev 11)
00:1a.1 PCI bridge: Intel Corporation Device 7ac9 (rev 11)
00:1a.2 PCI bridge: Intel Corporation Device 7aca (rev 11)
00:1a.3 PCI bridge: Intel Corporation Device 7acb (rev 11)
00:1c.0 PCI bridge: Intel Corporation Alder Lake-S PCH PCI Express Root Port #3 (rev 11)
00:1c.3 PCI bridge: Intel Corporation Device 7abb (rev 11)
00:1c.6 PCI bridge: Intel Corporation Device 7abe (rev 11)
00:1d.0 PCI bridge: Intel Corporation Alder Lake-S PCH PCI Express Root Port #9 (rev 11)
00:1d.2 PCI bridge: Intel Corporation Device 7ab2 (rev 11)
00:1d.4 PCI bridge: Intel Corporation Alder Lake-S PCH PCI Express Root Port #13 (rev 11)
00:1f.0 ISA bridge: Intel Corporation Device 7a88 (rev 11)
00:1f.3 Audio device: Intel Corporation Alder Lake-S HD Audio Controller (rev 11)
00:1f.4 SMBus: Intel Corporation Alder Lake-S PCH SMBus Controller (rev 11)
00:1f.5 Serial bus controller: Intel Corporation Alder Lake-S PCH SPI Controller (rev 11)
01:00.0 Ethernet controller: Intel Corporation Ethernet Controller I225-IT (rev 03)
02:00.0 Ethernet controller: Intel Corporation Ethernet Controller I225-IT (rev 03)
03:00.0 Ethernet controller: Intel Corporation Ethernet Controller I225-IT (rev 03)
04:00.0 Ethernet controller: Intel Corporation Ethernet Controller I225-IT (rev 03)
05:00.0 Ethernet controller: Intel Corporation Ethernet Controller I225-LM (rev 03)
06:00.0 Ethernet controller: Intel Corporation Ethernet Controller I225-IT (rev 03)
07:00.0 Network controller: Intel Corporation Wi-Fi 5(802.11ac) Wireless-AC 9x6x [Thunder Peak] (rev 29)
08:00.0 Unassigned class [ff00]: Qualcomm Technologies, Inc Device 0308
09:00.0 CANBUS: Device 1c29:1703 (rev 01)
0a:00.0 Non-Volatile memory controller: Transcend Information, Inc. NVMe PCIe SSD 240S/MTE710T (rev 03)

lsusb:

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 17ef:6099 Lenovo Lenovo Traditional USB Keyboard
Bus 001 Device 003: ID 353f:a101 OnLogic K800 eMCU
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

It is recognized.
But it is 6.8.0-51-generic and the pcie_mhi_generic driver probed.
If you must try the quectel-CM, it is better to remove the pcie_mhi_generic and install the pcie_mhi driver.

Quectel_Linux_PCIE_MHI_Driver_V1.3.8.zip (137.6 KB)

When I try to insert the commands, I get this error:

[01-14_10:46:53:590] network interface '' or qmidev '' is not exist
[01-14_10:46:53:590] atdevice_detect failed
[01-14_10:46:53:590] qmidevice_detect failed
AT+QENG="servingcell"
AT+QENG=servingcell: command not found
[1]+  Done                    ./quectel-CM

What you need to do…