How to Prevent Unintended Cellular Roaming Using PLMN Lock on RobustOS Series Devices

How to Prevent Unintended Cellular Roaming Using PLMN Lock on RobustOS Series Devices

Overview

When RobustOS series devices are deployed remotely near national borders, they may inadvertently register to a neighboring country's cellular tower if the foreign signal is stronger. This can result in unintended and costly international roaming charges. You can prevent this issue and ensure the device stays on the home network by utilizing the PLMN Lock feature to restrict the connection exclusively to your designated local operator.

What You'll Need

  • Hardware List:
    • 1 x RobustOS Series Gateway/Router.
    • 1 x Active SIM card for your designated local operator.
    • Appropriate power supply and cellular antennas.
  • Software/Firmware: Standard RobustOS (ROS) firmware.
  • Information Requirements: The exact MCC+MNC (PLMN) code for your target local operator.
  • Important Note: If you encounter connection issues during configuration or testing, do not reboot the device before capturing and downloading the diagnostic logs. Rebooting will clear the temporary system logs needed for troubleshooting.

Step-by-Step Configuration Guide

Phase 1: Identify the Correct PLMN Code

  1. Understand that the Public Land Mobile Network (PLMN) code consists of the Mobile Country Code (MCC) plus the Mobile Network Code (MNC).
  2. Determine the specific 5-digit or 6-digit PLMN code for your local provider. Here are a few examples:
    • Brazil (Vivo):72406 (MCC 724 + MNC 06)
    • Denmark (TDC):23801 (MCC 238 + MNC 01)
    • Denmark (Telenor):23802 (MCC 238 + MNC 02)

Phase 2: Configure PLMN Lock in RobustOS

  1. Log in to your RobustOS series device's web user interface.
  2. Navigate to Interface > Cellular in the left-hand menu.
  3. Under the Advanced Cellular Settings section, click the edit icon for your active SIM card (e.g., SIM 1).
  4. In the pop-up window, locate the MCC+MNC Code field.
  5. Enter your specified PLMN code (for instance, enter 23802 if locking to Telenor in Denmark).
  6. Click Submit at the bottom of the window.
  7. Click Save & Apply at the top right of the screen to commit the configuration.

Configuration Screenshot Reference:

Notice the complete page view below. The critical MCC+MNC Code field is highlighted with a red box for your convenience.

Verification & Testing

To confirm your configuration is successful, follow these steps:

  1. Wait a few moments for the cellular modem to re-initialize and search for the network.
  2. Navigate to Status > Cellular in the web interface.
  3. Review the Registration Status and Network Provider fields.
  4. Success State: The status will show as "Registered" and the provider name will match your designated local operator exactly. The device will now completely ignore stronger signals from foreign towers across the border.

Troubleshooting / FAQ

Q: What happens if the local operator's tower goes offline or loses signal?

A: Because the device is strictly locked to the configured PLMN, it will simply remain offline and continue searching for that specific network. It will not fall back to a foreign network, ensuring you never incur unintended roaming charges.

Q: I entered the PLMN code, but the router won't connect at all. What should I check?

A: Double-check that your SIM card is fully activated for the specific network you are trying to lock onto, and ensure you have not swapped the MCC and MNC digits. If you are unsure of the correct PLMN code, you can temporarily clear the PLMN field, let the device auto-connect, and review the Status > Cellular page to verify the exact PLMN your SIM card expects to use. 

    • Related Articles

    • How to Manually Select a Mobile Carrier Using Smart Roaming via CLI?

      Overview When deploying an IoT gateway with a roaming SIM card, the device typically selects a network operator automatically. However, in certain situations, this automatic selection may result in a connection to a network with poor signal strength ...
    • How to configure APN for the cellular network on RobustOS Devices?

      Overview When using a Robustel gateway with a SIM card, the device usually connects to the cellular network automatically. However, in some scenarios, such as using a private network or a specific carrier plan, the gateway may fail to obtain an IP ...
    • How to Disable Roaming

      This guide explains how to disable roaming functionality on your cellular gateways using AT commands through the web interface. This method is applicable to the device with RobustOS and RobustOS Pro. Background While there is no dedicated toggle ...
    • How to install the MQTT broker service on EG series devices?

      Overview This article provides a step-by-step guide for installing and configuring the Mosquitto MQTT broker on a Robustel EG series gateway (e.g., EG5120, EG5200) running RobustOS Pro. This setup is ideal for scenarios where you need a reliable, ...
    • How to connet to Wi-Fi on RobustOS Devices?

      Overview This guide provides instructions on how to configure a Robustel gateway to connect to an existing Wi-Fi network as a client. This setup is useful when you want the gateway to use a local Wi-Fi network for its internet connection, instead of ...