Hi

I installed LM9.0 yesterday on a box with 1 NIC (eth0). I selected
Dynamic IP Address at boot. At the 1st reboot after install eth0 would
not come up:

msg displayed:
Determining IP information for eth0... failed; no link present.  Check
cable?

That surprised me as it has always been working with previous version
and it actually worked fine 2h before on 8.2. I checked the cable by
plugging it to my laptop, no pbm.

After investigation I found out that the following code in /sbin/ifup
that calls the check_link_down in
/etc/sysconfig/network-scripts/network-functions is the culprit...

I commented it out and it's all ok now.

if [ -n "$DYNCONFIG" ]; then
    echo -n $"Determining IP information for ${DEVICE}..."

# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# FRED: Check with MandrakeSoft was's wrong! Very Important
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
#    if check_link_down ${DEVICE}; then
#       echo $" failed; no link present.  Check cable?"
#       ip link set ${DEVICE} down >/dev/null 2>&1
#       exit 1
#    fi

    if $DHCP_CLIENT $DHCP_ARGS ; then
        echo $" done."
    else
        echo $" failed."
        exit 1
    fi


So what's wrong?

/Fred



Reply via email to