# How do I set pin code on Transport WR21?

**URL:** <https://forums.digi.com/t/how-do-i-set-pin-code-on-transport-wr21/15790>\
**Category:** Digi TransPort WR (Series)\
**Tags:** at, transport, pin-code\
**Created:** [November 16, 2015, 9:36am UTC](https://forums.digi.com/t/how-do-i-set-pin-code-on-transport-wr21/15790 "2015-11-16T09:36:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![eangel](https://avatars.discourse-cdn.com/v4/letter/e/e9c0ed/32.png) [@eangel](https://forums.digi.com/u/eangel)\
**Post date:** [November 16, 2015, 9:36am UTC](https://forums.digi.com/t/how-do-i-set-pin-code-on-transport-wr21/15790/1 "2015-11-16T09:36:55Z")

</div>

Is there a way to manually set the SIM PIN code on a TransPort WR21? It seems that when we try from the web interface it just gets discarded or rejected. I would like to try to set the PIN using AT command if that is possible. Maybe that will give me some idea about what is failing.

br  
mario;

---

<div class="post-metadata">

**Author:** ![NicholasWilson](https://avatars.discourse-cdn.com/v4/letter/n/c77e96/32.png) [@NicholasWilson](https://forums.digi.com/u/NicholasWilson)\
**Post date:** [November 16, 2015, 9:49am UTC](https://forums.digi.com/t/how-do-i-set-pin-code-on-transport-wr21/15790/2 "2015-11-16T09:49:13Z")

</div>

You can use the command line from telnet, ssh or serial.

“modemcc 0 pin 1234”

---

<div class="post-metadata">

**Author:** ![eangel](https://avatars.discourse-cdn.com/v4/letter/e/e9c0ed/32.png) [@eangel](https://forums.digi.com/u/eangel)\
**Post date:** [November 17, 2015, 8:12am UTC](https://forums.digi.com/t/how-do-i-set-pin-code-on-transport-wr21/15790/3 "2015-11-17T08:12:47Z")

</div>

Thanks for answering, unfortunately it says ‘ok’ to this command but the SIM card does not get unlocked. The modem is still locked. The modem type is ‘Huawei LTE ME 909 U-521’ if that makes any difference.

I can unlock the SIM in a phone and then re-insert it into the modem and it will work just fine. The only problem is that I will have to do this with hundreds of SIM cards and I would rather not.

---

<div class="post-metadata">

**Author:** ![NicholasWilson](https://avatars.discourse-cdn.com/v4/letter/n/c77e96/32.png) [@NicholasWilson](https://forums.digi.com/u/NicholasWilson)\
**Post date:** [November 17, 2015, 8:24am UTC](https://forums.digi.com/t/how-do-i-set-pin-code-on-transport-wr21/15790/4 "2015-11-17T08:24:56Z")

</div>

If the command is not working then something else is wrong. I would seek support through whoever you bought the device from. Also make sure you are on the latest firmware 5.2.12.5

---

<div class="post-metadata">

**Author:** ![James.Wilson](https://avatars.discourse-cdn.com/v4/letter/j/53a042/32.png) [@James.Wilson](https://forums.digi.com/u/James.Wilson)\
**Post date:** [November 17, 2015, 10:36am UTC](https://forums.digi.com/t/how-do-i-set-pin-code-on-transport-wr21/15790/5 "2015-11-17T10:36:51Z")

</div>

if you set the pin as said

then you have to save the config

then reboot the router

modemcc 0 pin 1234  
config 0 save  
reboot
