From owner-freebsd-stable Thu Nov 11 13:13: 5 1999 Delivered-To: freebsd-stable@freebsd.org Received: from klentaq.com (klentaq1.emergingtech.org [199.217.151.234]) by hub.freebsd.org (Postfix) with ESMTP id 9A24614C82 for ; Thu, 11 Nov 1999 13:12:46 -0800 (PST) (envelope-from stabilizer@klentaq.com) Received: (from stabilizer@localhost) by klentaq.com (8.9.3/8.9.2) id PAA03191; Thu, 11 Nov 1999 15:23:06 -0600 (CST) (envelope-from stabilizer) From: Wayne M Barnes Message-Id: <199911112123.PAA03191@klentaq.com> Subject: Re: ethernet hard or soft failure In-Reply-To: <199911111650.LAA02139@misha.cisco.com> from Mikhail Teterin at "Nov 11, 1999 11:50:16 am" To: mi@aldan.algebra.com Date: Thu, 11 Nov 1999 15:23:06 -0600 (CST) Cc: freebsd-stable@freebsd.org (FreeBSD Stable) X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dear M.I., Thank you for your suggestion of how to conditionally reset my NIC card. I show below my full implementation. We'll see if my FreeBSD3.3 system is more stable now. Here is my root crontab line: * * * * * ~wayne/testNIC.sh Here is my script file testNIC.sh (expanded from your suggestion): #!/usr/local/bin/tcsh ping -c 1 128.252.120.1 > /dev/null || \ (~wayne/testNMB; \ echo RESET NIC CARD by testNIC.sh >> ~wayne/NMB.log; \ ifconfig rl0 down; sleep 1; ifconfig rl0 up) Here is my script file testNMB netstat -m | diff NMB.boring - | grep ">" >> ~wayne/NMB.log date >> ~wayne/NMB.log echo testNMB >> ~wayne/NMB.log netstat -m > ~wayne/NMB.boring If my card is thermally hot, or something (my fan seems okay to me), I'll get one or two outputs from this in my NMB.log, available at http://barnes1.wustl.edu/wayne/NMB for awhile. Wayne M Barnes stabilizer@klentaq.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message