tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: dhcpcd glue for rc.d/network and sysinst
On Tue, May 27, 2008 at 03:59:54PM +0200, Hubert Feyrer wrote:
> On Tue, 27 May 2008, Joerg Sonnenberger wrote:
>>> I can't parse the last part of this:
>>>
>>> +See the
>>> +.Sy ifconfig_xxN
>>> +variable for an alternative way to start use DHCP.
>>>
>>> Assuming that's in the "dhclient" variable, how about saying "... to start
>>> by using ``dhcp''"? Though that documents the thing in three places now...
>>
>> dhclient and the dhcp option do different things. The former starts the
>> ISC dhclient, the latter dhcpcd. If this is more confusing than helpful,
>> I don't mind leaving it out.
>
> Why is the variable to start dhcpcd named "dhcp" and not "dhcpcd"?
> I'd expect this for consistency...
To answer this and the other mail. dhcpcd is a per-interface client.
That's why a dhcpcd variable doesn't make sense -- what interface should
it use?
When using ifconfig_xxN, it doesn't matter much what is used to setup
DHCP and it is easy to understand what is supposed to happen if sysinst writes
ifconfig_bge0=dhcp
to /etc/rc.conf. In contrast
ifconfig_bge0=dhcpcd
is more surprising in what it is supposed to do.
It would be nice to be able to do that with dhclient, but alas it is
very bitchy when more than one instance is running.
Joerg
Home |
Main Index |
Thread Index |
Old Index