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



On 17/06/12 16:30, Daniel McCue 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?

See the examples in the git repository[1]. There's a python example how
to add a system-connection[2].

Cheers,

Tom


[1]http://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/examples
[2]
http://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/examples/python/add-system-connection.py


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