This question already has an answer here:

Just installed CentOS 6.4 from a "minimal" ISO.

On first boot, I discover that I cannot ping the outside world, yum update, or anything like that: connect: Network is unreachable. In fact, I can't even ping the router.

This is on a wired ethernet connection that works fine with no configuration on the same box in Haiku and even BeOS (and at one point, PC-BSD.)

Is my somewhat ancient onboard ethernet not supported by CentOS, or do I need to do something special here? I noticed on another CentOS 6.4 minimal install on a different box and network that if I didn't specify network settings manually during the GUI installer, I was stuck in a similar situation afterwards, but IIRC I could at least get to the router.

marked as duplicate by slm, jasonwryan, user26112, terdon, Hauke Laging Jul 4 '13 at 11:34

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    The answers there actually wouldn't have helped me: the minimal ISO does not install a GUI, and the answer with ONBOOT did not have NM_CONTROLLED. I'm not sure if NM_CONTROLLED makes a difference, but our contexts are different too: I had more than just the loopback, and this is on bare metal, not in a VM. – Kev Jul 4 '13 at 12:07

It was as intuitive as using vi to edit /etc/sysconfig/network-scripts/ifcfg-eth0, toggling the two lines


to their opposites, and then

/etc/init.d/network restart

Everything works.

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