From owner-cvs-src@FreeBSD.ORG Tue Apr 22 23:15:34 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B386937B401; Tue, 22 Apr 2003 23:15:34 -0700 (PDT) Received: from mail.imp.ch (mail.imp.ch [157.161.1.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F66443FD7; Tue, 22 Apr 2003 23:15:33 -0700 (PDT) (envelope-from mb@imp.ch) Received: from cvs.imp.ch (cvs.imp.ch [157.161.4.9]) by mail.imp.ch (8.12.6p2/8.12.3) with ESMTP id h3N6FTwv059656; Wed, 23 Apr 2003 08:15:29 +0200 (CEST) (envelope-from Martin.Blapp@imp.ch) Date: Wed, 23 Apr 2003 08:15:28 +0200 (CEST) From: Martin Blapp To: Nate Lawson In-Reply-To: Message-ID: <20030423081326.E95995@cvs.imp.ch> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: Mike Makonnen Subject: Re: cvs commit: src/etc Makefile network.subr src/etc/rc.d hostname netif network1 nisdomain X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Apr 2003 06:15:35 -0000 hi, > On Fri, 18 Apr 2003, Mike Makonnen wrote: > > I've been meaning to do this for a while. This is the first phase in making rc.d > > networking more useful after system startup. I plan to add functionality like > > being able to bring up and take down individual interfaces or classes of > > interfaces. I also want to enhance aliases so that removing one from the list > > doesn't mean you have to renumber them all. > > One more request is to make dhclient immediately go into the background if > there is no link on an interface. I have a small local patch that enables > this and it would be great to see this functionality in the tree. It does > an ifconfig | grep status: on each interface in the loop if it is enabled > for dhcp. If there is no link, it starts dhclient in the background > since you are guaranteed that it will time out eventually. This fixes > booting my laptop while traveling. Please don't do it that way. The option -nw is ok for dhcp startup, but it breaks natd at startup time. I'm now trying to get my interface polling patch comitted, which does the same thing Nate proposes, but not at the script level. http://people.freebsd.org/~mbr/patches/dhclient-interfacepolling.diff Martin