http://forum.mikrotik.com/t/rb411u-mc8795v-and-mc8790-sim-pin-error/40855/5
I didn’t get PIN authentication to work yet using different modems from Sierra Wireless (“MC8780”, “MC8790”, “MC8785”,etc).
Here’s the full sequence of PIN authentication as it is shown on Mikrotik’s terminal log.
01:01:43 system,info device changed by system
01:01:43 async,ppp,info umts: initializing...
01:01:43 async,ppp,info umts: reseting link...
01:01:45 async,debug usb3:4: sent ATH
01:01:45 async,debug usb3:4: rcvd OK
01:01:45 async,ppp,info umts: initializing modem...
01:01:45 async,debug usb3:4: sent AT+CGDCONT=1,"IP","movistar.es","0.0.0.0",0,0
01:01:45 async,debug usb3:4: rcvd OK
01:01:45 async,debug usb3:4: sent AT+CGDCONT=1,"IP","movistar.es"
01:01:45 async,debug usb3:4: rcvd OK
01:01:45 async,ppp,info umts: dialing out...
01:01:45 async,debug usb3:4: sent AT+CPIN?
01:01:45 async,debug usb3:4: rcvd OK
01:01:45 async,debug usb3:4: sent ATDT*99***1#
01:01:45 async,debug usb3:4: rcvd ERROR
01:01:45 async,debug usb3:4: resetting modem
It seems to work but, after “sent AT+CPIN?” line, “OK” is received although PIN apparently has not been validated since PIN is not sent to device yet.
As it is shown in lines below, the same sequence is different when using other 3G card (Novatel Wireless EU870D), and it works since PIN is sent for validation (“sent AT+CPIN=4507”).
01:03:20 async,ppp,info umts: initializing modem...
01:03:20 async,debug usb4:3: sent AT+CGDCONT=1,"IP","movistar.es","0.0.0.0",0,0
01:03:20 async,debug usb4:3: rcvd OK
01:03:20 async,debug usb4:3: sent AT+CGDCONT=1,"IP","movistar.es"
01:03:20 async,debug usb4:3: rcvd OK
01:03:20 async,ppp,info umts: dialing out...
01:03:20 async,debug usb4:3: sent AT+CPIN?
01:03:20 async,debug usb4:3: rcvd
01:03:20 async,debug usb4:3: rcvd +CPIN: SIM PIN
01:03:20 async,debug usb4:3: sent AT+CPIN=4507
01:03:21 async,debug usb4:3: rcvd OK
01:03:21 async,debug usb4:3: sent ATDT*99***1#
01:03:21 async,debug usb4:3: rcvd CONNECT HSDPA 3.6
I’m using ROS 5.5 version.
I hope this help anybody help me work it out.