EM9191 Linux Ubuntu NR5G Not Working Only LTE

at!ratca?
!RATCA:
CA: 1
ENDC: 1
SA: 1

OK

5G GSTATUS:

at!gstatus?
!GSTATUS:
Current Time: 111 Temperature: 30
Thermal Mitigation Level: 0
Reset Counter: 1 Mode: ONLINE
System mode: ENDC PS state: Attached
LTE band: B66 LTE bw: 20 MHz
LTE Rx chan: 66586 LTE Tx chan: 132122
EMM state: Registered Normal Service
RRC state: RRC Connected
IMS reg state: UNKNOWN IMS mode: Not Support
IMS Srv State: UNKNOWN SMS,UNKNOWN VoIP

PCC RxM RSSI: -61 PCC RxM RSRP: -98
PCC RxD RSSI: -60 PCC RxD RSRP: -99
PCC Tx Power: 23 TAC: a6f7 (42743)
RSRQ (dB): -16.2 Cell ID: 0054d601 (5559809)
SINR (dB): -2.4

SCC1 NR5G band: n41 SCC1 NR5G bw: 100 MHz
SCC1 NR5G Tx Power: 21 SCC1 NR5G Tx chan: 528000
SCC1 NR5G Rx chan: 528000
NR5G RSRP (dBm): -99 NR5G RSRQ (dB): -16
NR5G SINR (dB): 0.0

OK

Same output on Linux/Windows

Then it can register 5G NSA in both linux and windows

So which AT commands do I need to issue to make band lock onto 5G work?

Also what shows if CA is working?

You can just at!band=0 for all band, it will automatically attach to 5G ENDC when it is available

CA is for LTE, you will see scc1 scc2 if CA is used

I did at!selrat=20 for 5G only but now only issue is it seems by EM9191 has trouble holding a connection. It works well but when I walk away and come back it loses connection until I reissue DHCP, any idea why?

is problem only on 5G band n41?
how about other 5G band?
You might need to set up a setting in AT!BAND to limit the 5G band.

No seems to be on all. Tried with n71 too

Do you know which setting for that?

do you mean 5G n71 SA still have problem in both linux and windows that it will lose connection sometimes?
How do you set for AT!BAND command for 5G SA n71 band?
Do you see such problem in 5G NSA (ENDC) mode?

BTW, how many antenna have you connected?

It was a DNS error I found out. Things looking good for now. I will close this thread. Thank you for all your help

FOR ANYONE LOOKING FOR ANSWER TO ORGINAL QUESTION IN SUMMERY:

My modem was in MBIM mode meaning that to get it started in Linux once drivers installed you must you command “sudo mbim-network /dev/cdc-wdm0 start” your wdmX may be different based on number. After you get a message stating that it is started correctly you can issue “sudo dhclient wwan0” onto the interface. I had a DNS issue that was then causing disconnects which I resolved via “sudo apt-get install resolvconf” and populating the /etc/resolvconf/resolv.conf.d/head file with:

nameserver 1.1.1.1
nameserver 1.0.0.1

Which made everything work the way I needed it to. Further I used 5G only by using AT!SELRAT=20 but you could set to any by using AT!SELRAT=? and choosing from the list. Using AT!BAND=X did not work for me and would cause me to lose registration. After issuing my AT!SELRAT=X command I also issued AT!RESET to save and restart modem.

For /etc/mbim-network.conf I have:

access-string=fast.t-mobile.com
APN_USER=
APN_PASS=
APN_AUTH=
PROXY=yes

For T-Mobile, your APN may very. Also using 030.052_000 03.10.07.00_TMO as my firmware.

EDIT:

NOT “access-string”

Should be set to “APN=fast.t-mobile.com

Mistype*