[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.
- From: David Cantrell <dcantrell redhat com>
- To: Discussion of Development and Customization of the Red Hat Linux Installer <anaconda-devel-list redhat com>
- Subject: Re: [PATCH] Use libnl and dhclient in nash for network configuration.
- Date: Wed, 03 Dec 2008 09:49:24 -1000
Hans de Goede wrote:
>
>
> 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.
>>
>> Added nashSetMTU() to set the interface MTU using libnl.
>>
>
> Woo, big patch. Anyways wasn't the plan to move to using NetworkManager
> in the initrd? Or is this for RHEL54?
>
Ultimately, yes. But I [personally] am interested in killing off
libdhcp and nash is the only holdout. This patch preserves existing
functionality that we had with libdhcp in nash, but uses dhclient instead.
--
David Cantrell <dcantrell redhat com>
Red Hat / Honolulu, HI
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]