[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] zeroconf/dhcp
Hi Jim,
Jim Van Vorst wrote:
> I've been looking into getting IPv4 link local support running. I.e. I
> want to boot with an autoconfig ip address (169.254/16) if I boot up
> with no IP address and no dhcp reply. I see that user/dhcpcd has support
> for this. It looks like user/dhcpcd-new does not. But if I enable
> dhcpcd and disable dhcpcd-new then the build complains because of this
> in common.mak:
>
> ifdef CONFIG_SYSTEM_USE_DHCP
> ifndef CONFIG_USER_DHCPCD_NEW_DHCPCD
> $(error A dynamic IP address was requested, but dhcpcd-new is not
> enabled in your vendor/user settings.)
> endif
> endif
>
> Does this mean that dhcpcd is not supported? If not, how do I get
> link-local support under petalinux?
The PetaLinux romfs build scripts in common.mak attempt to automate
standard configurations, but in doing so you can bump into issues like
you report. It's a simple error check to make sure that a dhcp client
is built, if DHCP is desired by the user.
The fix here might be something like
ifdef CONFIG_USER_CHCPCD_NEW_DHCPCD
USING_DHCP=1
enndif
ifdef CONFIG_USER_DHCPCD_DHCPCD
USING_DHCP=1
endif
ifdef CONFIG_SYSTEM_USE_DHCP
ifndef USING_DHCP
$(error ...
endif
endif
Double check the CONFIG_USER setting associated with the straight dhcp
client.
Regards,
John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/