1

enter image description here

I tried to Deactivate the cable ens33 in nmtui, and I get an error message NetworkManager TUI

"Could not activate connection: Connection 'ens33' is not available on device ens33 because device is strictly unmanaged"

I've been looking for a solution to all forums on Google, but I can't solve this problem

Os: centos7

1

You can't change the status of network interface because is set to unmanaged (managed=false). Use nmcli -p device to check it.

Edit the global configuration file /etc/NetworkManager/NetworkManager.conf as follows:

[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=true

Then:

sudo systemctl restart NetworkManager

Check it through nmcli:

nmcli -p device

The you will be able to activate/desactivate the network.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.