I use TI-Android-ICS-4.0.3-DevKit-3.0.1 AM335xEVM default file system on my beaglebone board with a customerized kernel. Everything works find but I can not find a way to change IP address from default DHCP to static.
I did change the IP settings from Android Ethernet configuration panel and reboot the board. The changes take effect after I power cycle the board but I can not find the IP settings throught console command 'netcfg'. Of course, I can not use ethernet to connect to my network.
root@android:/ # netcfg
lo UP 127.0.0.1/8 0x00000049 00:00:00:00:00:00
sit0 DOWN 0.0.0.0/0 0x00000080 00:00:00:00:00:00
eth0 DOWN 0.0.0.0/0 0x00001002 40:5f:c2:76:89:d4
root@android:/ # netcfg eth0 up
[ 3234.938036]
[ 3234.938048] CPSW phy found : id is : 0x7c0f1
[ 3234.944861] PHY 0:01 not found
[ 3234.952585] ADDRCONF(NETDEV_UP): eth0: link is not ready
root@android:/ # [ 3236.930038] PHY: 0:00 - Link is Up - 100/Full
[ 3236.934775] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
root@android:/ # netcfg
lo UP 127.0.0.1/8 0x00000049 00:00:00:00:00:00
sit0 DOWN 0.0.0.0/0 0x00000080 00:00:00:00:00:00
eth0 UP 0.0.0.0/0 0x00001043 40:5f:c2:76:89:d4
root@android:/ #
So I have 2 questions:
1. Does static IP address setting work under TI-Android-ICS-4.0.3-DevKit-3.0.1?
2. How can I manually change IP setting through serial console? I did not find a command like 'ifconfig'
Thanks in advance for any clue.