Wired Ethernet on iMX6dl-sabresd Board- dhcpd getting killed by init.

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

Wired Ethernet on iMX6dl-sabresd Board- dhcpd getting killed by init.

814 次查看
femyvarghese
Contributor I

We are running android-6(marshmallow) on a custom board based on iMX6dl-sabresd. The dhcpcd run when the interface comes up on boot, and acquires a lease if dhcp server is present.

If it fails to get a dhcp address, the dhcpcd is being killed by init after sometime. It never runs again unless the ethernet cable is replugged(ifup event)   

If we manually start the dhcpcd by running 'dhcpcd eth0', it acquires an ip address, but it fails to resolve DNS requests and also the acquired ip address is not reflected in android.

How can we configure the android to request for a lease, even if dhcp server comes up at a later stage ?

标签 (2)
0 项奖励
回复
1 回复

634 次查看
diegoadrian
NXP Employee
NXP Employee

Hello Femy,

Thank you for writing.

It looks like, that you are not setting a MAC address on the U-boot image. You can set a fake MAC address through ethaddr environment if the MAC address is not fused.

U-Boot > setenv ethaddr 00:01:02:03:04:05
U-Boot > save

Furthermore, If you want, you can use our android image for the sabresd. With this image is for sure that the Ethernet will work.

Best Regards,

Diego.

0 项奖励
回复