NetworkManager status during startup
Hello, during startup we have a few scripts that have to know if the system is online or not. Therefore we wanted to use "nm-online -x" to detect the state, however this fails quite unexpectedly: it seems NetworkManager needs some time between returning and actually listening to requests. In the meantime it will report the system as being offline. Stopping NetworkManager and calling NetworkManager; nmcli dev has the same effect and will result in the message "Error: NetworkManager is not running." Is this behavior intentional and / or are there any other ways to get the current state without polling manually? Thanks a lot, Ignaz ___ networkmanager-list mailing list networkmanager-list@gnome.org https://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: MM 0.6.0 conflicts with USB GPS device?
On 06/10/2013 01:55 AM, poma wrote: >> > I don't think we should probe devices in the 'pci' subsystem unless >> > whitelisted with ID_MM_PLATFORM_DRIVER_PROBE. Can you grab this patch, >> > replace 'pnp' with 'pci' and retest? >> > >> > https://mail.gnome.org/archives/networkmanager-list/2013-June/txtfYzWozQRdF.txt > OK passed, plus we got a free scan prevention for NICs[1]. :) > > > poma We'll need to do some more things before handling this properly (i.e. the patch is not enough), see https://bugzilla.gnome.org/show_bug.cgi?id=701956 -- Aleksander ___ networkmanager-list mailing list networkmanager-list@gnome.org https://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: ModemManager serial port lock-files
On 06/09/2013 04:11 PM, Aleksander Morgado wrote: I now wonder if this 'pnp' subsystem can be considered fully equivalent >> > to the 'platform' one for our purposes. >> > Yes, PNP is basically equivalent to platform for us here. > > Dan, wouldn't we need to explicitly require the device to be in the > whitelist for this subsystem? See attached patch. > > > >>From dcf5106cc476ff3d3a1d1df2f2d0e98b8bf60c9c Mon Sep 17 00:00:00 2001 > From: Aleksander Morgado > Date: Sun, 9 Jun 2013 16:09:20 +0200 > Subject: [PATCH] manager: require whitelist for devices in the 'pnp' subsystem I pushed this patch to git master. -- Aleksander ___ networkmanager-list mailing list networkmanager-list@gnome.org https://mail.gnome.org/mailman/listinfo/networkmanager-list