0

I want to set my wireless interface (mlan0) to access point mode. I have hostapd in /usr/sbin. But I don't have udhcpd.

I have udhcpc in /sbin though. I checked my busybox.bb file and found CONFIG_UDHCPD=y in defconfig. Not sure what i am missing here.

Sourabrt
  • 2,126
  • 2
  • 8
  • 22

1 Answers1

0

dhcp recipe provides different packages:

poy/meta/recipes-connectivity/dhcp/dhcp.inc:

PACKAGES += "dhcp-libs dhcp-server dhcp-server-config dhcp-client dhcp-relay dhcp-omshell"

You just need to add:

IMAGE_INSTALL_append = " dhcp-server"

EDIT

Busybox provides udhcpd in separate package, so you need to add:

IMAGE_INSTALL_append = " busybox-udhcpd"

this package only installs busybox-udhcpd binary under /etc/init.d/ if CONFIG_UDHCPD=y

Talel BELHADJSALEM
  • 3,199
  • 1
  • 10
  • 30