Hi Denis,

On 04.03.20 20:49, Denis Kenzior wrote:
In my case automatic provisioning always fails:
- the database has multiple entries for basically every operator/country

mbpi is just not a very good database.  It provides lots of duplicates and doesn't distinguish by spn last I checked.  Ubuntu Touch folks used the android apndb and others used custom ones.  As far as I'm aware, ofono + mbpi was never used in production.  If I'm wrong, I'd love to hear about it.

I have discouraged the use of mbpi for these reasons.  Not stopping you from using it, just pointing out what has been done historically.

As I understand it, ofono is designed to automatically pick the correct service provider parameters (primarily APN) for the installed SIM - unlike a simple solution like pppd. When arriving to the connman/ofono community I found it very difficult getting my widget online when ofono refuses to use the ready-to-use mbpi database and authoritative response is "mbpi is bad, don't used it".

I don't see how am I going to solve this. The end user cannot configure the device (there's no user interaction whatsoever). I could not find the mythical Android database at the time (I do now - it's at https://android.googlesource.com/device/sample/+/master/etc/apns-full-conf.xml). It contains many duplicates, because the virtual MNO-s share MCC and MNC-s with the physical ones. That's how the mobile networks are built in the real world. So I was very confused about how to proceed.

Sure, after much, much frustration I arrived to the workaround of manually provisioning APNs (which I stole from mbpi!) for each factory installed SIM through Christophe Ronco's file-provision plugin. This plugin is a life-saver, but it certainly falls short of automatic provisioning. That's the same level of sophistication as pppd. And as extra punishment I have to write a network supervisor which orders connman to actually use the service of a new SIM whenever it is replaced - even if it's from the same MNO. But that's a different rant altogether.

So, for perspective - saying "mbpi is just not a very good database" helps me none at all when I need to get my widget to go online :) Please handle the duplication, as this is how the mobile networks are built.

--
Kind regards,
Tarmo
_______________________________________________
ofono mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to