Phone with an APN specifying Username/Password, not re-connecting to mobile data until rebooting
Bug #1450790 reported by
Michael Zanetti
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Tony Espy | ||
network-manager (Ubuntu) |
In Progress
|
Critical
|
Tony Espy | ||
network-manager (Ubuntu RTM) |
Fix Released
|
Critical
|
Tony Espy | ||
ofono (Ubuntu) |
Invalid
|
Critical
|
Unassigned |
Bug Description
Whenever I walk out of WiFi range, my phone does not connect to mobile data. Toggling flight mode does not help. I have to reboot the phone. When then I finally manage to connect after rebooting, if the signal strength drops and the phone would want to switch from 3G to 2G, it disconnects and I have to reboot again to get mobile data.
$ system-image-cli -i
current build number: 200
device name: krillin
channel: ubuntu-
alias: ubuntu-
last update: 2015-04-30 11:07:21
version version: 200
version ubuntu: 20150429
version device: 20150326-f0c5ba5
version custom: 20150429
Attached you'll find the output of the forensics script
Related branches
lp://staging/~phablet-team/network-manager/lp1435776
- Alfonso Sanchez-Beato: Approve
-
Diff: 69 lines (+49/-0)3 files modifieddebian/changelog (+9/-0)
debian/patches/lp1435776_rm_ofono_secret_settings.patch (+39/-0)
debian/patches/series (+1/-0)
Changed in canonical-devices-system-image: | |
assignee: | nobody → Tony Espy (awe) |
Changed in network-manager (Ubuntu): | |
assignee: | nobody → Tony Espy (awe) |
Changed in ofono (Ubuntu): | |
assignee: | nobody → Tony Espy (awe) |
Changed in network-manager (Ubuntu): | |
status: | New → In Progress |
Changed in ofono (Ubuntu): | |
status: | New → Incomplete |
summary: |
- Phone not connecting to mobile data until rebooting + Phone with n APN specifying Username/Password, not re-connecting to + mobile data until rebooting |
summary: |
- Phone with n APN specifying Username/Password, not re-connecting to + Phone with an APN specifying Username/Password, not re-connecting to mobile data until rebooting |
Changed in canonical-devices-system-image: | |
milestone: | none → ww22-2015 |
importance: | Undecided → High |
tags: | added: connectivity |
Changed in network-manager (Ubuntu RTM): | |
status: | New → Fix Committed |
Changed in network-manager (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in network-manager (Ubuntu RTM): | |
importance: | Undecided → Critical |
assignee: | nobody → Tony Espy (awe) |
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 |
To post a comment you must log in.
@Michael
Thanks for the logs...
If you can reproduce reliably, could you add the output of 'list-modems' ( found in /usr/share/ ofono/scripts ) and 'list-contexts'?
The error logs you provided show a couple of weird things...
First, I saw a whole bunch of SIM PIN errors reported by ofono. It appears that you have two SIMs installed in the phone as well, are either of these SIMs PIN-locked? The indicator-network log shows an error unlocking a SIM too.
Also, from the syslog it appears that at some point you used the APN Editor, and there's a custom Internet APN with a blank AccessPointName defined. This APN looks to be the same APN that's returning errors when NM tries to activate it ( see errors for context3 in the syslog ).
Could you try the following and see if it resolves your problems?
As root:
# stop ofono
# cd /var/lib/ofono
There should be at least two directories that are a long string of numbers. The numbers are the SubscriberIdentity from your SIM cards. Ignore the dirs with trailing "-", and cd into the other directories and remove the files named 'gprs'. Or if you'd like, you can edit these files and just remove the offending __custom_ internet_ apn context.
# reboot
This will cause your phone to reprovision itself, and get rid of the offending APN.
We actually spent quite a bit of time this past week at our sprint working on the APN editor, and hopefully can roll out some improvements ( including the ability to force re-provisioning from the UI ) soon.