EG25没有分配到IP

使用mmcli -m 0 --simple-connect=“apn=cmnet” 状态如下:

General | path: /org/freedesktop/ModemManager1/Modem/0
| device id: eb10949e7695384578e3b1ff9b48b47fdbab35f2

Hardware | manufacturer: QUALCOMM INCORPORATED
| model: QUECTEL Mobile Broadband Module
| firmware revision: EG25GGCR07A02M1G
| carrier config: Volte_OpenMkt-Commercial-CMCC
| carrier config revision: 05012071
| h/w revision: 10000
| supported: gsm-umts, lte
| current: gsm-umts, lte
| equipment id: 864081069592025

System | device: /sys/devices/platform/soc/11c50100.usb/usb3/3-1
| drivers: option, qmi_wwan
| plugin: quectel
| primary port: cdc-wdm0
| ports: cdc-wdm0 (qmi), ttyUSB0 (qcdm), ttyUSB1 (gps),
| ttyUSB2 (at), ttyUSB3 (at), wwan0 (net)

Status | lock: sim-pin2
| unlock retries: sim-pin (3), sim-puk (10), sim-pin2 (3), sim-puk2 (10)
| state: connected
| power state: on
| access tech: lte
| signal quality: 84% (recent)

Modes | supported: allowed: 2g; preferred: none
| allowed: 4g; preferred: none
| allowed: 2g, 4g; preferred: 4g
| allowed: 2g, 4g; preferred: 2g
| current: allowed: 2g, 4g; preferred: 4g

Bands | supported: egsm, dcs, pcs, g850, eutran-1, eutran-2, eutran-3,
| eutran-4, eutran-5, eutran-7, eutran-8, eutran-12, eutran-13,
| eutran-18, eutran-19, eutran-20, eutran-25, eutran-26, eutran-28,
| eutran-38, eutran-39, eutran-40, eutran-41
| current: egsm, dcs, pcs, g850, eutran-1, eutran-2, eutran-3,
| eutran-4, eutran-5, eutran-7, eutran-8, eutran-12, eutran-13,
| eutran-18, eutran-19, eutran-20, eutran-25, eutran-26, eutran-28,
| eutran-38, eutran-39, eutran-40, eutran-41

IP | supported: ipv4, ipv6, ipv4v6

3GPP | imei: 864081069592025
| enabled locks: fixed-dialing
| operator id: 46000
| operator name: CMCC
| registration: home
| packet service state: attached

3GPP EPS | ue mode of operation: csps-2
| initial bearer path: /org/freedesktop/ModemManager1/Bearer/0
| initial bearer apn: cmnet
| 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

Bearer | paths: /org/freedesktop/ModemManager1/Bearer/1

使用ip addr show wwan0 发现没有分配到IP,请问应该如何操作?
wwan0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 1000
link/none

mmcli -b 0 看看能不能看到ip地址。
如果看到了ip 地址
直接ifconfig wwan0 XX:XX:XX:XX

感谢回复,已按建议操作连上了Internet。但ip显示在 Bearer 1中,并非 Bearer 0,请问是什么原因?

mmcli -b 0 显示如下

General | path: /org/freedesktop/ModemManager1/Bearer/0
| type: default-attach

Status | connected: yes
| suspended: no
| multiplexed: no
| ip timeout: 20

Properties | apn: cmnet
| ip type: ipv4

而mmcli -b 1可以看到ip:

General | path: /org/freedesktop/ModemManager1/Bearer/1
| type: default

Status | connected: yes
| suspended: no
| multiplexed: no
| interface: wwan0
| ip timeout: 20

Properties | apn: CMNET
| roaming: allowed

IPv4 configuration | method: static
| address: 10.208.78.36
| prefix: 29
| gateway: 10.208.78.37
| dns: 223.5.5.5, 114.114.114.114
| mtu: 1500

Statistics | start date: 2025-05-29T17:08:18Z
| duration: 57029
| attempts: 1
| total-duration: 57029

这是对象。默认应该还是对应模块的第一路。
关于这个对象为啥是0或者是1,没有研究过。