When are the connections in /mnt/boot/system-connection loaded

When are the connections in /mnt/boot/system-connections loaded? I have a cellular connection file that I want loaded when an application in a container starts up. I need to have a cellular connection at the start of my application.

1 Like

Hello @ronlevine I have som questions.

  • What problem do you have setting up your cellular connection?
  • What did you try?
  • Out of curiosity, why do you need to load a connection file every time your application starts up?

Did you watch this episode with recommendations https://www.youtube.com/watch?v=e5-r_9ggHqI&t=1500s

  • What problem do you have setting up your cellular connection?
  • What did you try?

Able to set set up the APN with the command: mmcli -m 0 --command AT+CGDCONT=1,“IPV4V6”,“m2m005209.attz”

And have the attached cellular-4g file in the /mnt/boot/system-connection folder, which after boot is copied to /etc/NetworkManager/system-connections/

But, the cellular device (cdc-wdm0) is in the “searching”, not “connected”

In order to make a connection, I had to run the command:

nmcli connect add type gsm ifname cdc-wdm0 con-name cellular-4g apn m2m005209.attz

as shown in https://ubuntu.com/core/docs/networkmanager/configure-cellular-connections

Is there anything else that needs to be done?

  • Out of curiosity, why do you need to load a connection file every time your application starts up? No

Hi Ron, I understand that you are able to bring up the cellular connection using mmcli and nmcli as you describe above, but when you try to mimic that configuration in a NetworkManager profile, the connection is not working.

Is that right? If so, could you please share the networkmanager profile you are using?