← Back to team overview

touch-packages team mailing list archive

[Bug 1450790] Re: Phone not connecting to mobile data until rebooting

 

@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.


** Changed in: network-manager (Ubuntu)
       Status: New => Incomplete

** Changed in: ofono (Ubuntu)
       Status: New => Incomplete

** Changed in: ofono (Ubuntu)
     Assignee: Tony Espy (awe) => Michael Zanetti (mzanetti)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1450790

Title:
  Phone not connecting to mobile data until rebooting

Status in the base for Ubuntu mobile products:
  New
Status in network-manager package in Ubuntu:
  Incomplete
Status in ofono package in Ubuntu:
  Incomplete

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-touch/devel-proposed
  alias: ubuntu-touch/vivid-proposed
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1450790/+subscriptions


References