Re: Automated selection of connections



Sorry to dig this up again, but is there a way to catch failed auto-connects? I thought I could use a dispatcher script, but it appears they are not triggered on failed connections.


On 07/10/2017 03:21 PM, Alex Ferm wrote:
Hello all,

I manage a bunch of cellular connected embedded devices running NetworkManager+ModemManager. I use the same software image on all devices regardless of which cell network they run on.

My current solution to selecting the appropriate connection pivots around the sim-operator-id (I'm running NM 1.0.6, so I had to write a dbus client to manage that).

My issue now is that we are switching to a private APN for one of our carriers. This will introduce a new connection configuration, however this time the sim-operator-id will be identical to one of our other options.

Is there a sane way to determine the correct APN to use without setting up connection configurations for every modem that goes out the door? I'd like to continue to be able to provide updates for devices deployed with the old APN without too much work as well.

I'd like to upgrade NM + MM on these devices, but that is not feasible in the near future.


--
Alex Ferm
PetroPower, LLC.
3003 E. 37th Street N.
Suite 100
Wichita, KS 67219



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]