From owner-cvs-src@FreeBSD.ORG Sat Jun 28 22:47:05 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 4EA4037B404; Sat, 28 Jun 2003 22:47:05 -0700 (PDT) Received: from pop015.verizon.net (pop015pub.verizon.net [206.46.170.172]) by mx1.FreeBSD.org (Postfix) with ESMTP id D494943F93; Sat, 28 Jun 2003 22:47:03 -0700 (PDT) (envelope-from mtm@identd.net) Received: from kokeb.ambesa.net ([141.156.188.208]) by pop015.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030629054703.QLUJ20810.pop015.verizon.net@kokeb.ambesa.net>; Sun, 29 Jun 2003 00:47:03 -0500 Date: Sun, 29 Jun 2003 01:47:02 -0400 From: Mike Makonnen To: src-committers@FreeBSD.org In-Reply-To: <200306290534.h5T5Yfwk060549@repoman.freebsd.org> References: <200306290534.h5T5Yfwk060549@repoman.freebsd.org> X-Mailer: Sylpheed version 0.8.10 (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at pop015.verizon.net from [141.156.188.208] at Sun, 29 Jun 2003 00:47:02 -0500 Message-Id: <20030629054703.QLUJ20810.pop015.verizon.net@kokeb.ambesa.net> cc: cvs-src@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc/rc.d dhclient netif 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: Sun, 29 Jun 2003 05:47:05 -0000 On Sat, 28 Jun 2003 22:34:41 -0700 (PDT) Mike Makonnen wrote: > mtm 2003/06/28 22:34:41 PDT > > FreeBSD src repository > > Modified files: > etc/rc.d dhclient netif > Log: > Implement individual operations on static and dhcp interfaces. Previously > network interfaces could only be turned on and off as a group (all > static interfaces or all dhcp interfaces). > This will undoubtedly need more work as people try this out and find things they would like done differently, etc. However, to begin with you should be able to do this now: # /etc/rc.d/netif stop rl0 # /etc/rc.d/dhclient stop dc0 ... do something... # /etc/rc.d/netif start rl0 # /etc/rc.d/routing static # /etc/rc.d/dhclient start dc0 Running the static routing (rc.d/routing) is necessary after you bring a staticly configured interface back up. At the moment, you can only specify one interface to start/stop but it's easy enough the make it accept more. I'll do that in the next few days. Cheers. -- Mike Makonnen | GPG-KEY: http://www.identd.net/~mtm/mtm.asc mtm@identd.net | D228 1A6F C64E 120A A1C9 A3AA DAE1 E2AF DBCC 68B9 mtm@FreeBSD.Org| FreeBSD - The Power To Serve