Error: Connection activation failed: Device not managed by NetworkManager or unavailable

Unix & Linux Asked on December 11, 2020

I have a CentOS server that is currently using eth1 network interface. I am trying to change it to eth0 and have configured it but when I try ifup eth0 I get this error message:

Error: Connection activation failed: Device not managed by NetworkManager or unavailable

The contents of /etc/sysconfig/network-scripts/ifcfg-eth0 are as follows:

NAME="System eth0"

Please can someone help in getting eth0 up?

2 Answers

If you run ifconfig -a or ip link show as root, does the eth0 interface appear in the output? Does it have the MAC address that ís specified in the /etc/sysconfig/network-scripts/ifcfg-eth0 file on the HWADDR= line?

If it is not there at all, then the driver for the NIC has probably not been loaded yet, or has a problem that prevents it from loading. If it has an unexpected name, you may have a problem with NIC naming.

If the NIC is there with the expected name, but refuses to activate, it might be a firmware loading problem: some NICs require firmware to work, and if the necessary firmware file is not available, the driver cannot activate the NIC. If this is the problem, then the dmesg | less listing will usually contain one or more messages indicating that the system cannot load a specific firmware file. Once you know the name of the firmware file, you can search for it. Make sure the linux-firmware-<YYYYMMDD>-<version number> RPM package is installed: it includes a large collection of firmware files for various hardware.

Answered by telcoM on December 11, 2020


select the eth0 device and hit the Edit button and uncheck the "Controlled by network manager" check box and check the box for Activating the port when the computer starts up. Save and quit in there.

Now run system-config-services and stop/disable NetworkManager and start/enabled network service.

This works for me

Answered by Marimuthu S on December 11, 2020

Add your own answers!

Related Questions

How to configure a GRE tunnel for ubuntu?

1  Asked on December 6, 2020 by natf2d


resolv.conf always empty

1  Asked on December 6, 2020 by marc


Run a python script when connected to internet

1  Asked on December 5, 2020 by cutepoison


SSH remote forwarding results in 404 Not Found

1  Asked on December 4, 2020 by flow2k


Isolate non-FOSS “completely”

1  Asked on December 4, 2020 by user654789384


Use ranger as my default file manager in i3wm

3  Asked on December 4, 2020 by sln


Ask a Question

Get help from others!

© 2022 All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP