PATCH: ifupdown.c, udhcpc, and standalone shell

Eric Spakman E.Spakman at inter.nl.net
Wed Sep 27 14:46:27 UTC 2006


Gabriel,

>> Thanks for the fix. It works, but I'd like to re-arrange the order in
>> which it attempts to execute various dhcp clients. Right now, udhcpc is
>> the last one it tries, so you get a series of error messages:
>>
>> / $ ifup -a
>> /bin/sh: pump: not found
>> /bin/sh: dhclient: not found
>> ...
>>
>>
>> before it finally runs udhcpc and thigs work fine.
>>
>> Since udhcpc is an option provided by busybox itself, I think it
>> should be the first one we try to run. If we want a more complex setup
>> (i.e., don't compile the udhcpc applet into busybox, and supply
>> our own binary) then we should accept to put up with error/warning
>> messages as ifup searches for the correct dhcp client.
>>
>> I've attached the modified ifupdown.c.gz.
>>
Why should we accept to put up with error/warnings messages, it didn't
generate those messages with the previous version. Personally I don't
think this is an improvent.

Eric



More information about the busybox mailing list