Community discussions

MikroTik App
 
mkrabbendam
just joined
Topic Author
Posts: 4
Joined: Fri Jan 13, 2023 5:02 pm

Narrow Band not connecting on Mikrotik KNOT

Fri Jan 27, 2023 4:49 pm

Hi,

I have been trying to get the ppp-out1 interface (KNOT RouterOS 7.7), configured and running with an NB-IoT sim from Vodacom in South Africa.

The error I get is +CME ERROR: 3, meaning: Operation not allowed. The error is when running the command AT+COPS=? (This does take several minutes to come back with the error)
I have done a few tests together with the sim provider - The KNOT seems to be having an issue registering to Vodacom. The APN setting is correct.

Can you kindly please advise what else can be done as urgently need to get the NB-IoT connection working.

Here are other AT command outputs.
[admin@MikroTik] > /system serial-terminal port=modem channel=2

[Ctrl-A is the prefix key]

at+cpin?
+CPIN: READY

OK
at+cfun?
+CFUN: 1

OK
at+cops?
+COPS: 0

OK
at+creg?
+CREG: 0,0

OK
AT+QCFG="iotopmode"?
+QCFG: "iotopmode",1

OK
AT+CSQ?
+CME ERROR: 3

at+qcfg="band"?
+QCFG: "band",0x0,0x100002000000000f0e189f,0x10004200000000090e189f

OK

AT+CGDCONT?
+CGDCONT: 1,"IP","flickswitch","0.0.0.0",0,0,0
+CGDCONT: 2,"IPV4V6","ims","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0
 
mkrabbendam
just joined
Topic Author
Posts: 4
Joined: Fri Jan 13, 2023 5:02 pm

Re: Narrow Band not connecting on Mikrotik KNOT

Sat Jan 28, 2023 3:07 pm

Hi,

After further investigation - I decided to do a Reset Configuration. The NB-IoT connects to the Provider. One step forward.

However, the ppp-out1 reacts strangely: It seems the ppp-out1 is not fully connecting. In the log the ppp-out1 goes from : waiting for packets -> initializing -> terminating... - could not acquire serial port -> disconnected -> connecting...

Still investigating this issue.
 
denissMT
MikroTik Support
MikroTik Support
Posts: 49
Joined: Wed May 26, 2021 12:00 pm

Re: Narrow Band not connecting on Mikrotik KNOT

Wed Mar 01, 2023 11:46 am

Please make a support ticket:
https://mikrotik.com/support
 
User avatar
rilliam
newbie
Posts: 48
Joined: Thu Mar 12, 2009 7:34 pm

Re: Narrow Band not connecting on Mikrotik KNOT

Fri Jun 16, 2023 8:23 pm

Did you ever get this working? I am also trying to get AT&T NB-IOT sim working with a BG77 modem in a KNOT...

I'm running into a similar issue encountering "+CME ERROR: 30" when attempting to set the PDP context (AT+CGACT) or when trying to when setting the operator manually (AT+COPS).

Also I am unsure why I keep getting "setting APN Failed" in the log...
21:11:48 echo: async,ppp,info ppp-out1: initializing modem...
[admin@MikroTik] >
21:11:49 echo: async,ppp,info ppp-out1: dialing out...
21:11:49 echo: async,error,critical 2: setting APN failed

AT+CFUN=0
OK
AT+QCFG="nwscanseq",0302
OK
AT+QCFG="iotopmode",1
OK
AT+CFUN=1
OK

+CPIN: READY

+QUSIM: 1

+QIND: SMS DONE
AT
OK
AT+CGACT=?
+CGACT: (0,1)

OK
at+CGACT?
+CGACT: 1,0
+CGACT: 2,0
+CGACT: 3,0
+CGACT: 4,0

OK
AT+CGDCONT?
+CGDCONT: 1,"IP","internet","0.0.0.0",0,0,0
+CGDCONT: 2,"IPV4V6","ims","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0
+CGDCONT: 3,"IP","attm2mglobal","0.0.0.0",0,0,0
+CGDCONT: 4,"IP","m2m.com.attz","0.0.0.0",0,0,0

OK
AT+COPS=?
+COPS: (1,"AT&T","AT&T","310410",9),(1,"T-Mobile","T-Mobile","310260",9),,(0,1,2,3,4),(0,1,2)

OK
AT+COPS=1,2,"310410",9
+CME ERROR: 30
AT+CGACT=0,1
OK
AT+CGACT=0,4
OK
AT+CGACT=1,4
ERROR
AT+CGACT?
+CGACT: 1,0
+CGACT: 2,0
+CGACT: 3,0
+CGACT: 4,0

OK
AT+CGACT=?
+CGACT: (0,1)

OK
AT+QCFG=?
+QCFG: "servicedomain",(1,2),(0,1)
+QCFG: "nwscanseq",(0203),(0,1)
+QCFG: "band",(0),(0-7FFFFFFFFFFFFFFF),(0-7FFFFFFFFFFFFFFF),(0,1)
+QCFG: "iotopmode",(0-2)
+QCFG: "celevel",(0-2)
+QCFG: "urc/ri/ring",("off","pulse","always","auto","wave"),(1-2000),(1-10000),(1-10000),("off","on"),
(1-5)
+QCFG: "urc/ri/smsincoming",("off","pulse","always"),(1-2000),(1-5)
+QCFG: "urc/ri/other",("off","pulse"),(1-2000),(1-5)
+QCFG: "risignaltype",("respective","physical")
+QCFG: "urc/delay",(0,1)
+QCFG: "ledmode",(0,1,3)
+QCFG: "gpio",<mode>,<pin>[,[<dir>,<pull>,<drv>]/[<val>][,<save>]]
+QCFG: "airplanecontrol",(0,1)
+QCFG: "cmux/urcport",(0-4)
+QCFG: "apready",(0,1),(0,1),(100-3000)
+QCFG: "nccconf",(0-1FF)
+QCFG: "psm/enter",(0,1)
+QCFG: "psm/urc",(0,1)
+QCFG: "simeffect",(0,1)
+QCFG: "lapiconf",(0-2),(0,1)
+QCFG: "snrscan",(0-2)
+QCFG: "nasconfig",(0-7FFF)
+QCFG: "apn/display",(0,1)
+QCFG: "irat/timer",(5,300),(5,20)
+QCFG: "nb1/bandprior",<band_priority_seq>

Who is online

Users browsing this forum: No registered users and 35 guests