LTE Modem -- disable "Roaming" -- Select the cellular network operator manually

I just installed the LTE modem from the campaign’s LTE expansion pack perk. Everything is working great so far, expect my “roaming” issue :-). I live in a boarder town, where the phone connection switches between the national and international cellular networks. I would like to lock the LTE card to only my local cellular network operator and not have it in automatic mode.

Here is the info from the – get-serving-system: (roaming: true)

root@turris:# uqmi -d /dev/cdc-wdm0  --get-serving-system
    {
    	"registration": "registered",
    	"plmn_mcc": 260,
    	"plmn_mnc": 2,
    	"plmn_description": "",
    	"roaming": true
    }

Does anyone know how to disable roaming in the modem? Or better yet, how to select the network operator manually? Thanks for your help!

I was able to find the answer to this after some further search.

1. Get serving system info, to check the connected network

root@turris:~# uqmi -d /dev/cdc-wdm0 --get-serving-system
{
	"registration": "registered",
	"plmn_mcc": 260,
	"plmn_mnc": 2,
	"plmn_description": "TM PL",
	"roaming": true  

2. Initiate network scan, to check the available networks and find the mcc and mnc number, needed for point 3:

root@turris:~# uqmi -d /dev/cdc-wdm0 --network-scan

{
	"network_info": [

		{
			"mcc": 260,
			"mnc": 2,
			"description": "TM PL",
			"status": [
				"current_serving",
				"roaming",
				"not_forbidden",
				"preferred"
			]
		},
	       {
			"mcc": 262,
			"mnc": 2,
			"description": "Vodafone.de",
			"status": [
				"available",
				"roaming",
				"not_forbidden",
				"preferred"
			]
		}

3. Register at specified network, get the mcc (Mobile Country Code) and mnc (Mobile Network Code) from the desired network in order to lock the modem into.

root@turris:~# uqmi -d /dev/cdc-wdm0 --set-plmn --mcc 262 --mnc 2

4. Check if the changes were successful:

root@turris:~# uqmi -d /dev/cdc-wdm0 --get-serving-system
    {
    	"registration": "registered",
    	"plmn_mcc": 262,
    	"plmn_mnc": 2,
    	"plmn_description": "Vodafone.de",
    	"roaming": true
1 Like