No connection after returning from area without coverage
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
Critical
|
John McAleely | ||
network-manager (Ubuntu) |
Fix Committed
|
Critical
|
Tony Espy |
Bug Description
After moving in an out of my own "faraday cage" an ubuntu phone, NM got into an state where *both* WiFi and cellular data were disconnected and NM was not able to recover.
****************
* This still happens with network-manager 1.1.93-
phablet@
current build number: 336
device name: krillin
channel: ubuntu-
last update: 2016-05-17 09:19:51
version version: 336
version ubuntu: 20160517
version device: 20160329-a9bacdb
version custom: 20160505-975-38-9
****************
Originally reported for:
NM version:
network-manager 0.9.10.
root@ubuntu-
current build number: 298
device name: krillin
channel: ubuntu-
last update: 2016-03-30 16:58:21
version version: 298
version ubuntu: 20160330
version device: 20160323-1467d3c
version custom: 20160324-
phablet@
DEVICE TYPE STATE CONNECTION
ril_0 gsm connecting (prepare) /21405003047989
wlan0 wifi disconnected --
ril_1 gsm unavailable --
ifb0 ifb unmanaged --
ifb1 ifb unmanaged --
lo loopback unmanaged --
ip6tnl0 unknown unmanaged --
sit0 unknown unmanaged --
tunl0 unknown unmanaged --
phablet@
NAME UUID TYPE DEVICE
WLAN_1609 fe9b17ad-
Wireless 98ff5b6f-
Ubuntu 549c352f-
/23430410791708
/21432101003621
/21405003047989
/21401930173741
phablet@
[ /ril_1 ]
[ /ril_0 ]
[ /ril_0/context1 ]
Settings = { Gateway=10.50.83.25 DomainNameServe
Name = Pepephone
Type = internet
Active = 1
Protocol = ip
Password =
Preferred = 0
Username =
[ /ril_0/context2 ]
Name = MMS Pepephone
Type = mms
Active = 0
Settings = { }
Preferred = 0
Password =
Protocol = ip
Username =
phablet@
ccmni0 Link encap:Ethernet HWaddr 46:23:7c:fb:73:cb
inet addr:10.50.83.25 Mask:255.0.0.0
UP RUNNING NOARP MTU:1500 Metric:1
RX packets:1995 errors:0 dropped:0 overruns:0 frame:0
TX packets:2299 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:603432 (603.4 KB) TX bytes:193513 (193.5 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:11189 errors:0 dropped:0 overruns:0 frame:0
TX packets:11189 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:1733281 (1.7 MB) TX bytes:1733281 (1.7 MB)
wlan0 Link encap:Ethernet HWaddr b8:64:91:47:21:b6
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:3184 errors:0 dropped:0 overruns:0 frame:0
TX packets:1626 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:308130 (308.1 KB) TX bytes:172906 (172.9 KB)
phablet@
[ /ril_1 ]
Serial = 354142069998062
Features = rat sim
Revision = MOLY.WR8.
Manufacturer = Fake Manufacturer
Powered = 1
Lockdown = 0
Interfaces = org.ofono.
Type = hardware
Model = Fake Modem Model
Online = 1
Emergency = 0
[ org.ofono.
[ org.ofono.
Present = 0
[ org.ofono.
Has3G = 0
[ org.ofono.
Muted = 0
[ org.ofono.
[ org.ofono.
[ /ril_0 ]
Serial = 354140069999981
Features = gprs ussd net sms rat sim
Revision = MOLY.WR8.
Manufacturer = Fake Manufacturer
Powered = 1
Lockdown = 0
Interfaces = org.ofono.
Type = hardware
Model = Fake Modem Model
Online = 1
Emergency = 0
[ org.ofono.
Bearer = gprs
Attached = 1
Powered = 1
Suspended = 0
[ org.ofono.Phonebook ]
[ org.ofono.
[ org.ofono.
VoiceBusy = +346808934593085
[ org.ofono.
[ org.ofono.
State = idle
[ org.ofono.
Technology = gsm
Status = registered
Mode = auto
CellId = 4321
Strength = 41
Name = pepephone
[ org.ofono.
[ org.ofono.
Bearer = cs-preferred
Alphabet = default
[ org.ofono.
[ org.ofono.
[ org.ofono.
LockedPins =
Retries = [puk = 10] [pin2 = 3] [pin = 3] [puk2 = 10]
Present = 1
PinRequired = none
[ org.ofono.
Has3G = 1
[ org.ofono.
Muted = 0
[ org.ofono.
[ org.ofono.
phablet@
phablet@
phablet@
GENERAL.DEVICE: ril_0
GENERAL.TYPE: gsm
GENERAL.HWADDR: (unknown)
GENERAL.MTU: 0
GENERAL.STATE: 40 (connecting (prepare))
GENERAL.CONNECTION: /21405003047989
GENERAL.CON-PATH: /org/freedeskto
GENERAL.DEVICE: wlan0
GENERAL.TYPE: wifi
GENERAL.HWADDR: B8:64:91:47:21:B6
GENERAL.MTU: 1500
GENERAL.STATE: 30 (disconnected)
GENERAL.CONNECTION: --
GENERAL.CON-PATH: --
...
Changed in network-manager (Ubuntu): | |
assignee: | nobody → Tony Espy (awe) |
importance: | Undecided → Critical |
tags: | added: hotfix |
Changed in canonical-devices-system-image: | |
status: | Confirmed → In Progress |
Changed in network-manager (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
tags: | added: nm-touch |
NOTE: On the cellular side, it seems like NM gets stuck into an intermediate state (connecting (prepare)). I was able to reproduce something very similar deterministically by doing:
stop network-manager ofono/scripts/ activate- context /ril_0 1
/usr/share/
start network-manager
It seems that NM cannot handle that unexpected connection when starting. When using the faraday cage, what happened is that NM was notified of a previous successful connection while in an intermediate state.