Linux [Error] Error: Failed to activate the connection: No suitable device found for this connection.

created at 11-16-2021 views: 10

When using the virtual machine today, I found that the network icon disappeared, and an error was reported when using ifup ens33: (The error message is as follows)

Failed to activate the connection: No suitable device found for this connection.

solution

Use the following two lines of code on the command line.

mv /var/lib/NetworkManager /var/lib/NetworkManager.bak
reboot

At this time, the small network icons are back!

created at:11-16-2021
edited at: 11-16-2021: