Hi there, I have two connections set up through nmcli. When I boot up the pi, I would like it it to attempt to connect to a specific one of those connections and if it fails to try the other connection. Is this possible? How would I do it? I am familiar writing in Python if that's needed, but I'm not super familiar with Linux. (I want to set this up via terminal, I am running the pi headless and configuring it over ethernet currently)
The idea is if I boot the Pi and my phone hotspot is up then it will connect to that, otherwise it will attempt to connect to my home WiFi.
_overlord_
Okay, I got something working. Ended up scrapping together a Python script that I have put into rc.local. It's probably not a good way of doing it, but it works.