Support for DHCP option in busybox

James John jjohn95218 at gmail.com
Tue Mar 27 01:04:20 UTC 2018


Hi Chris,

Thanks for taking the time to respond.

Upon examining dhcpc.c, the -O <150> option is to request the DHCP
server to provide the TFTP server IP address. I see in udhcpc_main, a
linked list is mapped when the -O option is used. I'm wondering if all
the support is already there or there is some extra code to write to
use it for my need, which is to extract the TFTP server IP address
from the DHCP ack message sent by the DHCP server.

On Sat, Mar 24, 2018 at 2:52 AM, Chris Richardson (WTI)
<chris at gotowti.com> wrote:
> Hi,
>
> Is it possible to use the -O <number> option for this, as in '-O 150'?  I have some vague memories of that working previously.
>
> Thanks,
>
> Chris
>
>
>


More information about the busybox mailing list