Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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.

share|improve this question

marked as duplicate by slm, jasonwryan, paraxor, 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.

    
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

1 Answer 1

up vote 7 down vote accepted

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

NM_CONTROLLED="yes"
ONBOOT="no"

to their opposites, and then

/etc/init.d/network restart

Everything works.

share|improve this answer

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