Turning off WiFi doesn't set a route after the modem connects data
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Canonical Phone Foundations | ||
network-manager (Ubuntu) |
Incomplete
|
High
|
Tony Espy | ||
network-manager (Ubuntu RTM) |
Incomplete
|
High
|
Tony Espy | ||
ofono (Ubuntu) |
Fix Released
|
High
|
Tony Espy | ||
ofono (Ubuntu RTM) |
Fix Released
|
High
|
Tony Espy |
Bug Description
I just switched off WiFi in order to test if the device switches successfully to a mobile data connection. After disabling WiFi the indicator showed "H" in no time. So it would seem all is fine. I opened the browser and no data went through.
Here's the output of "ip route" and "list-contexts":
phablet@
[sudo] password for phablet:
phablet@
[ /ril_1 ]
[ /ril_0 ]
[ /ril_0/context1 ]
Name = E-Plus Web GPRS
Settings = { Netmask=
Username = eplus
Protocol = ip
Active = 1
Password = internet
Type = internet
[ /ril_0/context2 ]
Name = E-Plus MMS
Username = mms
Settings = { }
Protocol = ip
Active = 0
Password = eplus
Type = mms
[ /ril_0/context3 ]
Name = ___ubuntu_
Settings = { }
Username =
Protocol = ip
Active = 0
Password =
Type = internet
phablet@
current build number: 21
device name: krillin
channel: ubuntu-
last update: 2015-03-13 17:11:07
version version: 21
version ubuntu: 20150312
version device: 20150310-3201c0a
version custom: 20150216-561-29-186
description: | updated |
description: | updated |
Changed in network-manager (Ubuntu): | |
assignee: | nobody → Tony Espy (awe) |
Changed in network-manager (Ubuntu RTM): | |
assignee: | nobody → Tony Espy (awe) |
Changed in network-manager (Ubuntu): | |
importance: | Undecided → High |
Changed in network-manager (Ubuntu RTM): | |
importance: | Undecided → High |
tags: | added: connectivity |
Changed in network-manager (Ubuntu RTM): | |
status: | New → Confirmed |
description: | updated |
Changed in canonical-devices-system-image: | |
status: | New → Confirmed |
Changed in ofono (Ubuntu): | |
status: | New → In Progress |
Changed in ofono (Ubuntu RTM): | |
status: | New → In Progress |
Changed in ofono (Ubuntu): | |
importance: | Undecided → High |
Changed in ofono (Ubuntu RTM): | |
importance: | Undecided → High |
assignee: | nobody → Tony Espy (awe) |
Changed in ofono (Ubuntu): | |
assignee: | nobody → Tony Espy (awe) |
Changed in canonical-devices-system-image: | |
importance: | Undecided → High |
milestone: | none → ww19-ota |
status: | Confirmed → Fix Committed |
Changed in network-manager (Ubuntu): | |
status: | Confirmed → Incomplete |
Changed in network-manager (Ubuntu RTM): | |
status: | Confirmed → Incomplete |
Changed in ofono (Ubuntu): | |
status: | In Progress → Fix Released |
Changed in ofono (Ubuntu RTM): | |
status: | In Progress → Fix Released |
Changed in canonical-devices-system-image: | |
assignee: | nobody → Canonical Phone Foundations (canonical-phonedations-team) |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
This sounds similar to bug #1410113, which is a more generic bug. I'm not going to mark this a duplicate however as it has a reproducible scenario.
Also confirmed this bug for RTM, as I reproduced it on the third try. I verified that there was a mobile data connection and that it worked ( ie. I could ping ubuntu.com ), activated a WiFi connection, verified the routing table, and then disabled WiFi. On the third cycle, I ended up with an empty routing table:
phablet@ ubuntu- phablet: ~$ netstat -run
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
...that said, at some point, it looks like the system did recover at some later point, as it appears to have magically healed itself, and I know have a valid routing table, and usable mobile data connection.
I will continue to work on reproducing, and will add logs, and other data if/when I can do so again.
phablet@ ubuntu- phablet: ~$ system-image-cli -i touch/ubuntu- rtm/14. 09
current build number: 20
device name: krillin
channel: ubuntu-
last update: 2015-03-26 15:44:56
version version: 20
version ubuntu: 20150312
version device: 20150310-3201c0a
version custom: 20150216-561-29-186