How to get values returned to udhcpc from dhcp server
Laurent Bercot
ska-dietlibc at skarnet.org
Wed Jul 16 14:18:59 UTC 2014
On 07/16/2014 02:40 PM, ram kumar wrote:
> I have requested for option 43 by sending my vendor class, the dhcp
> server is correctly sending the vendor specific IP address that I have
> given in config file , Im able to see this through wireshark...now how
> do I access the IP from udhcpc?? where does udhcpc store values returned
> by the dhcp server..
From what I can read in networking/udhcp/dhcpc.c, lines 513 and below:
try getting the value of the "opt43" environment variable in the script
spawned by udhcpc.
HTH,
--
Laurent
More information about the busybox
mailing list