Re: Interfacing with NetworkManagerUserSettings



On Feb 24, 2010, at 3:57 PM, Dan Williams wrote:

> On Fri, 2010-02-19 at 16:34 -0800, Greg Suarez wrote:
>> Hi,
>> 
>> I'm writing a program to manage wifi profiles and wish to communicate
>> the Connection objects to the NetworkManager.
>> I can't seem to find documentation on the communication between the
>> NetworkManager the the program providing the user settings.
>> Can someone point me to where I can get this information or describe
>> what I need to do?
> 
> http://projects.gnome.org/NetworkManager/developers/spec-08.html
> 
> you're looking for anything that starts with:
> 
> org.freedesktop.NetworkManagerSettings
> 
> Both the system settings and user settings services implement this D-Bus
> interface.  Essentially, your program needs to respond to the
> ListConnections method with an array of the object paths of it's
> Connection objects.  Then it also implements the GetSettings method for
> each of those connection objects so NM can get the actual connection
> details.  You'll also want to implement the .Secrets interface there so
> that NM can get network passwords.  Let me know if more you need more
> explanation.
> 
> Dan
> 
> 
Thanks Dan,

Would my program need to request the dbus name org.freedesktop.NetworkManagerUserSettings or can I use another name?
If I need to use org.freedesktop.NetworkManagerUserSettings wouldn't that interfere with nm-applet?

Greg


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]