NM/ofono FlightMode problem

2015-06-03 Thread Tony Espy
Dan -- I'd like to hear your opinion about the following problem I'm trying to solve, and your take on an idea I have of how to fix it. This occurs with the current version of NetworkManager we're using for Ubuntu on phones, 0.9.10.0-4ubuntu15.1.1 ( see [1] for bzr packaging branch ). One

Re: NetworkManager autoconnect

2015-06-03 Thread Tony Espy
On 06/03/2015 04:24 PM, Pieter Cardoen wrote: I've tested it with WiFi but I also need to know the behaviour of the wwan case. WiFi scanning interval was set to 10 seconds. I'll try it again tomorrow and verify the scan interval in advance. The WPA_supplicant application has the possibility to s

RE: NetworkManager autoconnect

2015-06-03 Thread Pieter Cardoen
I've tested it with WiFi but I also need to know the behaviour of the wwan case. WiFi scanning interval was set to 10 seconds. I'll try it again tomorrow and verify the scan interval in advance. The WPA_supplicant application has the possibility to set the autoscan argument to periodic or to e

RE: NetworkManager: network selection

2015-06-03 Thread Pieter Cardoen
This makes sense! Adapting the routing metric value shall allow me to use WiFi over the mobile connection. I've seen that WiFi connection has a higher metric value than the mobile connection so adapting it may make it work as I want it to. I'll try it tomorrow! Thanks for the help! Pieter > Su

Re: NetworkManager & WPA supplicant

2015-06-03 Thread Dan Williams
On Tue, 2015-06-02 at 21:04 +0200, Pieter Cardoen wrote: > Dear > > I want to use the option scan_ssid=0 for the wpa_supplicant configuration. > However when I add this line to the Wifi configuration keyfile of > NetworkManager, it is ignored by the NM daemon. How could I configure the > scan_s

Re: NetworkManager autoconnect

2015-06-03 Thread Dan Williams
On Wed, 2015-06-03 at 16:11 +0200, Pieter Cardoen wrote: > Dear > While network testing, I've noticed that NetworkManager automatically > connects to a network if its available. However when it isn't available, I've > noticed that NetworkManager stops trying to connect. What's the reason of > th

Re: NetworkManager: network selection

2015-06-03 Thread Dan Williams
On Wed, 2015-06-03 at 08:25 +0200, Pieter Cardoen wrote: > Thomas > Thanks for the reply. It made some things clear. It is for my application not > acceptable that the NetworkManager just prefers the most recently used > network but due to the priority feature, it is possible to prefer the WiFi

NetworkManager autoconnect

2015-06-03 Thread Pieter Cardoen
Dear While network testing, I've noticed that NetworkManager automatically connects to a network if its available. However when it isn't available, I've noticed that NetworkManager stops trying to connect. What's the reason of this and how could I make NetworkManager unconditionally try to conne

RE: Interaction with ModemManager

2015-06-03 Thread Pieter Cardoen
Dan This should be possible. I already have some experience with Python and NetworkManager-ModemManager. By now, there isn't a Python library available for the ModemManager dbus interface but there is for the NetworkManager dbus API. I used this Python script a starting point to write a dbus int

Re: Interaction with ModemManager

2015-06-03 Thread John Whitmore
On Thu, May 28, 2015 at 03:07:12PM -0500, Dan Williams wrote: > On Thu, 2015-05-28 at 15:30 +0100, John Whitmore wrote: > > I could probably send this message to the ModemManager list as well but I'll > > start here. > > > > I was on last week about connecting 2 4G LTE USB Dongles to a RaspberryP