Hello,
we are using Android M6.0.1_2.1.0 to a custom hardware with i.mx6dl.
It is possible to configure eth0 with a static ip address using the Freescale Ethernet App. But after a factory reset this configuration is deleted. We need to add a static ip configuration to system.img.
Is it possible to do a static ip configuration on default (in system.img)? What it the best way to do it?
Regards,
Ludwig
if you used wifi, pls refer to the link as below:
How do I set a static IP address in the Android Operating System?
if you use ethernet port, you can use "ifconfig" to set static ip address, like
"ifconfig eth0 <IP ADDRESS>"
Thank you for the infomation.
I am still not sure how to do it. When I set a static IP with "ifconfig eth0 .... " it works. But when I start the Freescale Ethernet App an run "Check" than it does configure DHCP again.
Any idea?
you can access this from Java space through the console call, pls refer to the link as below: