cvs commit: src/etc pccard_ether

Brooks Davis brooks at one-eyed-alien.net
Wed Sep 28 13:42:28 PDT 2005


On Thu, Sep 29, 2005 at 05:27:53AM +0900, Hajimu UMEMOTO wrote:
> Hi,
> 
> >>>>> On Wed, 28 Sep 2005 13:14:31 -0700
> >>>>> Brooks Davis <brooks at one-eyed-alien.net> said:
> 
> brooks> On Thu, Sep 29, 2005 at 05:11:10AM +0900, Hajimu UMEMOTO wrote:
> > Hi,
> > 
> > >>>>> On Wed, 28 Sep 2005 19:59:18 +0000 (UTC)
> > >>>>> Brooks Davis <brooks at FreeBSD.org> said:
> > 
> > brooks>   Modified files:
> > brooks>     etc                  pccard_ether 
> > brooks>   Log:
> > brooks>   Be less IPv4 centric.  When checking if the interface is already
> > brooks>   configured, check if the UP flag is set instead of checking for the
> > brooks>   netmask keyword.
> > 
> > Umm, it means we cannot use pccard_ether for already upped interface,
> > anymore. :(
> 
> brooks> That's correct.  What is the specific use case you are concerned about?
> 
> 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.
> 
> 	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

-- 
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20050928/64741715/attachment-0001.bin


More information about the cvs-all mailing list