I tried use ModemManager + NetworkManager.
But when run “nmcli con up id model” that get error “Error: Connection activation failed: No suitable device found for this connection (device wlan0 not available because device is not available).”
~ # nmcli connection show
NAME UUID TYPE DEVICE
model 9b088834-a18f-4355-b70c-ed472c5bf6f3 gsm –
~# nmcli device status
DEVICE TYPE STATE CONNECTION
wlan0 wifi unavailable –
ip6tnl0 iptunnel unmanaged –
sit0 iptunnel unmanaged –
lo loopback unmanaged –
wwan0 wwan unmanaged –
~# mmcli -m 0
/ --------------------------------
General | dbus path: /org/freedesktop/ModemManager1/Modem/0
| device id: 30f8b8836559dddabd53f024253691776a89a942
/ --------------------------------
Hardware | manufacturer: Sierra Wireless, Incorporated
| model: MC7304
| firmware revision: SWI9X15C_05.05.78.00
| h/w revision: MC7304
| supported: gsm-umts, lte
| current: gsm-umts, lte
| equipment id: 356853057744015
/ --------------------------------
System | device: /sys/devices/pci0000:00/0000:00:11.0/dwc3.0.auto/xhci-hcd.1.auto/usb1/1-1/1-1.1
| drivers: cdc_mbim, qcserial
| plugin: Sierra
| primary port: cdc-wdm0
| ports: cdc-wdm0 (mbim), ttyUSB0 (qcdm), ttyUSB2 (at), wwan0 (net)
/--------------------------------
Status | unlock retries: sim-pin2 (3)
| state: disabled
| power state: on
| signal quality: 0% (cached)
/ --------------------------------
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, pcs, g850, utran-1, utran-6, utran-5, utran-8,
| utran-2, eutran-1, eutran-3, eutran-7, eutran-8, eutran-20
| current: egsm, dcs, pcs, g850, utran-1, utran-5, utran-8, utran-2,
| eutran-1, eutran-3, eutran-7, eutran-8, eutran-20
/ --------------------------------
IP | supported: ipv4, ipv6, ipv4v6
/--------------------------------
3GPP | imei: 356853057744015
| enabled locks: fixed-dialing
/--------------------------------
3GPP EPS | ue mode of operation: csps-2
/ --------------------------------
SIM | dbus path: /org/freedesktop/ModemManager1/SIM/0
~# mmcli -m 0 --enable
successfully enabled the modem
~# mmcli -m 0
/--------------------------------
General | dbus path: /org/freedesktop/ModemManager1/Modem/0
| device id: 30f8b8836559dddabd53f024253691776a89a942
/--------------------------------
Hardware | manufacturer: Sierra Wireless, Incorporated
| model: MC7304
| firmware revision: SWI9X15C_05.05.78.00
| h/w revision: MC7304
| supported: gsm-umts, lte
| current: gsm-umts, lte
| equipment id: 356853057744015
/--------------------------------
System | device: /sys/devices/pci0000:00/0000:00:11.0/dwc3.0.auto/xhci-hcd.1.auto/usb1/1-1/1-1.1
| drivers: cdc_mbim, qcserial
| plugin: Sierra
| primary port: cdc-wdm0
| ports: cdc-wdm0 (mbim), ttyUSB0 (qcdm), ttyUSB2 (at), wwan0 (net)
/--------------------------------
Status | unlock retries: sim-pin2 (3)
| state: registered
| power state: on
| access tech: lte
| signal quality: 0% (cached)
/--------------------------------
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, pcs, g850, utran-1, utran-6, utran-5, utran-8,
| utran-2, eutran-1, eutran-3, eutran-7, eutran-8, eutran-20
| current: egsm, dcs, pcs, g850, utran-1, utran-5, utran-8, utran-2,
| eutran-1, eutran-3, eutran-7, eutran-8, eutran-20
/--------------------------------
IP | supported: ipv4, ipv6, ipv4v6
/--------------------------------
3GPP | imei: 356853057744015
| enabled locks: fixed-dialing
| operator id: 46689
| operator name: 台灣之星
| registration: home
/--------------------------------
3GPP EPS | ue mode of operation: csps-2
/--------------------------------
SIM | dbus path: /org/freedesktop/ModemManager1/SIM/0
How to solve this?Thank