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

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 14, 2001 at 03:31:14PM -0600, Sean Kelly wrote:
> 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. 

-- 
Mike Andrews
mikea@mikea.ath.cx
Tired old sysadmin since 1964

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?20011214153531.A62514>