Re: Documentation



Thanks, I don't use the python now.  Is there function of activating the connection to Wifi network if I have already setted the SSID., such as   nm_device_wifi_get_capabilities (device);

I have found nm_client_activate_connection (NMClient *client,
                                                         const char *service_name,
const char *connection_path,
NMDevice *device,
const char *specific_object,
NMClientActivateDeviceFn callback,
gpointer user_data);
But I don't know how to use this function if I knew the SSID, Channel, username, password.

Thank you very much!


W




On Tue, Mar 30, 2010 at 12:52 PM, Mads Kiilerich <mads kiilerich com> wrote:
Dan Williams wrote, On 03/30/2010 09:39 PM:

On Fri, 2010-03-26 at 11:10 +0100, Jirka Klimes wrote:
 
On Thursday 25 of March 2010 22:37:34 Bluesky_greenleaf wrote:
   
Thanks, But don't find the some examples in source tree of NM in examples
directory.
     
http://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/examples/python
Actually, there are just 3 examples now.
   
I do need to make a settings service example too, yeah.  If anyone has
examples to contribute, be they C or python or whatever, lets get them
in there.
 

Feel free to take what you can use from http://mail.gnome.org/archives/networkmanager-list/2010-March/msg00111.html

/Mads
_______________________________________________
NetworkManager-list mailing list
NetworkManager-list gnome org
http://mail.gnome.org/mailman/listinfo/networkmanager-list



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