How to choose PDPContext 3 for Verizon SIM?

I own GL-AP1300-LTE and I can successfully connect it to Verizon network. But the problem is, every time the device is rebooted, I have to do Manual Setup to get connected to LTE network.

I think the problem with Verizon SIM is that, the PDPContext 1 has to be “ims”, and the actual APN “vzwinternet” should be written to PDPContext 3. But by default, the automatic setup keeps overwriting PDPContext 1 with APN “vzwinternet”

How can I change the default PDPContext number from 1 to 3? So that every time the device is rebooted, it can get connected automatically with APN on PDPContext 3. Thank you.

PS: I know that rOOter can achieve this through its UI, is there an equivalent in the Admin Panel, or command line?

I can see from the logged that there is modem chat script being executed, where is it located?

Here are some links which can be useful (or not?) :

https://dev.archive.openwrt.org/ticket/18906.html

@silkweb Thank you for those links. Adding option pdptype and option profile don’t seem to work, so I guess the only option is to install the customized uqmi.

It sounds silly passing a simple parameter such as changing the APN profile and PDP type is not available as parameter on GL-iNet built-in executable or script. I would like to hear from others who may know something that I don’t

With firmware v3.217, at least the modem uses profile 3 for Verizon, however I still need to do manual intervention and the connection is not stabile.

Manually add APN:ims on profile 1: at+cgdcont=1,"IPV4V6","ims"

Then use Manual Setup to connect the modem with the following options:

  • Operator: auto
  • Device: /dev/cdc-wdm0
  • APN: vzwinternet
  • Auth: NONE
  • Proto: qcm
  • MTU: 1500

When it fails to reconnect, this is the log that I am seeing:

Sun Aug 20 09:39:56 2023 daemon.notice netifd: modem_1_1 (18671): [08-20_09:39:44:953] requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED
Sun Aug 20 09:39:56 2023 daemon.notice netifd: modem_1_1 (18671): [08-20_09:39:44:985] requestQueryDataCall IPv6ConnectionStatus: DISCONNECTED
Sun Aug 20 09:39:56 2023 daemon.notice netifd: modem_1_1 (18671): [08-20_09:39:46:457] requestSetupDataCall WdsConnectionIPv4Handle: 0x8723ebb0
Sun Aug 20 09:39:56 2023 daemon.notice netifd: modem_1_1 (18671): [08-20_09:39:46:553] requestSetupDataCall WdsConnectionIPv6Handle: 0x8723a2d0
Sun Aug 20 09:39:56 2023 daemon.notice netifd: modem_1_1 (18671): [08-20_09:39:47:962] requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED
Sun Aug 20 09:39:56 2023 daemon.notice netifd: modem_1_1 (18671): [08-20_09:39:47:994] requestQueryDataCall IPv6ConnectionStatus: DISCONNECTED
Sun Aug 20 09:39:56 2023 daemon.notice netifd: modem_1_1 (18671): [08-20_09:39:49:370] requestSetupDataCall WdsConnectionIPv4Handle: 0x8723ebb0
Sun Aug 20 09:39:56 2023 daemon.notice netifd: modem_1_1 (18671): [08-20_09:39:49:466] requestSetupDataCall WdsConnectionIPv6Handle: 0x8723a2d0
Sun Aug 20 09:39:56 2023 daemon.notice netifd: modem_1_1 (18671): [08-20_09:39:51:834] requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED
Sun Aug 20 09:39:56 2023 daemon.notice netifd: modem_1_1 (18671): [08-20_09:39:51:866] requestQueryDataCall IPv6ConnectionStatus: DISCONNECTED
Sun Aug 20 09:39:56 2023 daemon.notice netifd: modem_1_1 (18671): [08-20_09:39:53:915] requestSetupDataCall WdsConnectionIPv4Handle: 0x8723ebb0
Sun Aug 20 09:39:56 2023 daemon.notice netifd: modem_1_1 (18671): [08-20_09:39:54:011] requestSetupDataCall WdsConnectionIPv6Handle: 0x8723a2d0

I tried Modem Reset, but it does not help to reconnect.

The only way to recover the internet connection is by rebooting it. Any suggestion how to fix the error message above?