Hello Aleksander,
Thank you for directing me to the NetworkManager mailing list.
Here is my situation.
I want to use NetworkManager to create a 3G connection using ModemManager and the qmi_wann driver.
libqmi 1.16.0
mmcli 1.6.4
nmcli 1.0.12
I have had success issuing the commands below along with other commands using mmcli and qmicli.
qmicli -d /dev/cdc-wdm0 --wds-start-network=apn='apn=mnet.bell.ca.ioe' --client-no-release-cid
mmcli -m 0
mmcli -m 0 --simple-connect="apn=mnet.bell.ca.ioe"
I think the problem lies with NetworkManager:
root@raspberrypi3:/# nmcli con show
NAME UUID TYPE DEVICE
Wired connection 1 bdc6b7b3-1e60-453c-bfca-11ce7519826d 802-3-ethernet eth0
cellular bd4fbd79-329c-4af2-a68d-a330df553abd gsm --
root@raspberrypi3:/#
cellular was created with:
nmcli connection add type gsm con-name cellular ifname wwan0 apn mnet.bell.ca.ioe
But my wwan0 interface shows “unmanaged” and I cannot bring it up:
root@raspberrypi3:/# nmcli con up cellular ifname wwan0
Error: device 'wwan0' not compatible with connection 'cellular'.
root@raspberrypi3:/#
root@raspberrypi3:/# nmcli device status
DEVICE TYPE STATE CONNECTION
eth0 ethernet connected Wired connection 1
lo loopback unmanaged --
wwan0 wwan unmanaged --
The newly created cellular connection appears in system-connections:
root@raspberrypi3:/etc/NetworkManager/system-connections# ls
cellular
root@raspberrypi3:/etc/NetworkManager/system-connections#
Interesting, the eth0 Wired connection 1 is not shown in that directory, nor can I find a definition for it. An interfaces file does not exist.
root@raspberrypi3:/# find . -iname "interfaces"
root@raspberrypi3:/#
If you are available to assist I would appreciate hearing back from you.
Many thanks!
- Phil