Hello.
There is some issue, when is entered APN "internet" modem is connecting and receives IP address, but when is entered APN "pro"
modem isn't connecting.
From my carrier APN "pro" is for static IP address.
There is some issue with context.
Router like Keenetic is correctly working with "pro" APN
I have enabled debug on Keenetic UsbLte0 interface
What we can see there
[I] May 22 15:57:30 ndm: Mobile::TtyDevice: "UsbLte0": tty0 <-- "ATE0" (expect "OK").
[I] May 22 15:57:30 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "OK" (got it).
[I] May 22 15:57:30 ndm: Mobile::TtyDevice: "UsbLte0": tty0 <-- "AT+CFUN=1" (expect "OK").
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "OK" (got it).
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 <-- "AT+CMEE=1" (expect "OK").
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "OK" (got it).
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 <-- "AT+CGPIAF=1,0,0,0" (expect "OK").
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "OK" (got it).
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 <-- "AT+CGMI?" (expect "CGMI").
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "+CGMI: "Fibocom"" (got it).
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --- (expect "OK").
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "OK" (got it).
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 <-- "AT+FMM?" (expect "FMM").
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "+FMM: "L860 LTE Module","L860"" (got it).
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --- (expect "OK").
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "OK" (got it).
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 <-- "AT+FMR?" (expect "FMR").
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "+FMR: "18600.5001.00.35.01.57"" (got it).
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --- (expect "OK").
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "OK" (got it).
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 <-- "ATI9" (expect "^[^\+]{1}.*$").
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> ""V1.2"" (got it).
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --- (expect "OK").
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "OK" (got it).
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 <-- "AT+CGSN?" (expect "CGSN").
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "+CGSN: "352279100355589"" (got it).
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --- (expect "OK").
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "OK" (got it).
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 <-- "AT+XACT=?" (expect "XACT").
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "+XACT: (0-6),(0-2),0,1,2,4,5,8,101,102,103,104,105,107,108,112,113,114,117,118,119,120,125,126,128,129,130,132,138,139,140,141,142,146,166" (got it).
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --- (expect "OK").
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "OK" (got it).
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 <-- "AT+CPMS="ME","ME","SM"" (expect "OK").
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "+CPMS: 0,4,0,4,0,50".
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "OK" (got it).
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 <-- "AT+CMGF=0" (expect "OK").
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "OK" (got it).
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 <-- "AT+CPIN?" (expect "CPIN|CME ERROR").
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "+CPIN: READY" (got it).
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --- (expect "OK").
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "OK" (got it).
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 <-- "AT+CCID" (expect "CCID").
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "+CCID: 8937105220100124117F" (got it).
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --- (expect "OK").
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "OK" (got it).
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 <-- "AT+CIMI" (expect "^\d{15}$").
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "247050102982906" (got it).
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --- (expect "OK").
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "OK" (got it).
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 <-- "AT+CREG=0" (expect "OK").
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "OK" (got it).
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 <-- "AT+CEREG=0" (expect "OK").
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "OK" (got it).
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 <-- "AT+CGATT=0" (expect "OK").
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "OK" (got it).
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 <-- "AT+COPS=2" (expect "OK").
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "OK" (got it).
[I] May 22 15:57:31 ndm: Mobile::TtyDevice: "UsbLte0": tty0 <-- "AT+CGDCONT=0,"IP"" (expect "OK").
[I] May 22 15:57:31 ndm: Core::System::StartupConfig: configuration saved.
[I] May 22 15:57:36 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "OK" (got it).
[I] May 22 15:57:36 ndm: Mobile::TtyDevice: "UsbLte0": tty0 <-- "AT+CGDCONT=0" (expect "OK").
[I] May 22 15:57:36 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "OK" (got it).
[I] May 22 15:57:36 ndm: Mobile::TtyDevice: "UsbLte0": tty0 <-- "AT+XACT=2,,,1,2,4,5,8,101,102,103,104,105,107,108,112,113,114,117,118,119,120,125,126,128,129,130,132,138,139,140,141,142" (expect "OK").
[I] May 22 15:57:36 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "OK" (got it).
[I] May 22 15:57:36 ndm: Mobile::TtyDevice: "UsbLte0": tty0 <-- "AT+CGDCONT=1,"IP","pro"" (expect "OK").
[I] May 22 15:57:36 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "OK" (got it).
[I] May 22 15:57:36 ndm: Mobile::TtyDevice: "UsbLte0": tty0 <-- "AT+XGAUTH=1,0,"",""" (expect "OK").
[I] May 22 15:57:36 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "OK" (got it).
[I] May 22 15:57:36 ndm: Mobile::TtyDevice: "UsbLte0": tty0 <-- "AT+XDATACHANNEL=1,1,"/USBCDC/0","/USBHS/NCM/0",2,1" (expect "OK").
[I] May 22 15:57:36 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "OK" (got it).
[I] May 22 15:57:36 ndm: Mobile::TtyDevice: "UsbLte0": tty0 <-- "AT+XDNS=1,1" (expect "OK").
[I] May 22 15:57:36 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "OK" (got it).
[I] May 22 15:57:36 ndm: Mobile::TtyDevice: "UsbLte0": tty0 <-- "AT+CGACT=1,1" (expect "OK").
[I] May 22 15:57:38 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "OK" (got it).
[I] May 22 15:57:38 ndm: Mobile::TtyDevice: "UsbLte0": tty0 <-- "AT+COPS=0" (expect "OK").
[I] May 22 15:57:38 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "OK" (got it).
[I] May 22 15:57:38 ndm: Mobile::TtyDevice: "UsbLte0": tty0 <-- "AT+CGATT=1" (expect "OK").
[I] May 22 15:57:38 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "OK" (got it).
[I] May 22 15:57:38 ndm: Mobile::TtyDevice: "UsbLte0": tty0 <-- "AT+CGDATA="M-RAW_IP",1" (expect "OK").
[I] May 22 15:57:38 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "OK" (got it).
[I] May 22 15:57:38 ndm: Mobile::TtyDevice: "UsbLte0": tty0 <-- "AT+CPMS="ME"" (expect "OK").
[I] May 22 15:57:38 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "CONNECT".
[I] May 22 15:57:38 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "+CPMS: 0,4,0,4,0,50".
[I] May 22 15:57:38 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "OK" (got it).
[I] May 22 15:57:38 ndm: Mobile::TtyDevice: "UsbLte0": tty0 <-- "AT+CMGD=?" (expect "CMGD").
[I] May 22 15:57:38 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "+CMGD: (),(0,1,2,3,4)" (got it).
[I] May 22 15:57:38 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --- (expect "OK").
[I] May 22 15:57:38 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "OK" (got it).
[I] May 22 15:57:38 ndm: Mobile::TtyDevice: "UsbLte0": tty0 <-- "AT+CPMS="ME"" (expect "CPMS").
[I] May 22 15:57:38 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "+CPMS: 0,4,0,4,0,50" (got it).
[I] May 22 15:57:38 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --- (expect "OK").
[I] May 22 15:57:38 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "OK" (got it).
[I] May 22 15:57:38 ndm: UsbLte::Connection: "UsbLte0": connection initialized.
[I] May 22 15:57:38 ndm: Mobile::TtyDevice: "UsbLte0": tty0 <-- "AT+CPMS="SM"" (expect "CPMS").
[I] May 22 15:57:38 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "+CPMS: 0,50,0,4,0,50" (got it).
[I] May 22 15:57:38 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --- (expect "OK").
[I] May 22 15:57:38 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "OK" (got it).
[I] May 22 15:57:38 ndm: Mobile::TtyDevice: "UsbLte0": tty0 <-- "AT+CREG?" (expect "CREG").
[I] May 22 15:57:38 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "+CREG: 0,6" (got it).
[I] May 22 15:57:38 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --- (expect "OK").
[I] May 22 15:57:38 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "OK" (got it).
[I] May 22 15:57:38 ndm: Mobile::TtyDevice: "UsbLte0": tty0 <-- "AT+CEREG?" (expect "CEREG").
[I] May 22 15:57:38 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "+CEREG: 0,1" (got it).
[I] May 22 15:57:38 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --- (expect "OK").
[I] May 22 15:57:38 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "OK" (got it).
[I] May 22 15:57:38 ndm: Mobile::TtyDevice: "UsbLte0": tty0 <-- "AT+CPMS="ME"" (expect "OK").
[I] May 22 15:57:38 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "+CPMS: 0,4,0,4,0,50".
[I] May 22 15:57:38 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "OK" (got it).
[I] May 22 15:57:38 ndm: Mobile::TtyDevice: "UsbLte0": tty0 <-- "AT+CMGD=?" (expect "CMGD").
[I] May 22 15:57:38 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "+CMGD: (),(0,1,2,3,4)" (got it).
[I] May 22 15:57:38 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --- (expect "OK").
[I] May 22 15:57:38 ndm: Mobile::TtyDevice: "UsbLte0": tty0 --> "OK" (got it).
Perhaps by this commands it is removing the context 0 entry and will allow "pro" to be used as the APN for context 1 successfully.
By default answer from modem about context is
AT+CGDCONT?;+CFUN?
+CGDCONT: 0,"IP","pro","84.15.195.41",0,0,0,0,0,0,0,0,0,0
+CGDCONT: 1,"IPV4V6","pro","0.0.0.0,0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0,0,0,0,0,0,0
+CGDCONT: 2,"IP","pro","0.0.0.0",0,0,0,0,0,0,0,0,0,0
+CGDCONT: 3,"IP","pro","0.0.0.0",0,0,0,0,0,0,0,0,0,0
+CFUN: 1,0
OK