AnsweredAssumed Answered

Yocto Setting the Default Ethernet address and disable DHCP on boot.

Question asked by michaeldiamond on Feb 4, 2015
Latest reply on May 4, 2018 by Andrej Kostrov

I have not found anything real concrete on this.  In LTIB there were settings in the menuconfig to be able to set a default IP address, subnet, etc... and turn the dhcp server off.  The kernel uses the UDHCPC and gives the following while booting.

 

IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

udhcpc (v1.22.1) started

Sending discover...

Sending discover...

Sending discover...

No lease, forking to background

done.

 

I am not sure if this can be done from the machine conf file or if I need an .bbappend file somewhere.

 

Thanks

Michael

Outcomes