RB411U + MC8795V and MC8790 SIM PIN Error

Hi!
I have a problem with RB411U + Sierra Wireless MC8795V or MC8790.
The routerOS v5.0beta6 is not able to set SIM PIN.
PIN Status: waiting for primary PIN

I must type it manually in :
/system serial-terminal usb3 channel=3
at+cpin=XXXX
Ctrl-A + Q

Then modem connected OK. Or I must use sim card without PIN lock.

Modem Revision: K2_0_7_19AP C:/WS/FW/K2_0_7_19AP/MSM6290/SRC 2009/10/26 17:26:12
Previous version of routerboard OS the same problem.

The modem MC8781 works fine.
I try modem init: at+cpin=1111 and at+cfun=1, but not successfull.
How will be look script to put AT commands in /system serial-terminal usb3 channel=3 ?

What can I do for automaticlly start up GSM connection on card with PIN lock?

Thanks for replay.
Best Regards
Bartekj

There is my config info:

[admin@KPP] > /interface ppp-client info 0
status: “ready”
pin-status: “waiting for primary PIN”
functionality: “full”
gprs-class: “ERROR”
manufacturer: “Sierra Wireless, Incorporated”
model: “MC8795V”
revision: “K2_0_7_19AP C:/WS/FW/K2_0_7_19AP/MSM6290/SRC 2009/10/26 17:26:12”
serial-number: “355310030069037”
current-operator: “Limited Service”
access-technology: “GSM compact”
signal-strengh: 0
frame-error-rate: “”

[admin@KPP] > /interface ppp-client print
Flags: X - disabled, R - running
0 ;;; Public APN
name=“ppp-out2” max-mtu=1500 max-mru=1500 mrru=disabled port=usb3 data-channel=6 info-channel=3 apn=“internet”
pin=“1111” user=“” password=“” profile=default phone=“” dial-command=“ATDT” modem-init=“” null-modem=no
dial-on-demand=no add-default-route=yes use-peer-dns=yes keepalive-timeout=30 allow=pap,chap,mschap1,mschap2

Hi

I have a RB433AUH ROS V4.11 with a Huawei E160G usb modem and I have exactly the same problem.
I really don’t want to remove the PIN in case the modem is stolen.

I also tried Huawei E180 with same result. Looks like a bug to me.

I have also tried to add at+cpin=XXXX to the init string without success.

Did you find a way to make this work?

Hi Tony,

I didn’t find the resolution yet.
Problem still exist. I have just buy another modem MC8780.
Thanks for replay.
Best Regards

Hi,

I have similar experiences with many USB modems.
While it is possible to enter the PIN code in the ppp-client, most of the time unlocking the SIM does not work.

Another problem is that ROS tries to enter PIN every time the ppp-client connects.
If the SIM is already unlocked, the Modem returns ERROR, and ROS cancels the connect attempt.

Because of that I usually remove the SIM PIN from the devices we use.

Not solved yet, so sad … :frowning:

Hi,

I had similar problem in RouterOS 5.6.
Solved by typing PIN with quotation marks: “XXXX”

Regards,
Marcin

[m@s] /tool sms> /system serial-terminal serial0 channel=0

[Ctrl-A is the prefix key]

at+cpin?
+CPIN: READY

at+cfun=0
OK
at+cfun=1
OK
at+cpin=1234
OK
at+cpin?
+CPIN: READY

at+gmi
WAVECOM MODEM

OK
at+gmm
MULTIBAND 900E 1800

OK
ati
WAVECOM MODEM

MULTIBAND 900E 1800

OK
at+gmr
532a09gg.2C2 1828120 040802 18:22

at+cmgs=“2222222***”

test

+CMGS: 1

OK




[m@s] /tool sms> send serial0 channel=0 phone-number=2222**** message=go
failure: timeout
I’m just like you, I don’t know what you are.