OS build with yocto does not preserve ip address

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

OS build with yocto does not preserve ip address

1,218 次查看
rajspatel1297
Contributor I

I'm using yocto gatesgarth. 

In debian 10, when I'm switching between two network(DHCP-> static), if ip address is not allocated by the host then it uses the old ip configured by the DHCP.

In yocto, the problem i'm facing is while disconnecting from one DHCP to static network does not preserve the ip address. (there is no auto ip assign in the static network)

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

1,196 次查看
nxf63675
NXP TechSupport
NXP TechSupport

Hi rajspatel1297,

 

If there is no auto-assign you could run DHCP client from BusyBox to get the IP like below:

udhcpc -i "interface name"

 

Regards,

Israel.

0 项奖励
回复