RM520N-GL 5G2PHY ethernet connection issue

Device 5G2PHY https://524wifi.net/product/wodaplug-5g2phy-quectel-5g-ethernet-rj45-usb-phy-adapter-design-for-rm520n-rm500q-rm502q-rm551-etc-support-qualcomm-5gnr-phy-solution/ is working well, I can get link up and public IP from module. All is working create except on thing - it works only when USB is connected to Windows laptop. When I disconnect USB and unit gets supply over POE or through 12V DC router gets DHCP address from module and no internet. Then connecting USB cable with laptop “some” information (probably some kind of initialization?) is changed between them and router gets over DHCP SIM card public IP and all good. Then I can remove USB cable and all works, up until 5G2PHY reboot …

So what to do? Does it need some AT commands? Quectel AT over ethernet has its own protocol so it is not possible to send it from the router?

It seems in order NAT to work I have to use after every reboot same AT command:

at+qmap=“MPDN_RULE”,0
at+qmap=“MPDN_RULE”,0,1,0,1,1,“FF:FF:FF:FF:FF:FF”

After that I am getting correct public IP from module. Why does not it stick after reboot? Used at+cfun=1,1.

It should be saved.
You should also set the
AT+QMAP=“ippt_nat”,1

You needn’t to set it always. You just need to set it once.

Did that, when I do AT+QMAP=“ippt_nat” answer is 1 so it sticks after reboot.
Just so weird why USB needed to be connected? If I am connecting simple USB charger then it does not start up - it needs some input from laptop that has drivers installed, but this device HAS TO work autonomously!

You do need the USB connected.
USB here is for us to debug whether it is registerred or set up datacall.

I do not understand that.
Normally you just need to set it once.


AT+QMAP="ippt_nat",1
at+qmap=“MPDN_RULE”,0,1,0,1,1,“FF:FF:FF:FF:FF:FF”
AT+QMAPWAC=1

Indeed, I find that strange also. I have 100% working system, 5G2PHY is on, status LED is green, I get public IP from it via DHCP to my router and all works while RM520N is connected with USB directly to router.
I can get this work ONLY when 5G2PHY is connected to laptop via USB. When I disconnect USB cable then all systems are going to work as expected, it continues work fine in router over ethernet, but if I reboot 5G2PHY without USB connected to laptop its status LED is not going green, router gets RM520N internal 192.168.225.X address and no internet. Then I connect USB back, PHY need restart and usually all gets back normal. Status LED green also gets lit only when laptop and USB is connected, so I assume RM520N it needs something from it …

Huh! R03 FW is the issue! RM520NGLAAR03A04M4G_01.202.01.202 did not work, It needed “something” over USB, but no issues with R01 RM520NGLAAR01A08M4G_01.204.01.204

Nice that I decided to change FW. :slight_smile: So, I can confirm RM520n-gl and 5G2PHY works really well!