Hi Botao,Thanks a lot for the info.we will validate the issue once the wifi on Panda is up and running.Thank YouBest RegardsSoumya Basak.On 10 December 2013 16:37, Botao Sun <botao.sun@linaro.org> wrote:
Hi Soumya,On this topic, here is update from command line:By using svc and wpa_cli, we can enable & disable WiFi from command line and it works well along with Ethernet enabled. However, WiFi can't keep its IP address after connected to an access point if Ethernet is ON. The IP address on "wlan0" will be dropped between several seconds and 1 minute after it's assigned, on my TI Panda 4430 board.This shows a stability issue in this mode. For the log from my serial console, please refer to attachment, especially this line:root@pandaboard:/ # [ 230.582550] cfg80211: Calling CRDA to update world regulatory domain
Because after it shows, the IP address on wlan0 is lost. This is observed on build 479, Android 4.3.1. Since on our latest Android 4.4, WiFi is currently unavailable:Then we can check this issue again once above bug got fixed.FYI.Thanks.Best RegardsBotao SunOn 22 November 2013 20:12, Botao Sun <botao.sun@linaro.org> wrote:
+ Linaro Android Mailing List
On Fri, Nov 22, 2013 at 7:44 PM, Botao Sun <botao.sun@linaro.org> wrote:
Hi Vishal,Do you think we need a bug in Launchpad to track this issue?Thanks.Best RegardsBotao SunOn Fri, Nov 22, 2013 at 5:38 PM, Soumya Basak <soumya.basak@linaro.org> wrote:
Hi Botao,I have checked twice the image with panda 4460 board:1. basically, when eth0 cable is plugged in hw, and wifi is not turned on from UI,# busybox ifconfig -a not shown the wlan0only eth0 up and accessing network.2. when you turn on wifi it will ask you password, after assign password, wifi shown connected (but inactive),# busybox ifconfig -a shown the wlan0 candidate but no inet address, and mask.3. when unplugged the eth0, wlan0 is get inet address and musk, and connected.on the other hand wifi is working well, there is no issue with Youtube playback, or enable from UI, after assign Password.so, both are not up at the same time.this stuff is observed from since Android version: 4.3@Botao, what is your opinion ?Thank You.Best RegardsSoumya Basak.On 21 November 2013 20:40, Botao Sun <botao.sun@linaro.org> wrote:
OK, with more tests, the problem is, if no Ethernet cable attached, WiFi works, otherwise, it shows the error I mentioned in previous 2 emails.root@pandaboard:/ # busybox ifconfig -aeth0 Link encap:Ethernet HWaddr 0E:60:CF:E5:49:01UP BROADCAST RUNNING MULTICAST MTU:1488 Metric:1RX packets:0 errors:0 dropped:0 overruns:0 frame:0TX packets:14 errors:0 dropped:0 overruns:0 carrier:0collisions:0 txqueuelen:1000RX bytes:0 (0.0 B) TX bytes:2510 (2.4 KiB)ip6tnl0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00NOARP MTU:1452 Metric:1RX packets:0 errors:0 dropped:0 overruns:0 frame:0TX packets:0 errors:0 dropped:0 overruns:0 carrier:0collisions:0 txqueuelen:0RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)lo Link encap:Local Loopbackinet addr:127.0.0.1 Mask:255.0.0.0UP LOOPBACK RUNNING MTU:16436 Metric:1RX packets:0 errors:0 dropped:0 overruns:0 frame:0TX packets:0 errors:0 dropped:0 overruns:0 carrier:0collisions:0 txqueuelen:0RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)sit0 Link encap:UNSPEC HWaddr 00-00-00-00-0F-00-01-00-00-00-00-00-00-00-00-00NOARP MTU:1480 Metric:1RX packets:0 errors:0 dropped:0 overruns:0 frame:0TX packets:0 errors:0 dropped:0 overruns:0 carrier:0collisions:0 txqueuelen:0RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)wlan0 Link encap:Ethernet HWaddr 0E:20:CF:E5:49:01inet addr:10.0.0.25 Bcast:10.0.0.255 Mask:255.255.255.0UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1RX packets:96 errors:0 dropped:0 overruns:0 frame:0TX packets:105 errors:0 dropped:0 overruns:0 carrier:0collisions:0 txqueuelen:1000RX bytes:97780 (95.4 KiB) TX bytes:14813 (14.4 KiB)root@pandaboard:/ #Is it a "work-as-design" stuff or a bug? If we keep it likes this, then in order to test WiFi, I have to disable Ethernet first, then restore it after the test is done.Thanks.Best RegardsBotao SunOn Fri, Nov 22, 2013 at 2:02 AM, Botao Sun <botao.sun@linaro.org> wrote:
Hi Soumya,The WiFi doesn't work on 13.10 release image either:On my TI Panda 4460 board, same behaviour observed, and following output shows:[ 148.630249] wl1271: loaded[ 149.538604] wl1271: firmware booted (Rev 6.3.0.0.77)[ 149.556671] ADDRCONF(NETDEV_UP): wlan0: link is not ready[ 250.320129] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready[ 250.383636] wl1271: Association completed.[ 251.542541] cfg80211: Calling CRDA to update world regulatory domain[ 261.064025] wl1271: Scan completed due to error.[ 261.069000] wl1271: Reading FW panic log[ 261.074127] wl1271: Hardware recovery in progress. FW ver: Rev 6.3.0.0.77 pc: 0x0[ 261.074127] wl1271: down[ 261.086059] ieee80211 phy0: Hardware restart was requested[ 261.714691] wl1271: firmware booted (Rev 6.3.0.0.77)Would you double check it on your side? Based on the output of "ifconfig", there is no IP assigned to wlan0 interface:root@pandaboard:/ # busybox ifconfig -aeth0 Link encap:Ethernet HWaddr 0E:60:CF:E5:49:01inet addr:10.0.0.24 Bcast:10.0.0.255 Mask:255.255.255.0UP BROADCAST RUNNING MULTICAST MTU:1488 Metric:1RX packets:34 errors:0 dropped:2 overruns:0 frame:0TX packets:13 errors:0 dropped:0 overruns:0 carrier:0collisions:0 txqueuelen:1000RX bytes:3870 (3.7 KiB) TX bytes:1901 (1.8 KiB)ip6tnl0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00NOARP MTU:1452 Metric:1RX packets:0 errors:0 dropped:0 overruns:0 frame:0TX packets:0 errors:0 dropped:0 overruns:0 carrier:0collisions:0 txqueuelen:0RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)lo Link encap:Local Loopbackinet addr:127.0.0.1 Mask:255.0.0.0UP LOOPBACK RUNNING MTU:16436 Metric:1RX packets:0 errors:0 dropped:0 overruns:0 frame:0TX packets:0 errors:0 dropped:0 overruns:0 carrier:0collisions:0 txqueuelen:0RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)sit0 Link encap:UNSPEC HWaddr 00-00-00-00-0F-00-01-00-00-00-00-00-00-00-00-00NOARP MTU:1480 Metric:1RX packets:0 errors:0 dropped:0 overruns:0 frame:0TX packets:0 errors:0 dropped:0 overruns:0 carrier:0collisions:0 txqueuelen:0RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)wlan0 Link encap:Ethernet HWaddr 0E:20:CF:E5:49:01UP BROADCAST MULTICAST MTU:1500 Metric:1RX packets:3 errors:0 dropped:0 overruns:0 frame:0TX packets:3 errors:0 dropped:0 overruns:0 carrier:0collisions:0 txqueuelen:1000RX bytes:607 (607.0 B) TX bytes:655 (655.0 B)root@pandaboard:/ #Thanks.Best RegardsBotao SunOn Fri, Nov 22, 2013 at 12:40 AM, Botao Sun <botao.sun@linaro.org> wrote:
Hi Soumya,Please take a look at WiFi status on TI Panda 4460, with Linaro Android build 479:
You can use "wget" to download them in your local terminal if the web page can't be shown up.I ask because I just found WiFi doesn't work via GUI on my side, following log shows in serial console:[ 25.692474] wl1271: loaded[ 26.373870] smsc95xx 1-1.1:1.0: eth0: link up, 100Mbps, full-duplex, lpa 0x45E1[ 27.608551] wl1271: firmware booted (Rev 6.3.0.0.77)[ 27.629058] ADDRCONF(NETDEV_UP): wlan0: link is not ready[ 29.750000] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready[ 29.803771] wl1271: Association completed.[ 29.951232] init: sys_prop: permission denied uid:1003 name:service.bootanim.exit[ 30.969970] cfg80211: Calling CRDA to update world regulatory domainThe access point can be shown successfully in the list, and I can click and enter password as well, but then above output shows, with "Disabled" under the access point name on my screen.Based on our test result spreadsheet, it should at least work on 13.10 release image. I'm going to try it soon.Thanks.Best RegardsBotao Sun