EM7455 can't connect APN

  • I can see the output of sudo mmcli -m 0 as follows,
  --------------------------------
  General  |            dbus path: /org/freedesktop/ModemManager1/Modem/0
           |            device id: a13799d4536930cbcbdc2afeg8j3104c57069ae0
  --------------------------------
  Hardware |         manufacturer: Sierra Wireless, Incorporated
           |                model: Sierra Wireless EM7455 Qualcomm® Snapdragon™ X7 LTE-A
           |             revision: SWI9X30C_02.32.11.00
           |         h/w revision: EM7455
           |            supported: gsm-umts, lte
           |              current: gsm-umts, lte
           |         equipment id: 35905626987854
  --------------------------------
  System   |               device: /sys/devices/pci0000:00/0000:00:15.0/usb1/1-7
           |              drivers: qcserial, cdc_mbim
           |               plugin: Sierra
           |         primary port: cdc-wdm0
           |                ports: ttyUSB0 (qcdm), ttyUSB2 (at), cdc-wdm0 (mbim),
           |                       wwp0s21f0u7i12 (net)
  --------------------------------
  Numbers  |                  own: 07574391674
  --------------------------------
  Status   |       unlock retries: sim-pin2 (3)
           |                state: registered
           |          power state: on
           |          access tech: hsdpa, hsupa
           |       signal quality: 32% (cached)
  --------------------------------
  Modes    |            supported: allowed: 3g; preferred: none
           |                       allowed: 4g; preferred: none
           |                       allowed: 3g, 4g; preferred: 3g
           |                       allowed: 3g, 4g; preferred: 4g
           |              current: allowed: 3g, 4g; preferred: 4g
  --------------------------------
  Bands    |            supported: utran-1, utran-3, utran-4, utran-5, utran-8, utran-2,
           |                       eutran-1, eutran-2, eutran-3, eutran-4, eutran-5, eutran-7, eutran-8,
           |                       eutran-12, eutran-13, eutran-20, eutran-25, eutran-41
           |              current: utran-1, utran-3, utran-4, utran-5, utran-8, utran-2,
           |                       eutran-1, eutran-2, eutran-3, eutran-4, eutran-5, eutran-7, eutran-8,
           |                       eutran-12, eutran-13, eutran-20, eutran-25, eutran-41
  --------------------------------
  IP       |            supported: ipv4, ipv6, ipv4v6
  --------------------------------
  3GPP     |                 imei: -------------
           |        enabled locks: fixed-dialing
           |          operator id: ----
           |        operator name: EE
           |         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/2
  • but when I use
    sudo mmcli -m 0 --simple connect="apn=apn=apn.com,user=username,password=password"
    I am getting the following response
    error: couldn't connect the modem: 'GDBus.Error:org.freedesktop.libmbim.Error.Status.ServiceNotActivated: ServiceNotActivated'
    I also tried to create a bearer, but error.

  • Is this the way to add APN settings to the modem ?

Hi @krishnadaskv ,
Have you tried to configure APN for the module in AT environment?
Please try
sudo minicom -D /dev/ttyUSB2 -b 115200
Welcome to minicom 2.7.1

OPTIONS: I18n
Compiled on Aug 13 2017, 15:25:34.
Port /dev/ttyUSB2, 17:02:48

Press CTRL-A Z for help on special keys

at
OK
at+cgdcont?
OK
at+cgdcont=1,“ip4v6”,“yourAPN”
Please try and share your result
Thanks

I tried and got the following results,

at
OK
at+cgdcont?
+CGDCONT: 1,"IP","apn=apn.com","0.0.0.0",0,0,0,0

OK
at+cgdcont=1,“ip4v6”,“apnName”
ERROR
  • For the third command, I used my apn name, do I need to use apn.com for that?

  • How to add username and password as well to apn settings ?

That should be
at+cgdcont=1,“ipv4v6”,“apnName”

I got OK response to that

If I run at+cgdcont? again, I can see

+CGDCONT: 1,"IPV4V6","apn.com","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0

OK

Note: on at+cgdcont=1,“ip4v6”,“yourAPN”, I used apn.com, do I need to use any name ?