AnsweredAssumed Answered

DHCP client

Question asked by Niklas Molin on May 19, 2014
Latest reply on Jun 17, 2015 by Michael Doswald



I'm trying to configure the DHCP client (udhcpc), but can't find where it is initialized.

Right now I can see that I have following udhcpc command running:

udhcpc -R -n -p /var/run/ -i eth0


But it looks like it won't continue to try requesting an IP address if it failed.

In our case we will always have a link but it could be that it might not be able to access the DHCP server right after boot up.

We want the DHCP client to continue to request for an IP address, until it succeeded.

What I can see from the description of udhcpc I should use following command:

udhcpc -R -A -p /var/run/ -i eth


But I can't find where this command is initialized during boot up (using Yocto)