“no link present. Check cable?” when using DHCP on Linux

Solution

Not guarantee to work. Add the following lines of code to the configuration file at /etc/sysconfig/network-scripts/ifcfg-ethx, where x = 0, 1, 2 depending on which Ethernet interface you use.

check_link_down() {
    return 1;
}

Reason

If you are sure the Ethernet cable is connected correctly, it maybe cause by the Ethernet device itself. On some Ethernet device, when the Ethernet device is activating it seems causing the device on the other end of the Ethernet cable to shutdown and restart as well. You will notice the LED light on the other side is turned off. The problem is that the OS check if the link is down when the other side of the device is still restarting, which is surely result in no link present.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s