Using ModemManager getting IP but not reflecting to NetworkManager
aleksander at aleksander.es
Fri Sep 11 07:52:13 UTC 2020
> 1) Without giving manually a mmcli commands then how we can give ? and when NetworkManager take automatically ip from ModemManager (mmcli -b 0) and
> assign to LTE interface ?
Not sure I understood the question :)
The idea when using the MM+NM combo is that ideally you can completely
ignore using mmcli commands. It is NM the one that detects that a
modem is exposed by MM, and it is NM the one that triggers the
connection of the modem; and once it is connected, it is NM the one
that takes the IP settings from the exposed bearer object and applies
those settings to the network interface.
Only creating a "gsm" setting in NM and attempting to connect it
should be enough to get the whole setup up and running.
> 2) nmcli d output :-
> DEVICE TYPE STATE CONNECTION
> wwp0s21f0u5i4 wwan disconnected ----
> here TYPE is wwan coming not gsm , when we are running nmcli c add type gsm con-name quectel apn internet command
> here we are giving TYPE as gsm . is it will make issue ?
Are you building NetworkManager with the --with-modem-manager-1
explicit configure option? Can you confirm whether that's the case?
Actually, could you post the output of the configure report when NM is
More information about the ModemManager-devel