[CentOS] Problem getting eth0 up

Tue Aug 16 22:37:45 UTC 2011
Tom H <tomh0665 at gmail.com>

On Tue, Aug 16, 2011 at 4:57 PM, Alfred von Campe <alfred at von-campe.com> wrote:
>
> I'm just starting to test CentOS 6 in our environment, and as a first step did a basic
> install from DVD (Desktop target, all defaults). Next I will try to automate the
> installations as I did for CentOS 5 using the anakonda-ks.cfg file generated by the
> manual install.
>
> However, I can't wrap my brain around the new NetworkManager to get it to configure
> the eth0 interface to obtain an IP address from our DHCP server. I've seen the FAQ
> on the wiki and the interface is up, but it doesn't get an IP address. I've done the
> installation from DVD multiple times now, each time with the same result.

If you mean during the install, add "--activate" to your kickstart
file's "network ..." line.

If you mean after the install, what's the output of "chkconfig --list
NetworkManager", "chkconfig --list network", and your NIC's ifcfg-X?