iMX8 yocto install DHCP server

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMX8 yocto install DHCP server

3,567 Views
davidvescovi
Contributor V

I would like to enable a DHCP server on my yocto build (L4.14.98_2.0.0).

I tried to enable by just adding:

CORE_IMAGE_EXTRA_INSTALL += "dhcp-server"

to my local.conf but it seems to not be enough.

I also tried adding a udhcpd.conf file to my /etc/ folder but it does not look like the clients are honoring anything in it.

Is there a step by step setup for building in a dhcp server as part of the yocto image build? 

0 Kudos
2 Replies

3,424 Views
shivanipatel
Senior Contributor II

Hi davidvescovi

Please add below line to local.conf file and compile.

  • CORE_IMAGE_EXTRA_INSTALL += "dhcp-server dhcp-client"

Regards,

Shivani

0 Kudos

3,424 Views
joanxie
NXP TechSupport
NXP TechSupport
0 Kudos