This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

The static ip configuration issue for Android ICS on AM335x GP EVM



Hi all,

   I found an issue in the static ip configuration on Android ICS on AM335x GP EVM with a 

   1. set the static ip, netmask, dns, gateway in the setting app.

    2. disable and enable the ethernet option in setting app.

   3. using the netcfg command in the console, the ip shows 0.0.0.0

 And I also try the following command with the same ip address as above, it can works well:

ifconfig eth0 192.168.1.22netmask 255.255.255.0 up

route add default gw 192.168.1.1 dev eth0

setprop net.dns1 8.8.8.8(DNS地址)

ping 192.168.1.1 can work well.

  above all, manually configuring the static IP is OK, while, the setting app configuring the IP has the issue.

So is there any way to handle this?

Thanks!

  • more points:

    1. all the configuration are SAVED.

    2. For the dhcp option, it can work well.

    3. When configuring the static IP in the setting app, but not  do "disable and enable the ethernet", the ip address shown in netcfg will not be changed.