Wwan not getting an IP on vuos 1.5

Aloha,

there’s a similar thread from 2021:

But unfortunately that did help me so far.

Im on vyos 1.5

sh vers
Version:          VyOS 2025.04.25-0019-rolling
Release train:    current
Release flavor:   generic

Built by:         [email protected]
Built on:         Fri 25 Apr 2025 00:19 UTC
Build UUID:       7425f4f4-f38c-4d9e-930d-1cfcf9e8e99f
Build commit ID:  db23b29ceb56a1

Architecture:     x86_64
Boot via:         installed image
System type:      bare metal

I have basic config:

sh vers
Version:          VyOS 2025.04.25-0019-rolling
Release train:    current
Release flavor:   generic

Built by:         [email protected]
Built on:         Fri 25 Apr 2025 00:19 UTC
Build UUID:       7425f4f4-f38c-4d9e-930d-1cfcf9e8e99f
Build commit ID:  db23b29ceb56a1

Architecture:     x86_64
Boot via:         installed image
System type:      bare metal
Secure Boot:      disabled

Hardware vendor:  Default string
Hardware model:   Default string
Hardware S/N:     Default string
Hardware UUID:    03000200-0400-0500-0006-000700080009

Copyright:        VyOS maintainers and contributors

In bash with modem-manager I can see that modem is there and I can connect with modem manager:

mmcli -m 0
  --------------------------------
  General  |                 path: /org/freedesktop/ModemManager1/Modem/0
           |            device id: b9ef7c66cb07f9f37502f2eea26d7c8e01fa0190
  --------------------------------
  Hardware |         manufacturer: Sierra Wireless, Incorporated
           |                model: MC7455
           |    firmware revision: SWI9X30C_02.24.05.06 r7040 CARMD-EV-FRMWR2 2017/05/19 06:23:09
           |            supported: gsm-umts, lte
           |              current: gsm-umts, lte
           |         equipment id: 359072063247296
  --------------------------------
  System   |               device: /sys/devices/pci0000:00/0000:00:14.0/usb1/1-3
           |              drivers: qcserial, qmi_wwan
           |               plugin: sierra
           |         primary port: ttyUSB2
           |                ports: ttyUSB0 (qcdm), ttyUSB1 (gps), ttyUSB2 (at), wwan0 (ignored)
  --------------------------------
  Status   |       unlock retries: sim-pin (3), sim-puk (10)
           |                state: connected
           |          power state: on
           |          access tech: lte
           |       signal quality: 0% (recent)
  --------------------------------
  Modes    |            supported: allowed: 2g, 3g, 4g; preferred: none
           |              current: allowed: 2g, 3g, 4g; preferred: none
  --------------------------------
  IP       |            supported: ipv4, ipv6, ipv4v6
  --------------------------------
  3GPP     |                 imei: 359072063247296
           |          operator id: 25503
           |        operator name: UA-KYIVSTAR KYIVSTAR
           |         registration: home
           | packet service state: attached
  --------------------------------
  3GPP EPS | ue mode of operation: ps-2
  --------------------------------
  SIM      |     primary sim path: /org/freedesktop/ModemManager1/SIM/0
  --------------------------------
  Bearer   |                paths: /org/freedesktop/ModemManager1/Bearer/1
           |                       /org/freedesktop/ModemManager1/Bearer/0

I connected with this command:

mmcli -m 0 --simple-connect="apn=internet"
successfully connected the modem

But still no IP address:

ip address show wwan0
6: wwan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1430 qdisc fq_codel state UNKNOWN group default qlen 1000
    link/ether 8a:48:00:8b:6e:8d brd ff:ff:ff:ff:ff:ff
    inet6 fe80::8848:ff:fe8b:6e8d/64 scope link 
       valid_lft forever preferred_lft forever

From the old thread I tried this command
(without really understanding what it actually does)

qmi-network /dev/cdc-wdm0 start

But the result says WDA unsupported

qmi-network /dev/cdc-wdm0 start
Profile at '/etc/qmi-network.conf' not found...
Checking data format with 'qmicli -d /dev/cdc-wdm0 --wda-get-data-format '...
error: couldn't create client for the 'wda' service: QMI protocol error (3): 'Internal'
Device link layer protocol not retrieved: WDA unsupported
Starting network with 'qmicli -d /dev/cdc-wdm0 --wds-start-network=  --client-no-release-cid '...
error: couldn't start network: QMI protocol error (14): 'CallFailed'
call end reason (1): generic-unspecified
verbose call end reason (2,208): [internal] pdn-ipv4-call-disallowed
Saving state at /tmp/qmi-network-state-cdc-wdm0... (CID: 36)
error: network start failed, no packet data handle
Clearing state at /tmp/qmi-network-state-cdc-wdm0...

Is there any additional setup / config needed?
Thanks
Marcel

Hi

Try to use sudo mmcli -m 0 -b 0 to show the bearer.
If the bearer shows “static method”, VyOS doesn’t support this currently.

Hi,
here:

mmcli -m 0 -b 0
  -------------------------
  General    |        path: /org/freedesktop/ModemManager1/Bearer/0
             |        type: default-attach
  -------------------------
  Status     |   connected: yes
             |   suspended: no
             | multiplexed: no
             |  ip timeout: 20
  -------------------------
  Properties |         apn: internet
             |     ip type: ipv6

I dont see anything about static.
But I see is, that
** ip type: ipv6**

Maybe, Im not sure, the local provider here, Kyivstar changed for this APN to IPv6 only

I found another APN “KS”, which should support both v4 and v6,
So I changed the APN in the config:

sh configuration commands | match wwan
set interfaces wwan wwan0 address 'dhcp'
set interfaces wwan wwan0 apn 'KS'

But now I have 4 bearer, 1 -3, 6 :slight_smile:

mmcli -m 0
  ----------------------------------
  General  |                   path: /org/freedesktop/ModemManager1/Modem/0
           |              device id: 890835b71d39e76fa2e283945d561b31f943ed67
  ----------------------------------
  Hardware |           manufacturer: Sierra Wireless, Incorporated
           |                  model: MC7455
           |      firmware revision: SWI9X30C_02.24.05.06 r7040 CARMD-EV-FRMWR2 2017/05/19 06:23:09
           |         carrier config: default
           |           h/w revision: 1.0
           |              supported: gsm-umts, lte
           |                current: gsm-umts, lte
           |           equipment id: 359072063247296
  ----------------------------------
  System   |                 device: /sys/devices/pci0000:00/0000:00:14.0/usb1/1-3
           |                drivers: qcserial, qmi_wwan
           |                 plugin: sierra
           |           primary port: cdc-wdm0
           |                  ports: cdc-wdm0 (qmi), ttyUSB0 (qcdm), ttyUSB1 (gps), 
           |                         ttyUSB2 (at), wwan0 (net)
  ----------------------------------
  Status   |                   lock: sim-pin2
           |         unlock retries: sim-pin (3), sim-puk (10), sim-pin2 (3), sim-puk2 (10)
           |                  state: registered
           |            power state: on
           |            access tech: lte
           |         signal quality: 100% (recent)
  ----------------------------------
  Modes    |              supported: allowed: 3g; preferred: none
           |                         allowed: 4g; preferred: none
           |                         allowed: 3g, 4g; preferred: 4g
           |                         allowed: 3g, 4g; preferred: 3g
           |                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-26, eutran-29, 
           |                         eutran-30, 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-26, eutran-29, 
           |                         eutran-30, eutran-41
  ----------------------------------
  IP       |              supported: ipv4, ipv6, ipv4v6
  ----------------------------------
  3GPP     |                   imei: 359072063247296
           |          enabled locks: fixed-dialing
           |            operator id: 25503
           |          operator name: KYIVSTAR
           |           registration: home
           |   packet service state: attached
  ----------------------------------
  3GPP EPS |   ue mode of operation: csps-2
           |    initial bearer path: /org/freedesktop/ModemManager1/Bearer/5
           | initial bearer ip type: ipv4v6
  ----------------------------------
  SIM      |       primary sim path: /org/freedesktop/ModemManager1/SIM/0
           |         sim slot paths: slot 1: /org/freedesktop/ModemManager1/SIM/0 (active)
           |                         slot 2: none
  ----------------------------------
  sh configuration commands | match wwan
set interfaces wwan wwan0 address 'dhcp'
set interfaces wwan wwan0 apn 'KS'

and none is connected"

mmcli -m 0 -b 1
  --------------------------------------
  General    |                     path: /org/freedesktop/ModemManager1/Bearer/1
             |                     type: default
  --------------------------------------
  Status     |                connected: no
             |    connection error name: org.freedesktop.ModemManager1.Error.Core.Cancelled
             | connection error message: operation cancelled
             |                suspended: no
             |              multiplexed: no
             |               ip timeout: 20
  --------------------------------------
  Properties |                      apn: internet
             |                  roaming: allowed
             |                  ip type: ipv4
  --------------------------------------
  Statistics |                 attempts: 1
             |                 attempts: 1
vbash-4.1# mmcli -m 0 -b 2
  --------------------------------------
  General    |                     path: /org/freedesktop/ModemManager1/Bearer/2
             |                     type: default
  --------------------------------------
  Status     |                connected: no
             |    connection error name: org.freedesktop.ModemManager1.Error.MobileEquipment.Unknown
             | connection error message: Transaction timed out
             |                suspended: no
             |              multiplexed: no
             |               ip timeout: 20
  --------------------------------------
  Properties |                      apn: internet
             |                  roaming: allowed
             |                  ip type: ipv4v6
  --------------------------------------
  Statistics |                 attempts: 1
             |                 attempts: 1
