FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

12062 questions

14354 answers

22620 comments

36137 members

0 votes
507 views 1 comments
by

I am trying, unsuccessfully, to lock to a specific CellID, see below.

What am I doing wrong ?    Thanks for any help.

root@Teltonika-RUTX09:~# gsmctl -K

+QENG: "servingcell","NOCONN","LTE","FDD",234,15,37390C,30,3625,8,3,3,6022,-88,-12,-57,12,0,-32768,-

root@Teltonika-RUTX09:~# gsmctl -A 'AT+QCFG="NWSCANMODE",3,1'

OK

root@Teltonika-RUTX09:~# gsmctl -A 'AT+QNWLOCK="common/lte",2,30,3625'

OK

root@Teltonika-RUTX09:~# gsmctl -K

+QENG: "servingcell","NOCONN","LTE","FDD",234,15,373926,347,2850,7,5,5,6022,-112,-15,-76,9,0,-32768,11

1 Answer

+1 vote
by

Hello,

try to disable modem first. Here is the example:

root@Teltonika-RUTX09:~# ifdown mob1s1a1

root@Teltonika-RUTX09:~# /etc/init.d/gsmd stop

root@Teltonika-RUTX09:~# microcom /dev/ttyUSB2

ate1

OK

at+qcsq=0

OK

at+cgreg=2

OK

at+cgreg?

+CGREG: 2,1,"90","105A29",7

OK

at+qeng="servingcell"

+QENG: "servingcell","NOCONN","LTE","FDD",246,02,105A29,264,78,1,4,4,90,-89,-8,-63,14,255,-32768,-

OK

at+qeng="neighbourcell"

+QENG: "neighbourcell intra","LTE",78,264,-8,-89,-62,0,38,5,12,10,255

+QENG: "neighbourcell intra","LTE",78,280,-17,-97,-72,0,30,5,12,10,255

+QENG: "neighbourcell intra","LTE",78,224,-19,-100,-73,0,27,5,12,10,255

+QENG: "neighbourcell inter","LTE",6200,264,-13,-70,-49,0,38,4,14,14

+QENG: "neighbourcell","WCDMA",2938,1,6,6,-,-,-,-

+QENG: "neighbourcell","WCDMA",10638,2,6,6,-,-,-,-

OK

at+qnwlock="common/4g",1,78,264

OK

+CREG: 0

+CGREG: 0

+QNWLOCK: "common/4g",0

+QIND: SMS DONE

+CREG: 2

+CGREG: 0

+CGREG: 2

+CREG: 1,"90","104A2A",7

+CGREG: 1,"90","104A2A",7

+CREG: 1,"90","105A29",7

 

at+qeng="servingcell"

+QENG: "servingcell","NOCONN","LTE","FDD",246,02,105A29,264,78,1,4,4,90,-89,-10,-60,12,255,-32768,-

OK

root@Teltonika-RUTX09:~# /etc/init.d/gsmd start

root@Teltonika-RUTX09:~# ifup mob1s1a1

 

Check Cell ID on the Web UI Status > Network > Mobile page.

Best answer
by
Thank you SarunasKa.  This does work and has greatly improved the reliability of the connection.

(Now it's only interrupted by my provider every 6 hours (to the second), I guess perhaps DHCP lease related, or similar).

What is the best method to make this QNWLOCK persistent through a power-cycle ?

Thank you again.