Network info change Android on i.MX6Q

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

Network info change Android on i.MX6Q

152 Views
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.

Labels (1)
0 Kudos
2 Replies

137 Views
Alejandro_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 Kudos

36 Views
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 Kudos