From owner-cvs-all@FreeBSD.ORG Wed Sep 28 20:41:46 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1FC2916A41F; Wed, 28 Sep 2005 20:41:46 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9336543D48; Wed, 28 Sep 2005 20:41:45 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id j8SKfjNx022869; Wed, 28 Sep 2005 13:41:45 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id j8SKfjMH022868; Wed, 28 Sep 2005 13:41:45 -0700 Date: Wed, 28 Sep 2005 13:41:45 -0700 From: Brooks Davis To: Hajimu UMEMOTO , 4@odin.ac.hmc.edu Message-ID: <20050928204145.GA20866@odin.ac.hmc.edu> References: <200509281959.j8SJxIpD046472@repoman.freebsd.org> <20050928201431.GA18560@odin.ac.hmc.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vtzGhvizbBRQ85DL" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu Cc: Brooks Davis , cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc pccard_ether X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Sep 2005 20:41:46 -0000 --vtzGhvizbBRQ85DL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 29, 2005 at 05:27:53AM +0900, Hajimu UMEMOTO wrote: > Hi, >=20 > >>>>> On Wed, 28 Sep 2005 13:14:31 -0700 > >>>>> Brooks Davis said: >=20 > brooks> On Thu, Sep 29, 2005 at 05:11:10AM +0900, Hajimu UMEMOTO wrote: > > Hi, > >=20 > > >>>>> On Wed, 28 Sep 2005 19:59:18 +0000 (UTC) > > >>>>> Brooks Davis said: > >=20 > > brooks> Modified files: > > brooks> etc pccard_ether=20 > > brooks> Log: > > brooks> Be less IPv4 centric. When checking if the interface is alre= ady > > brooks> configured, check if the UP flag is set instead of checking f= or the > > brooks> netmask keyword. > >=20 > > Umm, it means we cannot use pccard_ether for already upped interface, > > anymore. :( >=20 > brooks> That's correct. What is the specific use case you are concerned = about? >=20 > I'm calling pccard_ether from my tool to manage interface for laptop > environment. I want to invoke dhclient after linkup to avoid weired > delay. I need to up wireless interface before calling pccard_ether to > confirm that a link could be associated. >=20 > http://www.imasy.or.jp/~ume/FreeBSD/ifstatd-20050926.tar.gz If you just want dhclient just use /etc/rc.d/dhclient to start it. pccard_ether does more than that. Specificaly it calls /etc/rc.d/netif which may do static confirguration, start wpa_supplicant, and start dhclient. Then it does some routing configuration for static interfaces and finaly does IPv6 configuraition of the interface. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --vtzGhvizbBRQ85DL Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFDOwAIXY6L6fI4GtQRApzoAJwLa+AAJaR1QP04fjLdWnfrsqOb9gCgxnoi Sq6Jmru9/KxAvW0JNffTY8s= =tRIf -----END PGP SIGNATURE----- --vtzGhvizbBRQ85DL--