From owner-freebsd-current@FreeBSD.ORG Sun Apr 20 11:34:08 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 60D2A37B401; Sun, 20 Apr 2003 11:34:08 -0700 (PDT) Received: from sccrmhc02.attbi.com (sccrmhc02.attbi.com [204.127.202.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 050DA43F93; Sun, 20 Apr 2003 11:34:07 -0700 (PDT) (envelope-from bmah@employees.org) Received: from bmah.dyndns.org (12-240-204-110.client.attbi.com[12.240.204.110]) by sccrmhc02.attbi.com (sccrmhc02) with ESMTP id <2003042018340600200257pue>; Sun, 20 Apr 2003 18:34:06 +0000 Received: from intruder.bmah.org (localhost [127.0.0.1]) by bmah.dyndns.org (8.12.9/8.12.9) with ESMTP id h3KIY5xV064981; Sun, 20 Apr 2003 11:34:05 -0700 (PDT) (envelope-from bmah@intruder.bmah.org) Message-Id: <200304201834.h3KIY5xV064981@bmah.dyndns.org> X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: Mike Makonnen In-Reply-To: <200304181753.h3IHr21e013688@repoman.freebsd.org> References: <200304181753.h3IHr21e013688@repoman.freebsd.org> Comments: In-reply-to Mike Makonnen message dated "Fri, 18 Apr 2003 10:53:02 -0700." From: bmah@FreeBSD.org (Bruce A. Mah) X-Face: g~c`.{#4q0"(V*b#g[i~rXgm*w;:nMfz%_RZLma)UgGN&=j`5vXoU^@n5v4:OO)c["!w)nD/!!~e4Sj7LiT'6*wZ83454H""lb{CC%T37O!!'S$S&D}sem7I[A 2V%N&+ X-Image-Url: http://www.employees.org/~bmah/Images/bmah-cisco-small.gif X-Url: http://www.employees.org/~bmah/ Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_-980095909P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Sun, 20 Apr 2003 11:34:05 -0700 Sender: bmah@employees.org cc: bmah@FreeBSD.org cc: freebsd-current@FreeBSD.org Subject: Re: cvs commit: src/etc/rc.d dhclient X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Apr 2003 18:34:08 -0000 --==_Exmh_-980095909P Content-Type: text/plain; charset=us-ascii If memory serves me right, Mike Makonnen wrote: > mtm 2003/04/18 10:53:02 PDT > > FreeBSD src repository > > Modified files: > etc/rc.d dhclient > Log: > Make use of the dhclient script. This will bring up/down dhcp > interfaces. > > Approved by: markm (mentor) Hi Mike-- I use a start_if.* script to configure some settings (such as SSID, WEP keys, etc.) for my wireless cards, which subsequently get their addresses via DHCP (ifconfig.*="DHCP"). This has worked wonderfully for quite awhile. After updating with this change, it looks like my start_if.* scripts never gets called. It looks like /etc/rc.d/netif only runs these scripts for non-DHCP interfaces. Moreover there doesn't appear to be anywhere *else* that invokes the start_if.* scripts either. What about making dhclient_prestart() do something like this: for ifn in ${dhcp_list}; do ifscript_up${ifn} done (This works for me, BTW.) Or am I misunderstanding what start_if.* is used for? Thanks! Bruce. --==_Exmh_-980095909P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) Comment: Exmh version 2.5+ 20020506 iD8DBQE+ougd2MoxcVugUsMRApGtAJ9z1Oxocc5fXdo3cxLB6q2IWpxS2QCfR+hG 5SJ88B65FmS0cs4gMAI2Oto= =xA5L -----END PGP SIGNATURE----- --==_Exmh_-980095909P--