On 02/03/2014 11:12 AM, Tarek El-Sherbiny wrote:
Hi,

Starting i.MX6 board without network cable connected then connect the
cable. I expect udhcpc to obtain ip address after the if-up event but it
doesn't.

How do I force udhcpc to obtain IP after detecting if-up event?

I'm not sure if you mean in your /etc/network/interfaces script or from the shell. Assuming I'm working with eth1:

When I'm debugging dhcp issues from the shell, I run:

dhclient -v eth1

The verbose output is useful in place of a packet sniffer to see info on the handshake

In my interfaces script:

auto eth1
iface eth1 inet dhcp

Of course, you'll need to have the right packages installed. I think you want dhcp-client and init-ifupdown




--
/Tarek/


_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale


_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to