OS build with yocto does not preserve ip address

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

OS build with yocto does not preserve ip address

1,220件の閲覧回数
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,198件の閲覧回数
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 件の賞賛
返信