Caution! Article for developersInformation on this page is intended particularly for users with advanced technical knowledge.
Connectivity - Gateway SIM connection settings
Dec 1, 2022 · 2 minutes to read
This article explains how you can configure your Treon Gateway cellular communication settings.
You can view and adapt the standard cellular connectivity settings of your Treon Gateway by editing the file
/opt/nbiot_connection/modem.cfg using the command line
sudo nano /opt/nbiot_connection/modem.cfg
sudo vi /opt/nbiot_connection/modem.cfg
When you have opened the
modem.cfg file you can view the parameters set and change them.
MODEM_URAT: priority list of cellular technologies used for connectivity
PIN: SIM PIN code
APN: access point name override
ROAMING: defines if cellular roaming is allowed
UMNOPROF: Defines modem network profile, should not be modified unless there are connectivity issues.
The PIN code can be set and enabled by using a helper script in the same folder. Note that usage of the pin code has to be enabled before it is possible to change it. You can do this with the following command:
sudo python ofono_control.py –enable-pin sudo python ofono_control.py –change-pin old_pin new_pi
Configure SIM settings (CLI)
- Connect to gateway using ssh
- Open modem configuration file:
$ sudo nano /opt/nbiot_connetion/modem.cfg
- Modify parameters in the file and save it.
- Log out
- Restart the gateway
|MODEM_URAT||Priority order of cellular technologies used for connection|
|APN||Cellular operator’s access point name if not automatically detected|
|PIN||PIN code (is set)|
|ROAMING||Defines is data roaming is allowed|
NOTE: If PIN code is set wrong SIM card may be blocked and need to be reactivated with PUK code.
Configure SIM settings with configuration UI
- Activate configuration UI and connect to it using a browser
- Select modem parameters and modify
- Exit configuration UI. Gateway will reboot and use new settings
NOTE Not all SIM parameters are available when using configuration UI.
For further information on this topic please contact firstname.lastname@example.org