I'm using imx6q(yocto2.2) + quectel EC25 4G module, I would like to control the 4G modem through "nmcli". (I also change connman to networkmanagerV1.2.2).
Currently I make sure 4G driver and modemmanager works through command line. (mmcli -m 0 --simple-connect=apn=internet & dhcp).
But when I use networkmanager it doesn't work.
My procedure as below:
1. mmcli -m 0 --simple-connect=apn=internet
system show connection successfully. And use mmcli -m 0 to check modem status and it show "connected".
2. use "nmcli -f all device show wwan0" to check device info (nmcli seems cannot recognized device as modem manager)
GENERAL.FIRMWARE-VERSION: WWAN/QMI device
GENERAL.STATE: 10 (unmanaged)
GENERAL.REASON: 0 (No reason given)
GENERAL.UDI: /sys/devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.4/1-1.4:1.4 /net/wwan0
3. use "nmcli device connect wwan0" to connect internet and it will happen error. (error: Failed to add/activate new connection: Device class NMDeviceGeneric had no complete_connection method)
Is this issue caused by nmcli cannot recognized device as modem manager? or caused by GENERAL.NM-TYPE: NMDeviceGeneric?
Is there any method which can change NMDeviceGeneric to NMDeviceModem?
Is there any one encounter this symptom?
Thank you very much.