Date: Fri, 14 Dec 2001 13:33:18 -0800 From: Ulf Zimmermann <ulf@Alameda.net> To: Sean Kelly <smkelly@zombie.org> Cc: freebsd-stable@freebsd.org Subject: Re: Networking Question Message-ID: <20011214133318.Y54879@seven.alameda.net> 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. > > -- > Sean Kelly | PGP KeyID: 77042C7B > smkelly@zombie.org | http://www.zombie.org > > For PGP key, send e-mail with subject "send pgp key" ifconfig will tell you if there is a link or not: ulfbsd root /home/ulf # ifconfig -a fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 media: Ethernet 100baseTX <full-duplex> status: active rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 media: Ethernet autoselect (100baseTX <full-duplex>) status: active -- Regards, Ulf. --------------------------------------------------------------------- Ulf Zimmermann, 1525 Pacific Ave., Alameda, CA-94501, #: 510-865-0204 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?20011214133318.Y54879>