On Thu, Jul 19, 2001 at 12:49:24PM +0200, Tomas Perez wrote:

> Well, the new kernel boots ok, but I lose network connectivity.
> Determining IP information...
>   failed; no link present. Check cable?

Still the same problem :( See my workaround:

---------------------------------------------------------------------

Date: Mon, 16 Jul 2001 20:57:31 +0200
From: =?iso-8859-1?Q?Stefan_Hu=DFfeldt?= <[EMAIL PROTECTED]>
To: Cooker Mailingliste <[EMAIL PROTECTED]>
Subject: Re: [Cooker] network unreachable
Message-ID: <[EMAIL PROTECTED]>

On Mon, Jul 16, 2001 at 01:11:34PM -0500, Vincent Meyer wrote:

> Has anyone been able to work around the network problem with the
> "check cable" message?  I can't do much with this system without
> a network, and am totally stumped. (ok, which I admit doesn't
> take a whole lot to stump me.. but still :-)  )

There was no reply on my last mail about this problem. I only have a
workaround.

---------------------------------------------------------------------
From: Stefan Hußfeldt <[EMAIL PROTECTED]>
Date: Mon, 9 Jul 2001 18:42:58 +0200
Subject: no network with cooker (2001-07-09) - /sbin/mii-tool problem
To: Cooker Mailingliste <[EMAIL PROTECTED]>
User-Agent: Mutt/1.2.5i

After updating to latest cooker (2001-07-09) my network doesn't start
anymore. I think it depends on

|    if check_link_down ${DEVICE}; then
|       echo " failed; no link present.  Check cable?"
|       exit 1
|    fi

from /sbin/ifup.

/etc/sysconfig/network-scripts/network-functions:

|...
|check_link_down ()
|{
|    if [ -x /sbin/mii-tool ]; then
|        output=`/sbin/mii-tool $1 2>&1`
|        if echo $output | grep -q "Operation not supported"; then
|            return 1
|        elif echo $output | grep -q "link ok"; then
|            return 1
|        else
|            return 0
|        fi
|    fi
|    return 0
|}
|...

|[root@kilroy root]# /sbin/mii-tool eth0
|eth0: no link

When i disable the check_link_down function it works.

Any hints?
---------------------------------------------------------------------

-- 
Und Tschüss.
Stefan

### Kilroy was here ###  5481  2:00pm  up 119 days

Reply via email to