ofono is picking the wrong APN settings

Bug #1222106 reported by Alfred E. Neumayer
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ofono (Ubuntu)
Fix Released
Undecided
Alfonso Sanchez-Beato

Bug Description

I'm on T-Mobile AT and I've noticed that I wasn't able to connect to 3G on maguro.

The problem:
ofono picked the wrong APN settings from /usr/share/mobile-broadband-provider-info/serviceproviders.xml
From all the supplied APNs that are related to T-Mobile AT (<network-id mcc="232" mnc="03"/>),
ofono picked the "gprswap" APN instead of the correct "gprsinternet" one.

The workaround:
Remove the "gprswap" APN from /usr/share/mobile-broadband-provider-info/serviceproviders.xml, rm -rf /var/lib/ofono/* and reboot.

The fix in 2 steps:
1) Prefer usage type="internet" over type="wap"
2) Offer a GUI in the Settings app to choose between APNs (since the "internet.business" APN is also of type="internet")

Related branches

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

Thanks for the bug report.

We've actually been considering moving to a different provisioning plugin which uses a different back-end database which would use an Android sourced APN database.

That said, your suggestion to prefer "internet" over "wap" is also valid.

Finally, regarding Setting UI for editing the APN... this has been brought to the attention of designer(s) and engineers working on system setting. In my opinion this is a must-have feature.

Changed in touch-preview-images:
status: New → Confirmed
assignee: nobody → Tony Espy (awe)
Tony Espy (awe)
Changed in ofono (Ubuntu):
status: New → Confirmed
assignee: nobody → Tony Espy (awe)
no longer affects: touch-preview-images
Tony Espy (awe)
Changed in ofono (Ubuntu):
status: Confirmed → In Progress
Changed in ofono (Ubuntu):
assignee: Tony Espy (awe) → Alfonso Sanchez-Beato (alfonsosanchezbeato)
Revision history for this message
Tony Espy (awe) wrote :

FYI, I opened the following ubuntu-system-settings bug for the lack of a UI to edit the APN.

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

Oops, and it's bug #1225174.

Tony Espy (awe)
Changed in ofono (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ofono - 1.12+bzr6837-0ubuntu1

---------------
ofono (1.12+bzr6837-0ubuntu1) saucy; urgency=low

  [ Alfonso Sanchez-Beato ]
  * Fix for LP: #1231320: GPRS provisioning is broken for old
    (non-USIM) SIM cards in Ubuntu
  * Fix for LP: #1222106: ofono is picking the wrong APN settings
    in Ubuntu

  [ Tony Espy ]
  * Fix crash in ril_query_passwd_state() (LP: #1231995).
 -- Ricardo Salveti de Araujo <email address hidden> Sun, 13 Oct 2013 18:14:48 -0300

Changed in ofono (Ubuntu):
status: Fix Committed → Fix Released
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.