Is there an easy way to put the cellular APN info in the device without having to give acces to the device boot partition itself?
We have a device we are going to deploy remotely and the idea is to do this with local sim card providers.
Now i don’t want to give the user acces to the boot partition and it would be nice if they can add the device to a LAN internet connection and the APN will get provisioned remotely.
I really need some help to achieve this. Hopefully you guys have a nice solution or idea’s?
Yes i did have a look at it.
To test it out i would like to have the command to add a new connection.
I came up with the following but need to add the params for APN etc in the command.
Maybe you can help me out how to make the right command to add it?
dbus-send does not support passing complex data structures. If you have Python installed in the container then you may use those examples as a reference (first is using the python-networkmanager package, the second one - the dbus package, which is lower level):