Hey,

> > I posted yesterday question to ModemManger mailing list about
> > implementing automatic APN selection (based on mobile broadband
> > database) and it was pointed [0] out that this feature should be
> > added to NM. My case is that embedded device using GSM modem should
> > connect to internet automatically (without user intervention only by
> > plugging SIM card). Isomebody working on such solution already? It is
> > right approach? Thanks for replies.
> >
> > 0 -
> > https://lists.freedesktop.org/archives/modemmanager-devel/2019-February/006996.html
>
> Hi,
>
> sounds reasonable to me.
>
>
> Maybe the first step would be to move the code from libnma (network-
> manager-applet) to libnm (NetworkManager) to handle the mobile-
> provider-database. Or maybe better, make it an independent libnm-
> mobile-provider-database.so library to keep core libnm smaller.
>
> As it is, NetworkManager certainly cannot link against libnma.
>
>
> [1] 
> https://gitlab.gnome.org/GNOME/network-manager-applet/blob/master/src/libnma/nma-mobile-providers.c
>

Also, I'd like to emphasize that IMHO this should not be the default
in NM. Automatically selecting what APN to use should be explicitly
enabled by the user somehow. Companies doing custom setups with MM+NM
can enable this feature, even providing a "controlled" subset of the
mobile-broadband-providers-info database, and that specific use case
makes total sense.

-- 
Aleksander
https://aleksander.es
_______________________________________________
networkmanager-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/networkmanager-list

Reply via email to