How to set static IP address for Ethernet interface in I.MX 8m plus Android 11?

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

How to set static IP address for Ethernet interface in I.MX 8m plus Android 11?

5,237 次查看
rathom3
Contributor II

Hello nxp,

 

I am working with Android 11 with imx8mp EVK.

In Android 11 i want to set the Static IP address of Ethernet. In current scenario i am using "ifconfig eth0 192.168.1.12" Manually in adb shell .

But i want to make my static IP on boot with AOSP source code.

Please guide me how to make my static ip configuration automatically on boot.

Also I want to disable the dhcp.

Thanks in Advance

0 项奖励
回复
3 回复数

5,222 次查看
joanxie
NXP TechSupport
NXP TechSupport
0 项奖励
回复

5,205 次查看
rathom3
Contributor II

Hello @joanxie ,

 

Thanks for the Reply.

I am not able to access the shared link.

 

Thanks

0 项奖励
回复

5,187 次查看
joanxie
NXP TechSupport
NXP TechSupport
0 项奖励
回复