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