[Networkmanager] Regarding libnm documentation and network monitoring code

manjunatha srinivasan manjunathan.n at gmail.com
Fri Jun 23 11:47:44 UTC 2023


Hi Frédéric

Thanks for your inputs. I will check.

Manjunatha Srinivasan N


On Thu, 22 Jun 2023 at 22:53, Frédéric Martinsons <
frederic.martinsons at gmail.com> wrote:

> What's wrong with the link you provided ? It contains all materials needed
> to understand networkmanager usage and deep dive (it contains the source
> code, example of usage, plug-in documentation... Etc).
> This link is way better and clearer that one could have got, let's say two
> years ago.
> This is the entry point for everyone which want to get knowledge on
> networkmanager itself.
>
> There are some example in source code itself, you can take a look at
> examples directory (as the name suggest).
>
> For dbus and gobject, I think you should take a look at (respectively)
> https://dbus.freedesktop.org/doc/dbus-tutorial.html and
> https://docs.gtk.org/gobject/ (these are the first results of a simple
> web search but I personnaly don't find them as readable/understandable as
> networkmanager doc is).
>
> Maybe I misunderstood your request but may I suggest you read more the
> tons of material that can be found about networkmanager on the web and come
> back here with more precise request?
>
> Have a nice day.
>
> Le jeu. 22 juin 2023, 17:24, manjunatha srinivasan <
> manjunathan.n at gmail.com> a écrit :
>
>> Hi
>> Please confirm any other place of reference other than
>> https://networkmanager.dev/
>> Regards
>> Manjunatha Srinivasan N
>>
>>
>> On Thu, 22 Jun 2023 at 20:22, manjunatha srinivasan <
>> manjunathan.n at gmail.com> wrote:
>>
>>> Hi
>>> I am trying to write stand alone code using libnm for monitor interface
>>> status like
>>> connected/connecting/disconnecting/disconnected/unmanaged/unavailable for
>>> ethernet,wifi. Initially I want to monitor the ethernet,wifi. Later I want
>>> to add other network interfaces.  I don't want to use the nmcli command
>>> like "nmcli monitor/nmcli device status".
>>> I was looking for documentation for understanding NetworkManager, libnm,
>>> gobject, D-Bus relations. I could not find documents or videos.
>>> Also I am looking at NetworkManager nmcli source code.  But still I
>>> didn't get the flow of the code.
>>> Please suggest sample code for network monitoring, documents etc.
>>>
>>> Thanks
>>> Manjunatha Srinivasan N
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/networkmanager/attachments/20230623/2ecffb6f/attachment.htm>


More information about the Networkmanager mailing list