Comment 4 for bug 902029

Revision history for this message
Botao (botao-sun) wrote :

It works well for iMX53 11.12 final RC, except the DNS settings need to be done manually.

https://android-build.linaro.org/builds/~linaro-android/staging-imx53-11.12-release/#build=7

root@android:/ # netcfg eth0 dhcp
[ 64.548962] eth0: Freescale FEC PHY driver [SMSC LAN8710/LAN8720] (mii_bus:p)
[ 64.685261] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 66.555841] PHY: 1:00 - Link is Up - 100/Full
[ 66.615726] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
root@android:/ # netcfg
lo UP 127.0.0.1/8 0x00000049 00:00:000
eth0 UP 192.168.1.18/24 0x00001043 00:04:9fa
sit0 DOWN 0.0.0.0/0 0x00000080 00:00:000
root@android:/ # ping www.google.com
ping: unknown host www.google.com
2|root@android:/ # setprop net.dns1 192.168.1.1
root@android:/ # ping www.google.com
PING www.l.google.com (74.125.71.104) 56(84) bytes of data.
64 bytes from hx-in-f104.1e100.net (74.125.71.104): icmp_seq=1 ttl=43 time=537 s
[ 119.449377] er.ServerThread (1151): /proc/1138/oom_adj is deprecated, please.
64 bytes from hx-in-f104.1e100.net (74.125.71.104): icmp_seq=2 ttl=43 time=539 s
64 bytes from hx-in-f104.1e100.net (74.125.71.104): icmp_seq=3 ttl=43 time=537 s
^C
--- www.l.google.com ping statistics ---
4 packets transmitted, 3 received, 25% packet loss, time 3000ms
rtt min/avg/max/mdev = 537.634/538.205/539.040/0.850 ms