Unlocking the GSM 3G Wireless Modem
The subscriber identity module (SIM) in the GSM 3G wireless modem card is a detachable smart card. Swapping out the SIM allows you to change the service provider network, however some service providers lock the SIM to prevent unauthorized access to the service provider's network. If this is the case, you will need to unlock the SIM by using an personal identification number (PIN), a four-digit number provided by the service provider.
Unlocking the SIM in a 3G wireless modem card is no longer supported on SRX300, SRX320, SRX340, SRX345, and SRX550HM devices.
Before you begin, obtain the PIN from the service provider.
Use the CLI operational mode command to unlock the SIM on the GSM 3G wireless modem card.
This example uses the PIN 3210 from the service provider.
To unlock the SIM on the GSM 3G wireless modem card:
user@host> request modem wireless gsm sim-unlock cl-0/0/8 pin 3210
A SIM is blocked after three consecutive failed unlock attempts; this is a security feature to prevent brute force attempts to unlock the SIM. When the SIM is blocked, you need to unblock the SIM with an eight-digit PIN unlocking key (PUK) obtained from the service provider.
To unlock the SIM automatically on reboot:
user@host# set interfaces cl-0/0/8 cellular-options gsm-options sim-unlock-code
On SRX300, SRX320 devices, when you power on or reboot the device, the Subscriber Identity Module (SIM) will be locked. If the SIM Personal Identification Number (PIN) or the unlock code is configured in the set interfaces cl-0/0/8 cellular-options gsm-options sim-unlock-code configuration command, then Junos OS attempts to unlock the SIM only once. This is to keep the SIM from being blocked. If the SIM is blocked, you must provide a PIN Unblocking Key (PUK) obtained from the service provider. If the wrong SIM PIN is configured, the SIM will remain locked, and the administrator can unlock it by using the remaining two attempts.
Use the CLI operational mode command to unblock the SIM.
This example uses the PUK 76543210 from the service provider.
To unblock the SIM:
user@host> request modem wireless gsm sim-unblock cl-0/0/8 puk 76543210
If you enter the PUK incorrectly ten times, you will need to return the SIM to the service provider for reactivation.