I have an OpenWrt router that has an RM521F-GL connected to the WAN port via a M2 → RJ45 device.
The output of various AT commands are as follows:
AT
OK
AT+QCFG="USBNET"
+QCFG: "usbnet",2
OK
AT+QCFG="data_interface"
+QCFG: "data_interface",1,0
OK
AT+QCFG="pcie/mode"
+QCFG: "pcie/mode",1
OK
AT+QETH="eth_driver"
+QETH: "eth_driver","r8125",1
+QETH: "eth_driver","r8168",0
OK
AT+QMAPWAC?
+QMAPWAC: 1
OK
AT+CPIN?
+CPIN: READY
AT+C5GREG?
+C5GREG: 0,0
OK
AT+CGDCONT?
+CGDCONT: 1,"IPV4V6","WAP.VODAFONE.CO.UK","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: 3,"IPV4V6","xcap","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0,,,,,,,,,"",,,,0
+CGDCONT: 4,"IPV4V6","sos","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,1,,,,,,,,,"",,,,0
OK
AT+CGPADDR
+CGPADDR: 1,"10.178.28.143"
+CGPADDR: 2,"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: 4,"0.0.0.0","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0"
AT+QPING=1,"8.8.8.8"
OK
+QPING: 569
AT+COPS?
+COPS: 0,0,"vodafone UK",13
OK
AT+CPIN?
+CPIN: READY
OK
AT+CSQ
+CSQ: 17,99
OK
AT+QENG="servingcell"
+QENG: "servingcell","NOCONN","LTE","FDD",234,15,172812,153,2850,7,5,5,301F,-116,-18,-78,6,0,-,7
OK
If I restart the router and/or the modem, the router gets assigned the public IP as is shown above, I am able to run a speedtest for a few seconds before it disconnects and then I have no internet access at all.
I am using a Voxi (Vodafone UK MVNO) PAYG SIM.
Any ideas on how I can get a 5G connection and pass it through to my router?