yocto udhcpc problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

yocto udhcpc problem

1,652 Views
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 Kudos
Reply
10 Replies

1,634 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Can you see eth0 with ifconfig?

0 Kudos
Reply

1,627 Views
meeeeeei
Contributor I

Hi: Zhiming_Liu

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

0 Kudos
Reply

1,615 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Please check the driver status

0 Kudos
Reply

1,607 Views
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 Kudos
Reply

1,591 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply

1,587 Views
meeeeeei
Contributor I
 

My bsp version is 6.1-langdale.

0 Kudos
Reply

1,451 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply

1,435 Views
meeeeeei
Contributor I

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

0 Kudos
Reply

1,395 Views
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 Kudos
Reply

1,501 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi 

We are trying to find root cause

0 Kudos
Reply