Page 1 of 1

rooter blanking out the APN... why?

Posted: Mon Nov 16, 2020 7:50 pm
by LteHaks9
I am running: openwrt-18.06 branch (git-20.029.49294-41e2258) / GoldenOrb_2020-03-01 ( OpenWrt 18.06.7 )

I'm setting the APN using: AT+CGDCONT=1,"IPV6","VSBLINTERNET"

But then a couple seconds later... why does ROOTER continue to blank out the APN with AT+CGDCONT=1,"IPV4V6","" ?

Code: Select all

Wed Jan 29 17:58:33 2020 : /dev/ttyUSB2 AT+CGDCONT?;+CFUN?
+CGDCONT: 1,"IPV6","VSBLINTERNET","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
+CFUN: 1
OK
  
Wed Jan 29 17:58:36 2020 : /dev/ttyUSB2 AT+CGDCONT=1,"IPV4V6","";+CFUN=0;+CFUN=1
OK

Re: rooter blanking out the APN... why?

Posted: Sun Jan 24, 2021 8:24 am
by BillA
That's a known issue in OpenWRT, where the startup script overwrites it at each restart.
The only way around it is by manually editing the /usr/lib/rooter/connect/create_connect.sh file as described here:
https://wirelessjoint.com/viewtopic.php?p=2600#p2600