LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   eth0 : link is not ready (http://www.linuxquestions.org/questions/linux-networking-3/eth0-link-is-not-ready-916391/)

gbenrais 11-30-2011 11:34 AM

eth0 : link is not ready
 
Hello,
I have a brand new server. I installed CentOS 6.0. But networking doesn't work. As I tred to ping, I got 'Host unreachable'. So I called HP support, they told me to install a NIC driver then another one (HP NC-Series Broadcom TG3 Driver for Linux) and now when I ping I get 'connect : le réseau n'est pas accessible'. In /var/log/messages there is 'eth0 : link is not ready'.
NIC : HP NC107i
Do you have a clue ? Something was wired in the installation instructions (ftp://ftp.hp.com/pub/softlib2/softwa...116j-3.src.txt) since they mention /etc/modules.conf which doesn't exist anymore. So I modified /etd/modprobe.d/dist.conf. Is that right ?
Thanks for your help,
Ghislain

KenJackson 11-30-2011 06:58 PM

The "host unreachable" message often means that DNS can't reach a server. Try to ping an actual IP address. One of Google's servers is very easy to remember: 8.8.8.8. Try it:
Code:

ping 8.8.8.8
If you do get a response, the problem may just be your /etc/resolv.conf file (note the funny spelling). If that's the case, try the OpenDNS servers. Rename your current /etc/resolv.conf file and replace it with this two line file:
Code:

nameserver 208.67.220.220
nameserver 208.67.222.222


But if pinging a valid numeric IP address does not get a response, then it's not quite that simple. I would try this first, as root:
Code:

service network restart

gbenrais 12-09-2011 05:16 AM

Shame on me
 
Thank you Ken,
There are two Ethernet ports ... And I picked the wrong one.
Ghislain


All times are GMT -5. The time now is 03:49 AM.