I am using Modemmanager on a router for a 4G and a 5G module from Sierra. I want to preconfigure the modemmanager interface such that it automatically brings starts the 4G/5G connection when the modem is plugged.
I don't know in advance if the 4G module or the 5G module is plugged - and I don't know in advance to which interface. Normally, I would configure the modemmanager interface to attach to device /dev/cdc-wdm0, but apparently I need to specify the full system path. But this one I guess I don't know in advance.
Any good ideas how to elegantly solve this? Thanks!