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

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

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

3,132 Views
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 Kudos
Reply
3 Replies

3,117 Views
joanxie
NXP TechSupport
NXP TechSupport
0 Kudos
Reply

3,100 Views
rathom3
Contributor II

Hello @joanxie ,

 

Thanks for the Reply.

I am not able to access the shared link.

 

Thanks

0 Kudos
Reply

3,082 Views
joanxie
NXP TechSupport
NXP TechSupport
0 Kudos
Reply