EM9291 how to get data connection to work in Linux

Sorry, ModemManager was interferring with the AT commands. I stopped it.

Here is the output:

ATI3

Manufacturer: Sierra Wireless, Incorporated
Model: EM9291
Revision: SWIX65C_02.15.01.00 5268b2 jenkins 2023/11/17 22:12:47
IMEI: 943
IMEI SV:  2
FSN: 834095501304B1
+GCAP: +CGSM


OK
AT!GSTATUS?

!GSTATUS:
Current Time:  3617             Temperature: 31
Thermal Mitigation Level: 0

Reset Counter: 1                Mode:        ONLINE
System mode:   LTE              PS state:    Attached
LTE band:      B66              LTE bw:      20 MHz
LTE Rx chan:   66786            LTE Tx chan: 132322
EMM state:     Registered       Normal Service
RRC state:     RRC Idle
IMS reg state: REGISTERED       IMS mode:    Normal
IMS Srv State: FULL SMS,NO VoIP

PCC Rx0 RSSI:  -69.1            PCC Rx0 RSRP:  -106.3
PCC Rx1 RSSI:  -94.1            PCC Rx1 RSRP:  -139.7
PCC Tx Power:  ---              TAC:         7c93 (31891)
RSRQ (dB):     -17.3            Cell ID:     042B4F04 (69947140)
SINR (dB):     -3.4

NR5G band:       ---            NR5G bw:         ---
NR5G Tx Power:   ---            NR5G Tx chan:    ---
NR5G Rx chan:    ---            NR5G RSRP (dBm): ---
NR5G RSRQ (dB):  ---            NR5G SINR (dB):  ---


OK
at!pcinfo?

State: Online
LPM voters - Temp:0, Volt:0, User:0, W_DISABLE:0, IMSWITCH:0, BIOS:0, LWM2M:0, OMADM:0, FOTA:0, NVCRIT:0, RFCAL:0, MMWCAL:0, RFC_INIT:0
LPM persistence - None

OK
at!selrat?

!SELRAT: 00, Automatic


OK
at!band?

Index, Name
00, All bands

OK
AT!impref?

!IMPREF:
 preferred fw version:    00.00.00.00
 preferred carrier name:  AUTO-SIM
 preferred config name:   AUTO-SIM_000.000_000
 preferred subpri index:  000
 current fw version:      02.15.01.00
 current carrier name:    GENERIC
 current config name:     GENERIC_030.054_001
 current subpri index:    000

OK
at!uims?

!UIMS: 0

OK
at+cpin?

+CPIN: READY

OK

Does anything stand out? It’s still reporting between 0 and 30% whereas the MHI driver reports around 80%.

From above, the received signal strength is quite bad