I have a Debian system with multiple network interfaces. For the uplink interface (eno2
), two different profiles are valid, depending whether the system is:
- on my desk
- in the lab
I would want NetworkManager to always automatically try to connect using the Lab connection (profile) for eno2
, as I can manually select the other profile, if necessary. How can I control which connection NetworkManager applies?
nmcli connection up id <connection-id>
(more info.