Lte ***SIM ERROR***

The same problem here after two months with a brand new sim card and the original Lte pack.
The card is registered with the provider(“mnc”: 10) , the provider seems to provide lte network signal (“mcc”: 202,“mnc”: 10,“radio”: “lte”) but I only receive wcdma signal.
@Pepe Is there any method to debug this problem or should i through my onmia at the garbage?

root@Mik2:~# uqmi -d /dev/cdc-wdm0 --get-data-status
"disconnected"

root@Mik2:~# uqmi -d /dev/cdc-wdm0 --get-serving-system
{
	"registration": "registered",
	"plmn_mcc": 202,
	"plmn_mnc": 10,
	"plmn_description": "",
	"roaming": false
}
root@Mik2:~# uqmi -d /dev/cdc-wdm0 --get-signal-info
{
	"type": "hdr",
	"rssi": -125,
	"ecio": 5,
	"io": -106,
	"type": "wcdma",
	"rssi": -83,
	"ecio": 15
}
root@Mik2:~# uqmi -d /dev/cdc-wdm0 --network-scan
{
	"network_info": [
		{
			"mcc": 202,
			"mnc": 10,
			"description": "WIND GR",
			"status": [
				"current_serving",
				"home",
				"not_forbidden",
				"preferred"
			]
		},
		{
			"mcc": 202,
			"mnc": 10,
			"description": "WIND",
			"status": [
				"available",
				"home",
				"not_forbidden",
				"preferred"
			]
		},
		{
			"mcc": 202,
			"mnc": 10,
			"description": "WIND",
			"status": [
				"available",
				"home",
				"not_forbidden",
				"preferred"
			]
		},
		{
			"mcc": 202,
			"mnc": 5,
			"description": "voda GR",
			"status": [
				"available",
				"roaming",
				"forbidden",
				"not_preferred"
			]
		},
		{
			"mcc": 202,
			"mnc": 1,
			"description": "C-OTE",
			"status": [
				"available",
				"roaming",
				"forbidden",
				"not_preferred"
			]
		},
		{
			"mcc": 202,
			"mnc": 5,
			"description": "voda GR",
			"status": [
				"available",
				"roaming",
				"forbidden",
				"not_preferred"
			]
		},
		{
			"mcc": 202,
			"mnc": 1,
			"description": "C-OTE",
			"status": [
				"available",
				"roaming",
				"forbidden",
				"not_preferred"
			]
		},
		{
			"mcc": 202,
			"mnc": 5,
			"description": "voda GR",
			"status": [
				"available",
				"roaming",
				"forbidden",
				"not_preferred"
			]
		},
		{
			"mcc": 202,
			"mnc": 1,
			"description": "C-OTE",
			"status": [
				"available",
				"roaming",
				"forbidden",
				"not_preferred"
			]
		}
	],
	"radio_access_technology": [
		{
			"mcc": 202,
			"mnc": 10,
			"radio": "umts"
		},
		{
			"mcc": 202,
			"mnc": 10,
			"radio": "lte"
		},
		{
			"mcc": 202,
			"mnc": 10,
			"radio": "gsm"
		},
		{
			"mcc": 202,
			"mnc": 5,
			"radio": "umts"
		},
		{
			"mcc": 202,
			"mnc": 1,
			"radio": "lte"
		},
		{
			"mcc": 202,
			"mnc": 5,
			"radio": "lte"
		},
		{
			"mcc": 202,
			"mnc": 1,
			"radio": "umts"
		},
		{
			"mcc": 202,
			"mnc": 5,
			"radio": "gsm"
		},
		{
			"mcc": 202,
			"mnc": 1,
			"radio": "gsm"
		}
	]
}
root@Mik2:~# uqmi -d /dev/cdc-wdm0 --get-current-settings
"Out of call"
root@Mik2:~# gcom -d /dev/ttyUSB2
 ***SIM ERROR***
Check device port configuration.
Check SIM is inserted
Test SIM in a mobile phone?
root@Mik2:~# gcom -d /dev/ttyUSB3
SIM ready
Waiting for Registration..(120 sec max)
Registered on Home network: "WIND GR WIND GR",2
Signal Quality: 15,99

ok, after lots of digging around, googling, reading and testing, I believe I solved this problem.
This was a realy deep dive for me as I am just a user.

The SIM ERROR* output provided by gcom (that is comgt in reality) is misleading. This is the output when pppd is trying to connect. If we stop pppd from trying to connect (that is using ifdown Lte command) then gcom (comgt) reports that SIM is present at device ttyUSB2.
We do not need to use gcom (comgt) as uqmi provides all the necessary to debug (and solve) the problem nevertheless uqmi is not well documented.

In my case, the Lte modem/interface was unable to connect.
We can see if the SIM is registered with the provider using the command:
uqmi -d /dev/cdc-wdm0 --get-serving-system
If it is registered then we can see the signal quality using the command:
uqmi -d /dev/cdc-wdm0 --get-signal-info
If the signal reported is not LTE, then we need to check if the provider, provides LTE signal using the command: uqmi -d /dev/cdc-wdm0 --network-scan
If the provider does provide LTE signal, then there is probably something going wrong with our modem.
The commands needed in order to solve this (in my case) were the following (in the order provided):
Stop the interface from trying to connect:
ifdown Lte
Put the modem in offline mode:
uqmi -d /dev/cdc-wdm0 --set-device-operating-mode offline
Reset the modem:
uqmi -d /dev/cdc-wdm0 --set-device-operating-mode reset
Bring up the interface:
ifup Lte
I do not know how this works exactly but it worked for me.

After this, my Lte interface immediately came up and connected to the provider.
So far, after 3 reboots, nothing has changed.
Needless to say that now the interface is connecting after the first attempt which means that a second problem (the long time - 10 minutes - to connect is also solved)

The only thing that I do not know so far is why the problem occurred in the first place, maybe this is a cause.