I am building a router using the rm520n-gl modem and met the following errors. The modem can register to the network, but still failed to attached to it. Any idea what is wrong? Thanks.
Mon Jul 31 17:41:53 2023 : usb-modeswitch 1 Found Modem 1
Mon Jul 31 17:41:53 2023 : usb-modeswitch 1 Connecting a MBIM Modem
Mon Jul 31 17:41:53 2023 : Create Connection 1 Start Connection
Mon Jul 31 17:41:53 2023 : Create Connection 1 Modem 1 WDM Device : cdc-wdm0
Mon Jul 31 17:41:53 2023 : Create Connection 1 Modem
Mon Jul 31 17:41:53 2023 : Create Connection 1 Start MBIM Connection
Mon Jul 31 17:41:58 2023 : Create Connection 1 MBIM Comm Port : /dev/ttyUSB2
Mon Jul 31 17:41:58 2023 : PreConnect 1 Running PreConnect script
Mon Jul 31 17:42:02 2023 : Create Connection 1 Quectel Unsolicited Responses Disabled
Mon Jul 31 17:42:03 2023 : Band Mask 1
Mon Jul 31 17:42:03 2023 : Band Mask 1 Modem PID : 0801
Mon Jul 31 17:42:03 2023 : Band Mask 1 Modem Model : RM520N-GL
Mon Jul 31 17:42:03 2023 : Band Mask 1
Mon Jul 31 17:42:05 2023 : Band Mask 1
Mon Jul 31 17:42:05 2023 : Band Mask 1 Quectel Response : AT+QNWPREFCFG=“lte_band”
+QNWPREFCFG: “lte_band”,1:2:3:4:5:7:8:12:13:14:17:18:19:20:25:26:28:29:30:32:34:38:39:40:41:42:43:46:48:66:71
OK
Mon Jul 31 17:42:05 2023 : Band Mask 1
Mon Jul 31 17:42:05 2023 : Band Mask 1 AT+QNWPREFCFG=lte_band:+QNWPREFCFG::lte_band:1:2:3:4:5:7:8:12:13:14:17:18:19:20:25:26:28:29:30:32:34:38:39:40:41:42:43:46:48:66:71:OK:
Mon Jul 31 17:42:05 2023 : Band Mask 1
Mon Jul 31 17:42:07 2023 : Band Mask 1 EM160/RM500 AT+QNWPREFCFG=nsa_nr5g_band:+QNWPREFCFG::nsa_nr5g_band:1:2:3:5:7:8:12:13:14:18:20:25:26:28:29:30:38:40:41:48:66:70:71:75:76:77:78:79:OK:
Mon Jul 31 17:42:09 2023 : Band Mask 1 EM160/RM500 AT+QNWPREFCFG=nr5g_band:+QNWPREFCFG::nr5g_band:0:OK:
Mon Jul 31 17:42:12 2023 : Band Mask 1
Mon Jul 31 17:42:12 2023 : Band Mask 1 LTE Band Mask : 00000000000000420000A7E2BB0F38DF
Mon Jul 31 17:42:12 2023 : Band Mask 1 5G NSA Band Mask : 0000000000007C62000081A03B0A38D7
Mon Jul 31 17:42:12 2023 : Band Mask 1 5G NA Band Mask : 0
Mon Jul 31 17:42:12 2023 : Band Mask 1
Mon Jul 31 17:42:34 2023 : Get Profile 1 Modem 1 is Quectel RM520N-GL
Mon Jul 31 17:42:34 2023 : Get Profile 1 Default Profile Used
Mon Jul 31 17:42:35 2023 : SimLock 1 Not Locked
Mon Jul 31 17:42:35 2023 : Create Connection 1 Profile for Modem 1 sets interface to WAN1
Mon Jul 31 17:42:35 2023 : Create Connection 1 Modem 1 is using WAN1
Mon Jul 31 17:42:35 2023 : Create Connection 1 Using QMI without DHCP
Mon Jul 31 17:42:35 2023 : Create Connection 1 Using Provider assigned DNS
Mon Jul 31 17:42:35 2023 : Create Connection 1 000000,vzwinternet,Default,NIL,1,NIL,0,ipv4v6
Mon Jul 31 17:42:35 2023 : TTL Settings 1 Setting TTL 64 on interface wwan0
Mon Jul 31 17:42:35 2023 : TTL Settings 1 iptables -t mangle -I POSTROUTING -o wwan0 -j TTL --ttl-set 64
Mon Jul 31 17:42:35 2023 : TTL Settings 1 iptables -t mangle -I PREROUTING -i wwan0 -j TTL --ttl-set 64
Mon Jul 31 17:42:37 2023 : Lock Provider Check ISP Lock
Mon Jul 31 17:42:38 2023 : Create Connection 1 Pincode in script
Mon Jul 31 17:42:38 2023 : Create Connection 1 Attempting to Connect Modem 1
Mon Jul 31 17:42:38 2023 : Check Connection 1 Check Conn running
Mon Jul 31 17:42:38 2023 : Check Connection 1 7
Mon Jul 31 17:42:39 2023 : Create Connection 1 PDP Type selected in the Connection Profile: “IPV4V6”, active: “IPV4V6”
Mon Jul 31 17:42:41 2023 : Create Connection 1 Using Netifd Method
Mon Jul 31 17:42:41 2023 : MBIM Connect 1 Query radio state
Mon Jul 31 17:42:42 2023 : MBIM Connect 1 Reading capabilities
Mon Jul 31 17:42:42 2023 : MBIM Connect 1 Checking subscriber
Mon Jul 31 17:42:42 2023 : MBIM Connect 1 Register with network
Mon Jul 31 17:42:42 2023 : MBIM Connect 1 Registered
Mon Jul 31 17:42:43 2023 : MBIM Connect 1 Attach to network
Mon Jul 31 17:42:58 2023 : MBIM Connect 1 Failed to attach to network
Mon Jul 31 17:42:58 2023 : MBIM Connect 1 MBIM bringup failed, retry in 5s
Mon Jul 31 17:42:58 2023 : Check Connection 1 6
Mon Jul 31 17:43:06 2023 : MBIM Connect Stopping network
Mon Jul 31 17:43:06 2023 : MBIM Connect 1 Query radio state
Mon Jul 31 17:43:07 2023 : MBIM Connect 1 Reading capabilities
Mon Jul 31 17:43:07 2023 : MBIM Connect 1 Checking subscriber
Mon Jul 31 17:43:07 2023 : MBIM Connect 1 Register with network
Mon Jul 31 17:43:07 2023 : MBIM Connect 1 Registered
Mon Jul 31 17:43:08 2023 : MBIM Connect 1 Attach to network
Mon Jul 31 17:43:18 2023 : Check Connection 1 5
Mon Jul 31 17:43:23 2023 : MBIM Connect 1 Failed to attach to network
Mon Jul 31 17:43:23 2023 : MBIM Connect 1 MBIM bringup failed, retry in 5s
Mon Jul 31 17:43:29 2023 : MBIM Connect Stopping network
Mon Jul 31 17:43:29 2023 : MBIM Connect 1 Query radio state