From owner-freebsd-stable Fri Dec 14 16:41:31 2001 Delivered-To: freebsd-stable@freebsd.org Received: from sj.twincreeks.net (sj.twincreeks.net [63.116.139.36]) by hub.freebsd.org (Postfix) with ESMTP id 9729F37B416 for ; Fri, 14 Dec 2001 16:41:28 -0800 (PST) Received: (from feldman@localhost) by sj.twincreeks.net (8.11.3/8.11.3) id fBF0eXq14686; Fri, 14 Dec 2001 16:40:33 -0800 (PST) (envelope-from feldman@twincreeks.net) Date: Fri, 14 Dec 2001 16:40:33 -0800 From: Steve Feldman To: Jonathan Lemon Cc: smkelly@zombie.org, stable@FreeBSD.ORG Subject: Re: Networking Question Message-ID: <20011214164033.A13456@twincreeks.net> References: <200112142206.fBEM6Wg65505@prism.flugsvamp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200112142206.fBEM6Wg65505@prism.flugsvamp.com>; from jlemon@flugsvamp.com on Fri, Dec 14, 2001 at 04:06:32PM -0600 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ahh, this sounds like the beginning of something I'd like to see: the ability to shut off DHCP when an interface goes down and reenable it when it comes back up. That would let me move easily between a wired (on the built-in fxp) and wireless (pc-card) interface without having to manually kill and restart dhclient like I do now. That's probably the only Windows feature I miss on FreeBSD. :) Steve On Fri, Dec 14, 2001 at 04:06:32PM -0600, Jonathan Lemon wrote: > In article you write: > >-=-=-=-=-=- > > > >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. > > There is support for this in -current, where a change in the interface > status (of any network device that uses miibus) is immediately sent to > an interested listener. However, this support partly depends on devfs > and has not been merged to -stable. > -- > Jonathan > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message