iMX8MP: Problem setting Static IP Android 12

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

iMX8MP: Problem setting Static IP Android 12

1,299 次查看
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 项奖励
回复
7 回复数

950 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @domenicoacri 

Please try below patch

 

0 项奖励
回复

1,232 次查看
domenicoacri
Contributor III

Hi,

can anyone help me on this problem?

 

BR

Domenico Acri

0 项奖励
回复

1,186 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @domenicoacri 

We are checking this issue.

0 项奖励
回复

1,081 次查看
domenicoacri
Contributor III

Hi,

Is there any news regarding my request?

 

BR

Domenico Acri

0 项奖励
回复

1,056 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @domenicoacri 

Internal team are still finding solution.

 

Best Regards

Zhiming

0 项奖励
回复

1,277 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @domenicoacri 

Can you share which Android 12 BSP version?

0 项奖励
回复

1,266 次查看
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 项奖励
回复