Linux 101 : Troubleshooting : nmcli con up Error: unknown connection

When we deactivate a connection, for example using the below command:

Then we try to activate it again using the below command:

We get the below error:

Error: unknown connection 'eno1'.

The reason is that the connection of the interface (profile) was deleted.
We need to recreate the connection (profile), then reactivate the connection.

Re-creating the connection: 

Then, we can reactivate the device "eno1" using:

We can check the status of our connection "eno1"using the below command:


Leave as a comment: