Date: Thu, 2 Sep 1999 14:39:52 +0100 From: "Joe Pepin" <pepin_j@ins.com> To: "slava" <sl@zeus.dnt.md> Cc: <freebsd-questions@FreeBSD.ORG> Subject: RE: 10baseT interface no down when cable is unpluged Message-ID: <NDBBLHINKKFIPHPHKAAEMEKKCAAA.pepin_j@ins.com> In-Reply-To: <Pine.BSF.4.10.9909021140440.44298-100000@dt010nb9.san.rr.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, Yes, it seems to me you need a "hearbeat". You could write small script to ping out via that interface every so often. If the ping fails, then call ifconfig to down the card. That should do it, right? HTH, Joe Pepin -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Doug Sent: Thursday, September 02, 1999 7:42 PM To: slava Cc: freebsd-questions@FreeBSD.ORG Subject: Re: 10baseT interface no down when cable is unpluged On Thu, 2 Sep 1999, slava wrote: > > hello > > I have a problem with gated ospf no detecting when my mx0 > interface goes down. Let's say I unplug the CAT5 cable from > the card. Shouldn't ifconfig show me that the interface is down? Why? You haven't downed it. "Down" does not mean "not working" in this context. > It reports exactly the same status as if the cable was there. > The problem with ospf is it will issue an LSA only if the status of > the interface is changed. > > Can anyone suggest an workaround this problem? Attempt to ping whatever you're plugged into, and if it fails do whatever you need to do? Good luck, Doug -- "My mama told me, my mama said, 'don't cry.' She said, 'you're too young a man to have as many women you got.' I looked at my mother dear and didn't even crack a smile. I said, 'If women kill me, I don't mind dyin!'" - John Belushi as "Joliet" Jake Blues, "I Don't Know" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NDBBLHINKKFIPHPHKAAEMEKKCAAA.pepin_j>