Controller-less WLANs

 View Only
last person joined: one year ago 

Articles relating to existing and legacy HPE Aruba Networking products and solutions including IAP, Central / HPE Aruba Networking Central, MSR, and Outdoor Mesh

Modem 340U SIM PIN Lock 

Nov 25, 2015 05:08 PM

Requirement:

Introduction:

The SIM PIN LOCK function is used to prevent fraud use by locking the modem via SIM lock, modem/SIM will be locked if this function is enabled, and IAP will unlock the modem during power-on by executing the related unlock command. Before we can not modify this PIN but in 4.2 it will be modifiable.
 



Solution:


Feature:

  • SIM PIN can be enable/disable/renew and /puk-unlock by CLI with IAP on 4.2.
  • PIN and PUK CODE are provide by ISP, please ensure them before we try to setup this function.
  • PIN lock/unlock only support from CLI to setup, and only can setup with modem is manual configuration status. 


 



Configuration:

Modem 340U SIM PIN Lock CLI configuration:

 

00:0b:86:8f:51:10# configure terminal

 

We now support CLI commit model, please type "commit apply" for configuration to take effect.

 

(config) # cellular-uplink-profile

00:0b:86:8f:51:10 (cellular-uplink-profile) # ?

pin-enable        

pin-puk           

pin-renew         

 

00:0b:86:8f:51:10 (cellular-uplink-profile) # no pin-enable ?

<pin_current_used>     pin current used

 

 

Enable/disable PIN

 

00:0b:86:8f:51:10# configure terminal

We now support CLI commit model, please type "commit apply" for configuration to take effect.

00:0b:86:8f:51:10 (config) # cellular-uplink-profile

00:0b:86:8f:51:10 (cellular-uplink-profile) # pin-enable 1234

00:0b:86:8f:51:10 (cellular-uplink-profile) #

00:0b:86:8f:51:10 (cellular-uplink-profile) # no pin-enable 1234



Verification

PIN enable/ disable check.

 

00:0b:86:8f:51:10# show cellular config

Comm USB Plugged in: Vendor_ID=12d1 Product_ID=1506

 

Cellular configuration

----------------------

Type            Value

----            -----

4g-usb-type    

usb-type        huawei-cdc

usb-dev         0x12d11506

usb-tty         ttyUSB1

usb-init       

usb-auth-type  

usb-user       

usb-passwd     

usb-dial       

usb-modeswitch 

pin-code        1234

modem-isp      

modem-country  

 

Supported Country list

----------------------

Country list

------------

China

UK

Germany

India

 

Supported ISP list

------------------

ISP list

--------

China Unicom

Vodafone

T-Mobile

Airtel

 

modem status summary:USB modem attached with detect successful

 

PIN locked for 3 times incorrect input.

PIN-enable only be enabled with a correct password, if password  input incorrect for 3 times the SIM card will locked.

 

00:0b:86:8f:51:10# conf terminal

we now support CLI commit model. please type "commit apply" for configuration to take effect.

00:0b:86:8f:51:10 (config) # cellular-uplink-profile

00:0b:86:8f:51:10 (cellular-uplink-profile) # pin-enable 1234

00:0b:86:8f:51:10 (cellular-uplink-profile) # end

00:0b:86:8f:51:10# commit apply

committing configuration...

 

Command fail, PIN is not correct, if failed more than 3 times you will need PUK to unlock the PIN

 

00:0b:86:8f:51:10# conf terminal

we now support CLI commit model. please type "commit apply" for configuration to take effect.

00:0b:86:8f:51:10 (config) # cellular-uplink-profile

00:0b:86:8f:51:10 (cellular-uplink-profile) # pin-enable 12345

00:0b:86:8f:51:10 (cellular-uplink-profile) # end

00:0b:86:8f:51:10# commit apply

committing configuration...

 

Command fail, PIN is not correct, if failed more than 3 times you will need PUK to unlock the PIN

 

00:0b:86:8f:51:10# conf terminal

we now support CLI commit model. please type "commit apply" for configuration to take effect.

 

00:0b:86:8f:51:10 (config) # cellular-uplink-profile

00:0b:86:8f:51:10 (cellular-uplink-profile) # pin-enable 123

00:0b:86:8f:51:10 (cellular-uplink-profile) # end

00:0b:86:8f:51:10# commit apply

committing configuration...

 

Command fail, PIN is not correct, if failed more than 3 times you will need PUK to unlock the PIN

 

00:0b:86:8f:51:10# wed Jun 24 08:23:50 2015 ppp_device_event: dev ppp0 is down, is_3g:0, is_pppoe_uplink:0

Jun 24 08:23:54 udhcpc[3850]: Received SIGTERM

 

PIN-PUK unlock PIN

 

00:0b:86:8f:51:10# config terminal

we now support CLI commit model. please type "commit apply" for configuration to take effect.

00:0b:86:8f:51:10 (config) # cellular-uplink-profile

00:0b:86:8f:51:10 (cellular-uplink-profile) # pin-puk 75944712 123456

00:0b:86:8f:51:10 (cellular-uplink-profile) # end

00:0b:86:8f:51:10# commit apply

committing configuration...

 

Command success, new PIN will take effect after AP reboot.

 

 

IAP UNLOCK PIN after reboot

 

 

usbcore: registered new interface driver option

option: v0.7.2:USB Driver for GSM modems

modem locked by PIN, unlock it successfully

usbcore: deregistering interface driver usb-storage

uniform CD-ROM driver unloaded

 

 

Note:

PIN-PUK, is a safety code for unlock PIN, if  PUK input incorrect for 10 times, the SIM will lock forever, can not use it anymore.

After PIN enable the SIM card need unlock for each time,  IAP will unlock it when the booting up. 

 

 

PIN-RENEW

 

 

00:0b:86:8f:51:10# config terminal

we now support CLI commit model. please type "commit apply" for configuration to take effect.

00:0b:86:8f:51:10 (config) # cellular-uplink-profile

00:0b:86:8f:51:10 (cellular-uplink-profile) # pin-renew 123456 1234

00:0b:86:8f:51:10 (cellular-uplink-profile) # end

00:0b:86:8f:51:10# commit apply

committing configuration...

Command success, new PIN will take effect after AP reboot.

00:0b:86:8f:51:10#

 

00:0b:86:8f:51:10# show cellular config

Comm USB Plugged in: Vendor_ID=12d1 Product_ID=1506

Cellular configuration

------------------------

Type               Value

4g-usb-type

usb-type        huawei-cdc

usb-dev         0x12d11506

usb-tty         ttyUSB1

usb-init       

usb-auth-type  

usb-user       

usb-passwd     

usb-dial       

usb-modeswitch 

pin-code        1234

 

 

 

 

 

Statistics
0 Favorited
3 Views
0 Files
0 Shares
0 Downloads

Related Entries and Links

No Related Resource entered.