[krillin] Data connection doesn't switch from Wifi to Cellular

Bug #1410113 reported by Jean-Baptiste Lallement
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Confirmed
Undecided
Unassigned
network-manager (Ubuntu)
Confirmed
Medium
Unassigned
network-manager (Ubuntu RTM)
Confirmed
Medium
Unassigned

Bug Description

Conditions to reproduce are not clear.
*Sometimes* when going out of Wifi range, data doesn't switch to 3G. I waited 45min and the connection never established. When I'm back within Wifi range, the device reconnects to the AP and data is working.

I didn't play with airplane mode.

ProblemType: Bug
DistroRelease: Ubuntu RTM 14.09
Package: network-manager 0.9.8.8-0ubuntu33
Uname: Linux 3.4.67 armv7l
ApportVersion: 2.14.7-0ubuntu8
Architecture: armhf
CRDA: Error: [Errno 2] No such file or directory: 'iw'
Date: Tue Jan 13 09:34:02 2015
IfupdownConfig:
 # interfaces(5) file used by ifup(8) and ifdown(8)
 # Include files from /etc/network/interfaces.d:
 source-directory /etc/network/interfaces.d
InstallationDate: Installed on 2015-01-12 (1 days ago)
InstallationMedia: Ubuntu Utopic Unicorn (development branch) - armhf (20150112-030205)
IpRoute:
 default via 192.168.1.254 dev wlan0 proto static
 192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.16 metric 9
NetworkManager.state:
 [main]
 NetworkingEnabled=true
 WirelessEnabled=true
 WWANEnabled=true
 WimaxEnabled=true
PciNetwork:

SourcePackage: network-manager
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.dbus.1.system.d.org.freedesktop.NetworkManager.conf: 2014-12-18T18:05:17
nmcli-dev:
 DEVICE TYPE STATE DBUS-PATH
 /ril_0 gsm connected /org/freedesktop/NetworkManager/Devices/2
 /ril_1 gsm disconnected /org/freedesktop/NetworkManager/Devices/1
 wlan0 802-11-wireless connected /org/freedesktop/NetworkManager/Devices/0
nmcli-nm:
 RUNNING VERSION STATE NET-ENABLED WIFI-HARDWARE WIFI WWAN-HARDWARE WWAN
 running 0.9.8.8 connected enabled enabled enabled enabled disabled

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Here are some logs, let me know what additional information you need if I can reproduce.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

It happened again yesterday and today.

Revision history for this message
Tony Espy (awe) wrote : Re: [krillin] Data connection doesn't switch from Wifi to Cellular (3G/4G)

Changed the summary to include "[krillin]" as the report doesn't include any mention of other devices.

summary: - Data connection doesn't switch from Wifi to Cellular (3G/4G)
+ [krillin] Data connection doesn't switch from Wifi to Cellular (3G/4G)
Revision history for this message
John McAleely (john.mcaleely) wrote :

There's no 4G on Krillin

tags: added: bq
summary: - [krillin] Data connection doesn't switch from Wifi to Cellular (3G/4G)
+ [krillin] Data connection doesn't switch from Wifi to Cellular
description: updated
tags: added: connectivity
Revision history for this message
Tony Espy (awe) wrote :

This may be the same as bug #1436427. Since that bug has a specific scenario ( which has been Confirmed for RTM ), I'm going to leave these as separate bugs.

I'm pretty sure another scenario is when a user walks out of range of a WiFi access point, NM doesn't seem to failover to the mobile data connection. If we can reproduce this scenario, we can use this bug for it for now.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in network-manager (Ubuntu):
status: New → Confirmed
Revision history for this message
Tony Espy (awe) wrote :

@Jean-Baptiste

One other question... when this happens, does the indicator show that you're connected to 3G, or does it show a WiFi connection with minimal signal strength ( eg. one bar...which looks like a dot )?

When the device is at the extreme extent of an access point's range, it can get into a situation where data cannot be transfered, yet the phone still appears to be associated with the access point. In my testing, this happens with Android and iOS as well. It's only after the WiFi disconnects that mobile data should take over.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

When it happens it shows the 'no connection' icon (attached)

Revision history for this message
Tony Espy (awe) wrote :

@Jean-Baptiste

A few more questions...

How many SIMs were installed? If more than one, do both have active data plans? Which SIM is selected for mobile data ( see Cellular Settings ).

Finally, if you can reproduce this again, can you please add the following to the bug:

1) The output of /usr/share/ofono/scripts/list-modems and list-contexts ( you may want to strip out SubscriberNumbers or SubscriberIdentity )

2) The output of 'nmcli d'

3) the output of 'ip route'

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Only the first SIM has a data plan, the second SIM is for testing and only accepts incoming calls.

In system-settings the second SIM was selected. It is not the first time I notice this. Initially I thought I did a mistake but this time I'm sure I didn't intentionally select the second SIM.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

I originally flashed this device on 2015-03-24 and had cellular data at some point (I remember seeing the connection icon switching to 3G, H, E or 2G when going out of range of a wifi AP)

I applied every OTA since I first flashed it and rebooted each time.

Changed in network-manager (Ubuntu RTM):
status: New → Confirmed
Changed in canonical-devices-system-image:
status: New → Confirmed
Changed in network-manager (Ubuntu):
importance: Undecided → Medium
Changed in network-manager (Ubuntu RTM):
importance: Undecided → Medium
Revision history for this message
Tony Espy (awe) wrote :

Based on comment #11, I'm making this a duplicate of bug #1413672. If there are any objections, please feel free to un-dup, but please provide an explanation if doing so.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.