Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Dec 2001 16:38:52 -0500
From:      Bob K <melange@yip.org>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Re: Networking Question
Message-ID:  <20011214163852.S61341@yip.org>
In-Reply-To: <20011214153531.A62514@mikea.ath.cx>; from mikea@mikea.ath.cx on Fri, Dec 14, 2001 at 03:35:31PM -0600
References:  <20011214153114.A47574@edgemaster.zombie.org> <20011214153531.A62514@mikea.ath.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
> > I've noticed that various versions of Windows can detect whether my
> > ethernet card has a "live" connection.  If I pull the cable or if the other
> > end goes dead, Windows knows about it.  I've been looking at making a
> > firewall/NAT machine using FreeBSD and was wondering if there is any way to
> > determine this situation in FreeBSD.  It would be nice to be able to emit a
> > beep or update an internal stats website when my router's connection goes
> > dead.
> 
> Steal the code in ifconfig that determines whether the interface 
> has carrier or not, and daemonize it or something. 

I'm pretty sure there's a way to have ucd-snmp send a snmp trap when the
up/down status of an interface changes.  Combining that with any of the
network monitoring tools out there that use snmp (ie, all of them)
should do the trick.

-- 
Bob <melange@yip.org> | Please don't spill hot things on Bob.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011214163852.S61341>