Re: [PATCH 3/4] devices/wifi: Add the wifi-backend config option

2017-12-05 Thread Andrew Zaborowski
Hi Dan, On 5 December 2017 at 17:47, Dan Williams wrote: > On Tue, 2017-12-05 at 16:26 +0100, Andrew Zaborowski wrote: >> Let the config file select between creating classes of NMDeviceWifi >> (for the usual wpa_supplicant based devices) and NMDeviceIwd >> depending >> on the new NetworkManager.c

signal for (De)ActivateConnection?

2017-12-05 Thread Michael Hirmke
Hi *, after one of the latest NetworkManager upgrades one of my perl scripts stopped working, obviously because listening to dbus' NetworkManager DeviceAdded/DeviceRemoved signals no longer covers my strongswan vpn connections. Using dbus-monitor --system "interface='org.freedesktop.NetworkManag

Re: [PATCH 3/4] devices/wifi: Add the wifi-backend config option

2017-12-05 Thread Dan Williams
On Tue, 2017-12-05 at 16:26 +0100, Andrew Zaborowski wrote: > Let the config file select between creating classes of NMDeviceWifi > (for the usual wpa_supplicant based devices) and NMDeviceIwd > depending > on the new NetworkManager.conf setting. This seems wrong to me. We usually try to keep thi

[PATCH] tree-wide: Cast after g_object_ref() for proposed GLib patch

2017-12-05 Thread Colin Walters
This fixes the build with https://bugzilla.gnome.org/show_bug.cgi?id=790697 --- libnm-glib/nm-remote-connection.c | 6 +++--- src/settings/plugins/ibft/nms-ibft-plugin.c | 2 +- src/settings/plugins/ifcfg-rh/nms-ifcfg-rh-plugin.c | 2 +- 3 files changed, 5 insertions(+),

[PATCH 1/4] devices/wifi: Add NMDeviceIwd class to support IWD backend

2017-12-05 Thread Andrew Zaborowski
This is very similar to NMDeviceWifi but simplified to remove the things currently unsupported and with calls to nm_platform_wifi_* and nm_supplicant_* replaced with IWD DBus API calls. Only unsecured infrastructure-mode networks are supported here. --- Makefile.am |6 +

[PATCH 2/4] devices/wifi: Track IWD devices, match to NMDeviceIwd objects

2017-12-05 Thread Andrew Zaborowski
Add the NMIwdManager singleton to be responsible for matching NMDeviceIwd objects created from platform devices, to IWD Device dbus objects when they appear/disappear. --- Makefile.am | 4 +- src/devices/wifi/nm-device-iwd.c | 41 + src/devices/wifi/nm-device-iwd.h |

[PATCH 4/4] devices/wifi: Register an IWD PSK agent on dbus

2017-12-05 Thread Andrew Zaborowski
Add the PSK agent support to support PSK networks. Note that the PSK itself will be saved by IWD on the first successful connection to the network and will not be updated when it is changed by the user on the NM side, this still needs fixing like a bunch of other problems. --- src/devices/wifi/nm

[PATCH 3/4] devices/wifi: Add the wifi-backend config option

2017-12-05 Thread Andrew Zaborowski
Let the config file select between creating classes of NMDeviceWifi (for the usual wpa_supplicant based devices) and NMDeviceIwd depending on the new NetworkManager.conf setting. --- man/NetworkManager.conf.xml| 13 + src/devices/wifi/nm-wifi-factory.c | 23