Community discussions

MikroTik App
 
mweidner
just joined
Topic Author
Posts: 12
Joined: Mon Oct 15, 2018 3:10 pm

Is there a way to disable the PIN of an LTE SIM card from within the wAP LTE router?

Tue Nov 20, 2018 3:25 pm

I have to prepare a few RBwAPR-2nD&R11e-LTE router boards and want to disable the PIN for the SIM cards.

Unfortunately I have only cell phones using Nano SIM while the wAP seems to use standard SIM cards.

Is it possible to disable the PIN using Router OS?
It's because I don't want to use adapters after breaking out the small form factor for the phone.

Thanks,
Mathias
 
r00t
Long time Member
Long time Member
Posts: 672
Joined: Tue Nov 28, 2017 2:14 am

Re: Is there a way to disable the PIN of an LTE SIM card from within the wAP LTE router?  [SOLVED]

Tue Nov 20, 2018 6:30 pm

Yes, you can use AT command and at-chat for that.
Commands are:

1) First check that pin is enabled:

Code: Select all

AT+CPIN?
+CPIN: SIM PIN
2) Disable pin (this is the only command really needed)

Code: Select all

AT+CLCK="SC",0,"<SIM CARD PIN>"
OK
(example: AT+CLCK="SC",0,"1234")
3) verify it's disabled now:

Code: Select all

AT+CPIN?
+CPIN: READY
To send these commands, use at-chat on lte interface, for example to query PIN lock:

Code: Select all

/interface lte at-chat lte1 input="AT+CPIN\?"

These should work unless you have some weird modem that doesn't support these commands or doesn't have AT interface...
 
mweidner
just joined
Topic Author
Posts: 12
Joined: Mon Oct 15, 2018 3:10 pm

SOLVED: Is there a way to disable the PIN of an LTE SIM card from within the wAP LTE router?

Tue Nov 20, 2018 9:34 pm

Thank you.
...
2) Disable pin (this is the only command really needed)

Code: Select all

AT+CLCK="SC",0,"<SIM CARD PIN>"
OK
(example: AT+CLCK="SC",0,"1234")
...
I had to send it like this and then it worked:

Code: Select all

/interface lte at-chat lte1 input="AT+CLCK=\"SC\",0,\"<SIM CARD PIN>\""
Many thanks.
Mathias
 
LaKing
newbie
Posts: 30
Joined: Fri Oct 05, 2018 5:56 am

Re: Is there a way to disable the PIN of an LTE SIM card from within the wAP LTE router?

Tue May 31, 2022 2:00 am

How to input the "?" character into the terminal?

SSH and WebFig's terminal both post some info's when entering a ? character -entered in mac os.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11982
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Is there a way to disable the PIN of an LTE SIM card from within the wAP LTE router?

Tue May 31, 2022 2:45 am

You can ignore the other commands.
For put ? on ROS 6.x, use \? on v7 put ? directly.

For all 6.x and 7.x
# disable PIN, if PIN is 3645:
/interface lte at-chat lte1 input="AT+CLCK=\"SC\",0,\"3645\""

# reset SIM with locked PIN from PUK 564897, setting new PIN as 4376
/interface lte at-chat lte1 input="AT+CPIN=564897,4376
 
mdj2000
just joined
Posts: 23
Joined: Mon Aug 22, 2022 5:50 pm
Location: Italy

Re: Is there a way to disable the PIN of an LTE SIM card from within the wAP LTE router?

Sun Dec 25, 2022 12:56 pm

Good morning and Merry Christmas

when i try to run this command to disable the pin to my sim i get this error:

/interface lte at-chat lte1 input="AT+CLCK=\"SC\",0,\"1234\""
output: +CME ERROR: SIM failure

I have a SXT R with ros 6.49.7. What is the solution? thank you
 
mdj2000
just joined
Posts: 23
Joined: Mon Aug 22, 2022 5:50 pm
Location: Italy

Re: Is there a way to disable the PIN of an LTE SIM card from within the wAP LTE router?

Sun Dec 25, 2022 1:04 pm

after some research on at command i tried this string successfully. I hope it can be useful for someone else.

/interface lte at-chat lte1 input="at+clck=\"SC\",0,\"1234\",1"

Where 1234 is the PIN code

Happy Christmas

Who is online

Users browsing this forum: bpwl, NetTecture and 31 guests