Connecting to internet with EC25 (miniPCIe) on Apalis IMX8QM with Ixora

I am trying to connect to the internet using EC25 module. I followed the steps in modem support. Here’s the status information.

apalis-imx8-06852506:~$ mmcli -m 0
  --------------------------------
  General  |            dbus path: /org/freedesktop/ModemManager1/Modem/0
           |            device id: 8bba08d4823e8787dd5d46ca4d81df1be43443a6
  --------------------------------
  Hardware |         manufacturer: QUALCOMM INCORPORATED
           |                model: QUECTEL Mobile Broadband Module
           |    firmware revision: EC25EFAR06A09M4G
           |       carrier config: default
           |         h/w revision: 10000
           |            supported: gsm-umts, lte
           |              current: gsm-umts, lte
           |         equipment id: 862348051548204
  --------------------------------
  System   |               device: /sys/devices/platform/bus@5b000000/5b0e0000.usb/ci_hdrc.1/usb4/4-1/4-1.1
           |              drivers: qmi_wwan, option1
           |               plugin: Quectel
           |         primary port: cdc-wdm0
           |                ports: cdc-wdm0 (qmi), ttyUSB0 (qcdm), ttyUSB2 (at), wwan0 (net), 
           |                       ttyUSB1 (gps), ttyUSB3 (at)
  --------------------------------
  Status   |                 lock: sim-pin2
           |       unlock retries: sim-pin (10), sim-puk (10), sim-pin2 (3), sim-puk2 (10)
           |                state: connected
           |          power state: on
           |          access tech: lte
           |       signal quality: 54% (recent)
  --------------------------------
  Modes    |            supported: allowed: 2g; preferred: none
           |                       allowed: 3g; preferred: none
           |                       allowed: 4g; preferred: none
           |                       allowed: 2g, 3g; preferred: 3g
           |                       allowed: 2g, 3g; preferred: 2g
           |                       allowed: 2g, 4g; preferred: 4g
           |                       allowed: 2g, 4g; preferred: 2g
           |                       allowed: 3g, 4g; preferred: 3g
           |                       allowed: 3g, 4g; preferred: 4g
           |                       allowed: 2g, 3g, 4g; preferred: 4g
           |                       allowed: 2g, 3g, 4g; preferred: 3g
           |                       allowed: 2g, 3g, 4g; preferred: 2g
           |              current: allowed: 2g, 3g, 4g; preferred: 4g
  --------------------------------
  Bands    |            supported: egsm, dcs, utran-1, utran-5, utran-8, eutran-1, eutran-3, 
           |                       eutran-5, eutran-7, eutran-8, eutran-20, eutran-38, eutran-40, 
           |                       eutran-41
           |              current: egsm, dcs, utran-1, utran-5, utran-8, eutran-1, eutran-3, 
           |                       eutran-5, eutran-7, eutran-8, eutran-20, eutran-38, eutran-40, 
           |                       eutran-41
  --------------------------------
  IP       |            supported: ipv4, ipv6, ipv4v6
  --------------------------------
  3GPP     |                 imei: 862348051548204
           |          operator id: 40402
           |        operator name: airtel
           |         registration: home
  --------------------------------
  3GPP EPS | ue mode of operation: csps-2
  --------------------------------
  SIM      |            dbus path: /org/freedesktop/ModemManager1/SIM/0
  --------------------------------
  Bearer   |            dbus path: /org/freedesktop/ModemManager1/Bearer/0
apalis-imx8-06852506:~$ 

In the status it shows connected, however if I try ping with

apalis-imx8-06852506:~$ ping -I wwan0 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes

I get no packets in return.

Can anyone guide me ahead of this or share any relevant resources. I am using Torizoncore on Apalix-IMX8QM.

Regards,
Nikhil

Hi @hexagun,

After this I hope you have enabled radio and connected to cellular modem using below command

nmcli c add type gsm ifname ttyUSB0 con-name imx6 apn airtelgprs.com
nmcli r wwan on
# mmcli -m 0 --simple-connect="apn=airtelgprs.com"
successfully connected the modem

Also to further confirm check output of

apalis-imx6-04860438:~$ mmcli -b 0
  --------------------------------
  General            |  dbus path: /org/freedesktop/ModemManager1/Bearer/0
                     |       type: default
  --------------------------------
  Status             |  connected: yes
                     |  suspended: no
                     |  interface: wwan0
                     | ip timeout: 20
  --------------------------------
  Properties         |        apn: wap.airtel
                     |    roaming: allowed
  --------------------------------
  IPv4 configuration |     method: static
                     |    address: 100.78.10.239
                     |     prefix: 27
                     |    gateway: 100.78.10.225
                     |        dns: 117.96.122.40, 122.175.1.5
  --------------------------------
  Statistics         |   duration: 30

Let me know after this also you are facing same problem.

Thanks & Best Regards
Ritesh Kumar

The mention steps in Modem Support work well. The sim we were using had data balance issue which was sorted after which ping works.

Consider the issue solved.

Regards,
Nikhil