Subject: Re: dhclient
To: None <current-users@netbsd.org>
From: Michael van Elst <mlelstv@serpens.de>
List: current-users
Date: 11/07/2004 08:53:22
jnemeth@victoria.tc.ca (John Nemeth) writes:

>     How?  By scanning the list of interfaces every second?

More like every minute.

>But, that isn't very portable.  Remember that dhclient isn't
>an inherit part of NetBSD, but rather part of the ISC's DHCP package
>which runs on just about every version of UNIX.

Just like BIND which scans the list of interfaces every hour. Of course
this is easier. BIND checks for configured interfaces, dhclient would
need to check for all interfaces (that report a carrier ?).

>     This is something that is completely personal and system based.
>There is no way to satisfy everybody on this issue.  However, there is
>an easy way to tell it to just use one interface.

"One out of a list of interfaces that happen to have a carrier".
This is something you cannot tell dhclient.

>} * dhclient should not use programs from /usr.  It might not
>}    be mounted when dhclient runs.

>     Which programs does it use?

arp and sed.

> Should these programs be moved to /,

arp should be moved to /. sed could be replaced.


-- 
-- 
                                Michael van Elst
Internet: mlelstv@serpens.de
                                "A potential Snark may lurk in every tree."