vbash-4.1# mmcli -m 0 -b 3
  --------------------------------------
  General    |                     path: /org/freedesktop/ModemManager1/Bearer/3
             |                     type: default
  --------------------------------------
  Status     |                connected: no
             |    connection error name: org.freedesktop.ModemManager1.Error.Core.Cancelled
             | connection error message: operation cancelled
             |                suspended: no
             |              multiplexed: no
             |               ip timeout: 20
  --------------------------------------
  Properties |                      apn: KS
             |                  roaming: allowed
             |                  ip type: ipv4v6
  --------------------------------------
  Statistics |                 attempts: 1
             |                 attempts: 1
vbash-4.1# mmcli -m 0 -b 6
  --------------------------------------
  General    |                     path: /org/freedesktop/ModemManager1/Bearer/6
             |                     type: default
  --------------------------------------
  Status     |                connected: no
             |    connection error name: org.freedesktop.ModemManager1.Error.Core.Cancelled
             | connection error message: operation cancelled
             |                suspended: no
             |              multiplexed: no
             |               ip timeout: 20
  --------------------------------------
  Properties |                      apn: KS
             |                  roaming: allowed
             |                  ip type: ipv4
  --------------------------------------
  Statistics |                 attempts: 1
             |                 attempts: 1
vbash-4.1# 

Marcel

It looks to me, that chaning wwan config in the vyos cli and at the same time using mmcli is to connect or disconnect is not a good idea.
:slight_smile:
the vyos cli config then always disappears after a reboot
Now I rebooted and added this config again:

set interfaces wwan wwan0 address 'dhcp'
set interfaces wwan wwan0 apn 'KS'

Now, I guess, it lools better:
but still zero IPv4 prefix:

mmcli -m 0 -b 0
  ------------------------------------
  General            |           path: /org/freedesktop/ModemManager1/Bearer/0
                     |           type: default
  ------------------------------------
  Status             |      connected: yes
                     |      suspended: no
                     |    multiplexed: no
                     |      interface: ttyUSB2
                     |     ip timeout: 20
                     |     profile id: 4
  ------------------------------------
  Properties         |            apn: KS
                     |        roaming: allowed
                     |        ip type: ipv4
  ------------------------------------
  IPv4 configuration |         method: ppp
                     |         prefix: 0
  ------------------------------------
  Statistics         |     start date: 2025-04-26T15:41:13Z
                     |       duration: 29
                     |       attempts: 1
                     | total-duration: 29

So,
I made a firmware update on the Sierra Mobile card.
I used this download link:
https://source.sierrawireless.com/resources/airprime/minicard/74xx/em_mc74xx-approved-fw-packages/
and this description on Github:

deviceid=`lsusb | grep -i -E '1199:9071|1199:9079|413C:81B6' | awk '{print $6}'`
qmi-firmware-update --update -d "$deviceid" SWI9X30C_02.30.01.01.cwe SWI9X30C_02.30.01.01_GENERIC_002.045_000.nvu

But with the newest firmware version.
Output from firmware update:

original firmware revision was:
      SWI9X30C_02.24.05.06 r7040 CARMD-EV-FRMWR2 2017/05/19 06:23:09
   original running firmware details:
      Model: MC7455
      Boot version: SWI9X30C_02.24.05.06
      AMSS version: SWI9X30C_02.24.05.06
      SKU ID: 1103789
      Carrier ID: 1
      Config version: 002.026_000
   original firmware preference details:
      image 'modem': unique id '002.026_000', build id '02.24.05.06_GENERIC'
      image 'pri': unique id '002.026_000', build id '02.24.05.06_GENERIC'

   new firmware revision is:
      SWI9X30C_02.24.05.06 r7040 CARMD-EV-FRMWR2 2017/05/19 06:23:09
   new running firmware details:
      Model: MC7455
      Boot version: SWI9X30C_02.24.05.06
      AMSS version: SWI9X30C_02.24.05.06
      SKU ID: 1103789
      Carrier ID: 1
      Config version: 002.026_000
   new firmware preference details:
      image 'modem': unique id '002.085_000', build id '02.39.00.00_GENERIC'
      image 'pri': unique id '002.085_000', build id '02.39.00.00_GENERIC'

Now it works

sh interfaces wwan 
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface        IP Address                        S/L  Description
---------        ----------                        ---  -----------
wwan0            10.167.9.180/29                   u/u  

sh interfaces wwan wwan0 
Possible completions:
  <Enter>               Execute the current command
  capabilities          Show WWAN module capabilities
  detail                Show WWAN module detailed information summary
  event-log             Show network interface change event log
  firmware              Show WWAN module firmware
  imei                  Show WWAN module IMEI/ESN/MEID
  imsi                  Show WWAN module IMSI
  log                   Show interface log for specified interface
  model                 Show WWAN module manufacturer
  msisdn                Show WWAN module MSISDN
  revision              Show WWAN module revision
  signal                Show WWAN module RF signal info
  sim                   Show WWAN module connected SIM card information

Only the command

~$ sh interfaces wwan wwan0 
:~$ 

shows nothing.
Maybe that help others.
Cheers
Marcel

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.