SIM
To get your modem going with a new SIM card and make things as easy as possible, follow these steps:
1. Activate the SIM Card¶
This might not be necessary in your country, but at least in the EU you will have to activate your SIM card with your provider. You can usually do this on the website of your chosen provider or in person when you buy the SIM card. You will need some kind of ID.
2. Test in Phone & disable PIN¶
Insert your SIM card in a phone, make sure it registers with the network and that you can connect to the internet. Preferably - if your phone allows it - lock it to 4G/LTE.
In the security settings, disable the PIN. Reboot your phone, make sure it does not ask for the PIN anymore and that you still register with the network and connect to the internet.
See also: Troubleshooting - Modem for further SIM debugging tips.
3. Test in Modem¶
Insert your SIM card in the modem and start the streamer.
Warning
You will need to start the streamer with the SIM card inserted or you will have to manually reboot the modem after inserting the SIM card: AT+CFUN=1,1
Web Interface¶
You can check the SIM and modem status from the streamer's web interface under the "Modem" tab. Make sure the control service is stopped before checking. See Quickstart - Modem Setup for details.
CLI¶
For CLI-based debugging with AT commands (checking modem availability, SIM status, carrier registration, and IP context), see the Modem debugging guide.
Setting APN¶
We want to prefer IPv4 and in cases where no APN is assigned, we can do so ourselves. A valid APN might not be necessary and the provider might ignore it, but it is a good idea to use the official one.
Automatically This will set context 1 to an IPv4 context without an APN assigned, it should then be automatically assigned by the carrier after modem reboots:
Check:
Manually Explicitly set the APN of your carrier:
Check:
Switching SIMs¶
Switching between SIM cards is easily possible if you ran through the setup steps above. Just insert the new SIM card and power-cycle the streamer (or reset the modem via AT commands).
Quirks¶
We have found that some SIM cards will not automatically register when roaming is enabled. This means that you should always disable roaming when setting or locking bands:
Roaming is the third to last parameter, you can verify it in the following way:
If your SIM no longer automatically connects, pass the parameter to disable roaming and see the SIM automagically register:
Alternatively you can try forcing registration with a certain carrier:
Miscellaneous and maybe helpful¶
Full reset and auto connect setup
Checking things:
AT*BAND command explained¶
AT*BAND=<mode>,<GSMband>,<UMTSband>,<LTEbandH>,<LTEbandL>,<roamingConfig>,<srvDom>,<bandPriorityFlag>
mode5 only - LTE networkGSMband0 only - not relevantUMTSband0 only - not relevantLTEbandHdepends on regionLTEbandLdepends on regionroamingConfig0,1,2 (yes, no, no-change)srvDomcan only be 1bandPriorityFlag0,1,2 (default, TDD, FDD)