STEP 2, fixing dhclient behaviour with multiple interfaces

Martin Blapp mb at imp.ch
Tue Jul 29 05:01:40 PDT 2003


Hi,

> >   can access dhclient (or dhcpd) on the local machine without authentification.
>
> You can get omshell working without auth over tcp/ip - I managed this
> today when playing.  But a unix domain socket would be nicer because the
> dhclient server binds to INADDR_ANY by default.

Cool. Do you have any pointers for me to try ? Little example etc ?

> At present, dhclient gets given a list of interfaces at startup-time.
> Would it be better to start it in "no-interfaces" mode (-n -w) and
> dynamically add /all/ interfaces using omshell?

Exactly. Starting dhclient as a daemon without any interfaces. And just
use omshell to add/remove interfaces.

> Another (loosely related) thing is that we should be able to use omshell
> to tell dhclient to pause before going into suspend.  This is hinted at
> in the dhclient man page, but it would be good to get it into the
> standard infrastructure.

Yup, that makes sence.

Martin


More information about the freebsd-current mailing list