iMX8 yocto install DHCP server

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

iMX8 yocto install DHCP server

6,831 次查看
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 项奖励
回复
2 回复数

6,688 次查看
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 项奖励
回复

6,688 次查看
joanxie
NXP TechSupport
NXP TechSupport
0 项奖励
回复