Date: Wed, 28 Sep 2005 13:42:27 -0700 From: Brooks Davis <brooks@one-eyed-alien.net> To: Hajimu UMEMOTO <ume@FreeBSD.org> Cc: Brooks Davis <brooks@one-eyed-alien.net>, cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc pccard_ether Message-ID: <20050928204145.GA20866@odin.ac.hmc.edu> In-Reply-To: <ygewtl1gcom.wl%ume@mahoroba.org> References: <200509281959.j8SJxIpD046472@repoman.freebsd.org> <ygey85hgdgh.wl%ume@mahoroba.org> <20050928201431.GA18560@odin.ac.hmc.edu> <ygewtl1gcom.wl%ume@mahoroba.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--EuxKj2iCbKjpUGkD 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 <brooks@one-eyed-alien.net> 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 <brooks@FreeBSD.org> 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. pccard_ether is intended to configure a cold interface on insert. -- 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 --EuxKj2iCbKjpUGkD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFDOwAyXY6L6fI4GtQRAqHgAKCnOeAdA/r1exFmdJE+4EXdno0laACfbxyl EJlVseq+vhhUVogo2SL0W+Y= =GiP7 -----END PGP SIGNATURE----- --EuxKj2iCbKjpUGkD--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050928204145.GA20866>