On Wed, 2019-09-04 at 16:46 +0200, Einar Jón via networkmanager-list wrote:
Hello A bit of a newbie question, but is it possible to set up NetworkManager to use (one of) multiple SIM cards? We have an embedded (headless) device that can use a few different operators. Only one will be used at a time, but I can't be certain which one. So having them all somehow available would be preferred. Basically, I'd like to set up a connection that has 5 blocks of values of gsm.sim-operator-id=12345 gsm.apn=myapn gsm.username=user gsm.password=hunter2 Everything else should be the same. Then it connects using the APN of the sim-operator-id that matches the "operator id" that I get from "mmcli -m <number>" What is a sensible way to handle multiple mobile operators in NetworkManager? I have access to nmcli and nmtui, but no graphical tools.
Hi, I think that is not possible, you would need a different connection profile for each operator. Note there is merge-request [1]. If that gets merged, the APN settings would be automatically read from the mobile-broadband-provider-info file. That should solve your issue in a different way. [1] https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/98 best, Thomas
Attachment:
signature.asc
Description: This is a digitally signed message part