yocto udhcpc problem

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

yocto udhcpc problem

3,136 次查看
meeeeeei
Contributor I

Hi:

I use udhcpc -i eth0 command in IMX8MP yocto system to get ip address, but eth1 node will be down, why

0 项奖励
回复
10 回复数

3,118 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Can you see eth0 with ifconfig?

0 项奖励
回复

3,111 次查看
meeeeeei
Contributor I

Hi: Zhiming_Liu

ifconfig has only eth0 nodes,All other wlan0 eth1 nodes are down

0 项奖励
回复

3,099 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Please check the driver status

0 项奖励
回复

3,091 次查看
meeeeeei
Contributor I

How to check the driver state, I found that only the first time to use udhcpc will appear this problem, and the automatically obtained ip address will not take effect, after the use of udhcpc will not have this problem, I wonder if you have found this problem before

0 项奖励
回复

3,075 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Can you share BSP version? Let me check it on my side.

0 项奖励
回复

3,071 次查看
meeeeeei
Contributor I
 

My bsp version is 6.1-langdale.

0 项奖励
回复

2,935 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

This is udhcpc command issue, the udhcpc will down the another interface on userspace layer.

0 项奖励
回复

2,919 次查看
meeeeeei
Contributor I

I found that Ubuntu system udhcpc has no related issues, then how to solve this problem

0 项奖励
回复

2,879 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

When we run the udhcpc command it will disable all the interface,but only enable the one we used currently at last. For the detail information you can reference the /etc/udhcpc.d/50default script. You can enable the other interface using ifconfig tool.

ifconfig eth0/eth1 up

 

0 项奖励
回复

2,985 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi 

We are trying to find root cause

0 项奖励
回复