[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH] Use libnl and dhclient in nash for network configuration.



On Wed, 2008-12-03 at 09:59 -0500, Jeremy Katz wrote:
> On Tue, 2008-12-02 at 12:00 -1000, David Cantrell wrote:
> > This patch modifies nash to use dhclient when the 'network'
> > command requests dhcp.  Instead of firing off dhclient-script,
> > nash reads the leases file directly and extracts the information.
> > The nashSetupInterface() function is then called (which is also
> > the case for manual network configuration) to configure the
> > interface.  nashSetupInterface() uses libnl to add the address
> > and set the default gateway.
> 
> Looks okay to me.  While I'd like to get bigger initrd changes done for
> F11, I suspect that's not realistically going to happen and this will at
> least let us finish killing off libdhcp.  

Oh -- we probably also need a change to mkinitrd that pulls dhclient
into the initrd

Jeremy


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]