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 8:40pm up 116 days