RM520N Registration and ECM not working

Hi

I have Quectel RM520N-EU

The issue I have is ECM not working. I am able to get internet access using MBIM (AT+QCFG=“usbnet”,1) but not ECM

The other issue i have is network registration

When i run AT+CGREG=? I get the following

AT+CGREG?

+CGREG: 0,0

OK
The device is not registered and is currently NOT searching for a new operator to which to register.

How do i fix this?

Please check the AT

AT+QGMR
AT+QCFG=“usbnet”
AT+QENG=“servingcell”
AT+CFUN?
AT+CPIN?
AT+CGREG?
AT+CEREG?
AT+C5GREG?
AT+COPS?
AT+CGPADDR
AT+CGDCONT?

AT+QGMR

OK

AT+QCFG=“usbnet”

+QCFG: “usbnet”,2

OK

AT+QENG=“servingcell”

ERROR

AT+CFUN?

+CFUN: 1

OK

AT+CPIN?

+CPIN: READY

OK

AT+CGREG?

+CGREG: 2,0

OK

AT+CEREG?

+CEREG: 2,1,“1955”,“REDACTEd”,13

OK

AT+C5GREG?

+C5GREG: 0,0

OK

AT+COPS?

+COPS: 0,0,“3”,13

OK

AT+CGPADDR

+CGPADDR: 1,“REDACTED”
+CGPADDR: 2,“REDACTED”
+CGPADDR: 22,“0.0.0.0”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”
+CGPADDR: 23,“0.0.0.0”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”
+CGPADDR: 24,“0.0.0.0”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”
+CGPADDR: 3,“0.0.0.0”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”
+CGPADDR: 5,“REDACTED”
OK

AT+CGDCONT?

+CGDCONT: 1,“IPV4V6”,“3internet”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”,0,0,0,0,“”,0
+CGDCONT: 2,“IPV4V6”,“ims”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”,0,0,0,0,“”,0
+CGDCONT: 22,“IPV4V6”,“”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”,0,0,0,0,“”,0
+CGDCONT: 23,“IPV4V6”,“”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”,0,0,0,0,“”,0
+CGDCONT: 24,“IPV4V6”,“”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”,0,0,0,0,“”,0
+CGDCONT: 3,“IPV4V6”,“sos”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”,0,0,0,1,“”,0
+CGDCONT: 5,“IPV4V6”,“three.co.uk”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”,0,0,0,0,“”,0

OK

I have internet access with my setup. However this was only because I set the modem to MBIM mode. Why is that?

Please show the device manager? Can you see the ECM network adapter?
And please also check

AT+QMAPWAC?

I get the follow

+QMAPWAC: 1

OK
When i connect the modem to windows i see the ethernet port and I have internet access only via MBIM mode though

Please show the internet interace and device manager.

Device: Quectel RM520N-EU
Firmware: RM520NEUDAR03A06M4G_01.200.01.200

See below for device manager

Summary

image

See below for internet interface (note i get a public IP)

Summary

This is what i see in the wireless taskbar in windows
image

The usb-c port from my enclosure is connected to my laptop for power and data. The ethernet is also connected (via a dongle) for internet

Summary

If i disconnect the usb, I get no internet. I am currently running in MBIM mode.

If I change the mode to ECM, i get no internet at all even if I connect both the usb and ethernet.

Is this module specific or could it be the enclosure? The instruction that came with the enclosure says to use

Summary

AT+QCFG=“usbnet”
0 —> RMNET
1 —> ECM
2 —> MBIM

I didn’t the see that you have installed the Quectel ECM windows driver.
Actually, it seems that the usbnet is 2 and it is in MBIM.
Did you misunderstand something?

But the CEREG? shows that it is registerred.

Hi,

I changed usbnet back to 2 so that I can restore internet access.
Note that I use a windows laptop to setup the modem within the mcuzone 5g enclosure.
I then plug the modem to a proxmox server that is running pfsense.

Before i proceed. If i manage to get ECM running, does that mean I will be able to use the RM520N in the mcuzone enclosure without having to plug the usb cable to the host? For power i have a POE switch, so will i be able to connect the modem to the pfsense box with only an ethernet cable?

Do you mean that you want with only ethernet cable connection, and the Internet works fine.
image
And you don’t need the USB.
It is possible.

Hi, yes this is exactly what I want. The only thing is it will not be Windows but a linux system (debian based)

Have you tried this

Please try:

AT+QMAPWAC=1 (setup data call automatucally)
AT+QETH=“eth_driver”,“r8125”
AT+QCFG=“pcie/mode”,1
AT+QCFG=“data_interface”,1,0

And then there will be of no usbnet interface. You can use the Ethernet interface.

It will take effect after reboot.

I’ll give it a go next week

HI, just tried this and it didn’t work

Please show me it with some picture and logs.

How do i easily collect the logs? I tried following this but it’s not working.

Please show me that

  1. Whether it can obtain IP address and which kind of IP address is it?
  2. Use AT cmd to check
    AT+COPS?
    AT+CPIN?
    AT+QMAPWAC?
    AT+CGPADDR
    AT+CGDCONT?
    AT+CGACT?

You just tell me it is not working, but I know what the current phenomenon is.