Network info change Android on i.MX6Q

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

Network info change Android on i.MX6Q

834 次查看
DaengCheong
Contributor II

Hi, 

I'm developing an i.MX6Q with Android 7.1. I'm trying to change the network information by reading a saved text file, but I'm trying to change it to an adb shell instead of an ethernet application. If I can change it, I'm fine with the adb command, shell script, java, whatever.

Thanks.

标签 (1)
0 项奖励
回复
2 回复数

819 次查看
Manuel_Salas
NXP TechSupport
NXP TechSupport

Hello @DaengCheong 

 

Could you please share more details? What do you refer with "trying to change network information by reading a saved text file"?

 

Is there a way to replicate it?

 

Best regards.

 

Salas.

0 项奖励
回复

718 次查看
DaengCheong
Contributor II
For example, in a networkInfo.txt file
Ipv4=192.168.100.100
Gateway=192.168.100.254
SubnetMask=255.255.255.0
If there is any content, I would like to read this information and apply it to eth0.
0 项奖励
回复