Re: Programmatically adding a wireless connection to network manager configuration?

Thanks Pavel.  If I create a new configuration keyfile in /etc/NetworkManager/system-connections, any idea how long it will take NetworkManager to notice or is there something I can do to notify it to attempt a connection to the new AP?

On Mon, Jun 18, 2012 at 5:16 AM, Pavel Simerda <psimerda redhat com> wrote:
> I have an application that acquires wifi connection information from
> a user including SSID, encryption type (e.g., WPA2 Personal or WPA
> Enterprise) and password. Is there a way I can programmatically
> inform Network Manager about this new connection rather than require
> the user to access the applet from the desktop?

I'll leave the proper API answer to others (as I think it's not supported)... but what you *can* do is to let your app create the configuration files (e.g. in the built-in keyfile format) and use that.

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