ofono is picking the wrong APN settings
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/
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/
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
- PS Jenkins bot: Approve (continuous-integration)
- Tony Espy: Approve
-
Diff: 272 lines (+83/-33)8 files modifieddrivers/rilmodem/sim.c (+2/-2)
include/sim.h (+1/-0)
plugins/mbpi.c (+6/-1)
plugins/mbpi.h (+1/-0)
plugins/provision.c (+3/-2)
src/gprs.c (+23/-5)
src/sim.c (+45/-22)
tools/lookup-apn.c (+2/-1)
Changed in ofono (Ubuntu): | |
status: | New → Confirmed |
assignee: | nobody → Tony Espy (awe) |
no longer affects: | touch-preview-images |
Changed in ofono (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in ofono (Ubuntu): | |
assignee: | Tony Espy (awe) → Alfonso Sanchez-Beato (alfonsosanchezbeato) |
Changed in ofono (Ubuntu): | |
status: | In Progress → Fix Committed |
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.