iMX8MP: Problem setting Static IP Android 12

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

iMX8MP: Problem setting Static IP Android 12

1,171 Views
domenicoacri
Contributor III

Hi all,

I have a problem setting a static IP in Android 12 with imx8mp processor.

I'm using the Ethernet app provided in the Android BSP.

When I configure the eth0 network interface with static ip,

the ipconfig.txt file is created in the /data/misc/ethernet/ipconfig.txt directory.

The file is formatted as follows:

192.168.2.162gateway192.168.2.1dns8.8.8.8ideth0eos

When I restart Android, it doesn't start, I see errors in the attached file "logcat.txt".

I also tried disabling dm-verity, but I get the same error.

Then just delete the ipconfig.txt file, and Android will restart normally with dhcp address.

Can you tell me what is the correct procedure to set a IP static in Android and make this change permanent?

 

BR

Domenico Acri

 

0 Kudos
Reply
7 Replies

822 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @domenicoacri 

Please try below patch

 

0 Kudos
Reply

1,104 Views
domenicoacri
Contributor III

Hi,

can anyone help me on this problem?

 

BR

Domenico Acri

0 Kudos
Reply

1,058 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @domenicoacri 

We are checking this issue.

0 Kudos
Reply

953 Views
domenicoacri
Contributor III

Hi,

Is there any news regarding my request?

 

BR

Domenico Acri

0 Kudos
Reply

928 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @domenicoacri 

Internal team are still finding solution.

 

Best Regards

Zhiming

0 Kudos
Reply

1,149 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @domenicoacri 

Can you share which Android 12 BSP version?

0 Kudos
Reply

1,138 Views
domenicoacri
Contributor III

Hi,

thank you very much for the response.

I use Android 12.0.0_1.0.0 (Linux 5.10.72 kernel).

 

BR

Domenico Acri

0 Kudos
Reply