Welcome to the Linux Foundation Forum!

nmcli c up uuid <my uuid> question

I am working on a headless linux box that goes into the field and collects data, then sends it up to our server. It runs mint 19 (tina).

The box has a SIM card.

I have a bash script that runs every 5 minutes to see if any data has been collected and if it has to send it up.

The SIM connection can be spotty, and sometimes the connection is lost.

I run this command to restart it.

nmcli c up uuid <my uuid>

Works great. However, each time I run the command I get this.

Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/9)

Next time it runs I get this.

Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/10)

Do I care that the last number is incrementing?

Remember this is headless, so in a perfect world there will be no reboot and no one around to do anything.

Is nmcli smart enough to recyle the number eventually? Any insights?

Comments

Categories

Upcoming Training