Linux CentOS 5.5 not connecting to Network

I have installed Linux CentOS 5.5. During installation, I configured the LAN driver and gave it an IP address. After installation, I checked the network connection but it shows "not connected".

I then tried to enable dhcp (from broadband) but system-config-network shows

Determining IP information for eth0... failed; no link present. Check cable" 

I checked the cable and everything is OK with it. I then added

check_link_down(){
return 1;
}

to /etc/sysconfig/network-scripts/ifcfg-eth0 but system-config-network still shows the same message.

I have checked service NetworkManager status and service network status all is fine but I still can't connect to the network.

2
2022-07-25 20:45:59
Source Share
Answers: 0