APN selection

Aleksander Morgado aleksander at aleksander.es
Sat Jun 13 08:34:57 UTC 2020

Hey Tom,

> Is there a "best practice" for finding the APN of the SIM card that's
> been inserted? I was hoping that either there's a default like
> "internet" that always works or an online list that can be stored on
> the device?

There are lots of LTE networks that would allow you to connect with
the empty ("") APN, because if I'm not mistaken that reverts to using
the default initial LTE bearer settings. But that solution isn't valid
worldwide, there are networks where the initial LTE bearer settings
give you IP connectivity but not full internet access, so you would
still need to connect with an explicit APN provided by the operator.

GNOME maintains a XML database of service providers and their APN
settings, but beware when the provider has multiple APNs for different
plans or purposes:

There's also the Android APNs database, which is similar.


More information about the libqmi-devel mailing list