[Bug 1435328] Re: Leaving Wifi does not connect to mobile carrier data (GSM)

2015-05-12 Thread Pat McGowan
** Changed in: canonical-devices-system-image Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1435328 Title: Leaving Wifi does not connect to mobile carrie

[Bug 1435328] Re: Leaving Wifi does not connect to mobile carrier data (GSM)

2015-04-30 Thread Pat McGowan
** Changed in: canonical-devices-system-image Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1435328 Title: Leaving Wifi does not connect to mobile carrier

[Bug 1435328] Re: Leaving Wifi does not connect to mobile carrier data (GSM)

2015-04-30 Thread Pat McGowan
** Changed in: canonical-devices-system-image Milestone: ww17-2015 => ww19-ota -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1435328 Title: Leaving Wifi does not connect to mobile carrier data (

[Bug 1435328] Re: Leaving Wifi does not connect to mobile carrier data (GSM)

2015-04-29 Thread Tony Espy
Marked as FixReleased for vivid, as a new version has landed in our new overlay PPA: 1.12.bzr6894+15.04.20150424.1-0ubuntu1. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1435328 Title: Leaving Wifi

[Bug 1435328] Re: Leaving Wifi does not connect to mobile carrier data (GSM)

2015-04-29 Thread Tony Espy
@eotakos Providing instructions for how to build the package from scratch are outside of the scope of this bug. You'd need to install all of the build dependencies for ofono, most of which aren't available from the default root filesystem. The only safe way to do this is to install a chroot on y

[Bug 1435328] Re: Leaving Wifi does not connect to mobile carrier data (GSM)

2015-04-27 Thread eotakos
I tried to ./configure the package with the fix, giving the parameters specified in the readme file, but still I'm getting no such file or directory error. ( I did install GCC , plus the glib and d-bus libraries as asked). Anything else I maybe doing wrong? Thanks and sorry if there's something o

[Bug 1435328] Re: Leaving Wifi does not connect to mobile carrier data (GSM)

2015-04-27 Thread Launchpad Bug Tracker
This bug was fixed in the package ofono - 1.12.bzr6894+15.04.20150415 ~rtm-0ubuntu1 --- ofono (1.12.bzr6894+15.04.20150415~rtm-0ubuntu1) 14.09; urgency=medium [ Tony Espy ] * rilmodem/gprs-context.c: if data call list is empty, disconnect (LP: #1435328) If a DATA_CALL_LIST_CH

[Bug 1435328] Re: Leaving Wifi does not connect to mobile carrier data (GSM)

2015-04-22 Thread Ricardo Salveti
** Changed in: canonical-devices-system-image Status: Confirmed => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1435328 Title: Leaving Wifi does not connect to mobile carrier dat

[Bug 1435328] Re: Leaving Wifi does not connect to mobile carrier data (GSM)

2015-04-22 Thread Launchpad Bug Tracker
** Branch linked: lp:~phablet-team/ofono/vivid-ww17-update -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1435328 Title: Leaving Wifi does not connect to mobile carrier data (GSM) To manage notifica

[Bug 1435328] Re: Leaving Wifi does not connect to mobile carrier data (GSM)

2015-04-22 Thread Tony Espy
@Alfonso So I agree that the modem disconnect seen when WiFi is toggled off is rare, that said, per my previous comment #38, it looks NM definitely gets in a state where it doesn't recover. I didn't see where you specified how long you waited after the disconnect; it's possible that this is a per

[Bug 1435328] Re: Leaving Wifi does not connect to mobile carrier data (GSM)

2015-04-22 Thread Alfonso Sanchez-Beato
@Tony No, I cannot reproduce anymore easily. That SIM has now credit, and even when it did not have the sequence in #26 was not happening any more after a couple of days. What I interpret from syslog in #26 is: 1. Apr 14 07:48:54 ubuntu-phablet nm-dispatcher: Dispatching action 'down' for wlan

[Bug 1435328] Re: Leaving Wifi does not connect to mobile carrier data (GSM)

2015-04-21 Thread Tony Espy
@Alfonso Regarding comment #26, to be clear, your exact scenario was this: 1. Install SIM with no data credit in slot1; this connection comes up, but any attempt to send/receive data fails 2. Activate WiFi, and wait till it associates with an AP 3. Disable WiFi ( this forces a disconnect of the

Re: [Bug 1435328] Re: Leaving Wifi does not connect to mobile carrier data (GSM)

2015-04-21 Thread Zygmunt Krynicki
Hey. I'm using latest RTM and I still routinely reboot after leaving my wifi network. Turning off wifi through the indicator doesn't help (that's what I do to save battery life) and just keeps the phone disconnected for hours. On Tue, Apr 21, 2015 at 6:25 PM, Tony Espy <1435...@bugs.launchpad.net

[Bug 1435328] Re: Leaving Wifi does not connect to mobile carrier data (GSM)

2015-04-21 Thread Tony Espy
@Alfonso To be clear, I attempted to simulate the failure by hard-coding a route failure on the 3rd route switch ( when WiFi is toggled off, NM replaces the route with the modem's interface ). This definitely left the connection inconsistent with the actual routing table, but I next was able to d

[Bug 1435328] Re: Leaving Wifi does not connect to mobile carrier data (GSM)

2015-04-21 Thread Alfonso Sanchez-Beato
@Tony, ok, probably after applying the ofono patch it is difficult to have this happening in RTM so it is not worth the effort. But I think we should fix this in vivid / NM 0.9.10, if the routing logic is still the same. -- You received this bug notification because you are a member of Ubuntu Bug

[Bug 1435328] Re: Leaving Wifi does not connect to mobile carrier data (GSM)

2015-04-20 Thread Tony Espy
@Alfonso So looking closer at NM 0.9.8, the routing is updated by nm-policy.c in its device_state_changed() function. It calls update_routing_and_dns() in several places, which in turn calls update_ip4_routing(), which in turn calls nm_system_replace_default_ip4_route(). Only the last function r

[Bug 1435328] Re: Leaving Wifi does not connect to mobile carrier data (GSM)

2015-04-20 Thread Tony Espy
Please disregard comment #31, as it's incorrect and discusses the wrong routing code. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1435328 Title: Leaving Wifi does not connect to mobile carrier dat

[Bug 1435328] Re: Leaving Wifi does not connect to mobile carrier data (GSM)

2015-04-15 Thread Alfonso Sanchez-Beato
Side note: I have created bug #1444314 to address a weird thing I have seen in the files attached in comments #7 and #8. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1435328 Title: Leaving Wifi doe

[Bug 1435328] Re: Leaving Wifi does not connect to mobile carrier data (GSM)

2015-04-14 Thread Tony Espy
I think the issue is the the nm_system_apply_ip4_config () method always returns TRUE, ignoring any errors from nm_system_device_set_ip4_route (), which returns NULL to signify an error adding a route. I've added a preliminary fix for this, by adding logic to check for NULL and immediately return

[Bug 1435328] Re: Leaving Wifi does not connect to mobile carrier data (GSM)

2015-04-14 Thread Tony Espy
** Branch linked: lp:~awe/network-manager/lp1435328 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1435328 Title: Leaving Wifi does not connect to mobile carrier data (GSM) To manage notifications a

[Bug 1435328] Re: Leaving Wifi does not connect to mobile carrier data (GSM)

2015-04-14 Thread Tony Espy
Here's the latest update on what we know about this bug. First, we have working fix for ofono's behavior when a DATA_CALL_LIST_CHANGED message is received with an empty call list, and the context stays active but becomes stale/non-working. This should land in a silo by early tomorrow. Second, Al

[Bug 1435328] Re: Leaving Wifi does not connect to mobile carrier data (GSM)

2015-04-14 Thread Pat McGowan
** Tags added: bq hotfix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1435328 Title: Leaving Wifi does not connect to mobile carrier data (GSM) To manage notifications about this bug go to: https:

[Bug 1435328] Re: Leaving Wifi does not connect to mobile carrier data (GSM)

2015-04-14 Thread Tony Espy
Turns out pending version of NM was used for the vivid testing mentioned in comments #26 and #27. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1435328 Title: Leaving Wifi does not connect to mobile

[Bug 1435328] Re: Leaving Wifi does not connect to mobile carrier data (GSM)

2015-04-14 Thread Tony Espy
So in theory, NM should react to the context 'Settings' property changing to empty, and tear down the connection. For vivid testing, it's important however that the most recent version of NM which fixes the NM 5m reconnect bug #1418077 is used. This version is currently in the following silo: ht

[Bug 1435328] Re: Leaving Wifi does not connect to mobile carrier data (GSM)

2015-04-14 Thread Alfonso Sanchez-Beato
Some more traces when reproducing the bug: /system/bin/logcat -v threadtime -b main -b radio ... 04-14 09:31:21.057 1844 1861 D use-Rlog/RLOG-AT: +CGEV: NW DEACT "IP", "100.125.255.239", 1 ... 04-14 09:31:21.058 1844 1861 D use-Rlog/RLOG-RIL: configureNetworkInterface: Down E 04-14 09:31:21

[Bug 1435328] Re: Leaving Wifi does not connect to mobile carrier data (GSM)

2015-04-14 Thread Alfonso Sanchez-Beato
@Tony, great catch! I have tested your changes and reproduced the bug. Now list-contexts does not show any active context when ccmni0 is down. However, NM is not able to recover from this situation. It tries to add routes before we get the UNSOL_DATA_CALL_LIST_CHANGED event in ofono. After that it

[Bug 1435328] Re: Leaving Wifi does not connect to mobile carrier data (GSM)

2015-04-13 Thread Tony Espy
** Branch linked: lp:~phablet-team/ofono/lp1435328 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1435328 Title: Leaving Wifi does not connect to mobile carrier data (GSM) To manage notifications ab

[Bug 1435328] Re: Leaving Wifi does not connect to mobile carrier data (GSM)

2015-04-13 Thread Tony Espy
OK, I think I figured it out after looking at a radio log of the problem reproduced by Alfonso. First, there are a couple of MTK-specific unsolicited events that are received that look suspicious: RIL_UNSOL_RESPONSE_PS_NETWORK_STATE_CHANGED UNSOL_RESTRICTED_STATE_CHANGED RIL_UNSOL_RESPONSE_PS_NET