Using ModemManager getting IP but not reflecting to NetworkManager

NIKHIL PATIL nikhilvp29 at gmail.com
Fri Sep 11 15:16:57 UTC 2020


Hi Aleksander,
       Hi Aleksander ,
      We are installing NetworkManager and ModemManager as a package while
yocto image building .
      Networkmanager Version :- 1.10.6
      ModemManager version :- 1.6.4
1)  You mean that no need to run mmcli commands manually , when module
detects networkmanager will automatically take ip from there.

2)  > 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
built?
  yes. i am building Networkmanager with ModemManager  , how to give
explicit configure option .
  do you want Networkmanager status report ?


On Fri, Sep 11, 2020 at 4:13 PM Aleksander Morgado <aleksander at aleksander.es>
wrote:

> Please CC the mailing list
>
> On Fri, 11 Sep 2020, 11:49 NIKHIL PATIL, <nikhilvp29 at gmail.com> wrote:
>
>> Hi Aleksander ,
>>       We are installing NetworkManager and ModemManager as a package
>> while yocto image building .
>>       Networkmanager Version :- 1.10.6
>>       ModemManager version :- 1.6.4
>> 1)  You mean that no need to run mmcli commands manually , when module
>> detects networkmanager will automatically take ip from there.
>>
>> 2)  > 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
>> built?
>>   yes. i am building Networkmanager with ModemManager  , how to give
>> explicit configure option .
>>   do you want Networkmanager status report ?
>>
>>
>> On Fri, Sep 11, 2020 at 1:22 PM Aleksander Morgado <
>> aleksander at aleksander.es> wrote:
>>
>>> Hey,
>>>
>>> >
>>> > 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
>>> built?
>>>
>>> --
>>> Aleksander
>>> https://aleksander.es
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20200911/79071251/attachment.htm>


More information about the ModemManager-devel mailing list