Loading...

android-porting@googlegroups.com

[Prev] Thread [Next]  |  [Prev] Date [Next]

[android-porting] Issue facing in WI-FI enabling (wlan0: link is not ready) Sandeep sp Sun Feb 05 23:00:18 2012

Hi

    I has been trying to set up the Wi-Fi on our board.
    The configuration options which i had chosen are Android Private
socket and WIFI drivers are loaded as Kernel modules. It's able to
properly load the Wi-Fi driver and firmware also.

    We are trying to test the WI-FI functionality through command
prompt ( As we are not yet started working on LCD).

    Through adb shell we are executing this command
     $svc wifi enable

   On execution of this command, It throws an message saying
"ADDRCONF(NETDEV_UP): wlan0: link is not ready "

   The log messages are:
       D/NetdConnector(  103): RCV <- {600 Iface linkstate wlan0 down}
       D/NetdConnector(  103): RCV <- {600 Iface linkstate wlan0 down}

   On the closer look, the wpa_supplicant service has been already
started and running, and "wlan0" entry has been added. (crosschecked
with $cat /proc/net/dev)

   I Collected the logs from the "network daemon connector" module
(SND-->sendCommandLocked(), RCV-->listenToSocket() and RSP--
>doCommandLocked() )

   Can anyone me know, why the "wlan0" is down ?


D/NetdConnector(   94): SND -> {interface ipv6 wlan0 disable} {null}
D/NetdConnector(   94): SND -> {interface setthrottle rmnet0 -1 -1}
{null}
D/NetdConnector(   94): SND -> {interface setthrottle rmnet0 -1 -1}
{null}
D/NetdConnector(   94): SND -> {softap fwreload wlan0 STA} {null}
D/NetdConnector(   94): SND -> {interface getcfg wlan0} {null}
D/NetdConnector(   94): SND -> {interface setcfg wlan0 0.0.0.0 0 [down
broadcast multicast]} {null}
D/NetdConnector(   94): SND -> {interface ipv6privacyextensions wlan0
enable} {null}


D/NetdConnector(   94): RSP <- {400 Failed to change IPv6 state (No
such file or directory)}
D/NetdConnector(   94): RSP <- {200 Interface throttling set}
D/NetdConnector(   94): RSP <- {200 Interface throttling set}
D/NetdConnector(   94): RSP <- {200 Softap operation succeeded}
D/NetdConnector(   94): RSP <- {213 de:ad:be:ef:00:00 0.0.0.0 0 [down
broadcast multicast]}
D/NetdConnector(   94): RSP <- {200 Interface configuration set}
D/NetdConnector(   94): RSP <- {200 IPv6 privacy extensions changed}


D/NetdConnector(   94): RCV <- {400 Failed to change IPv6 state (No
such file or directory)}
D/NetdConnector(   94): RCV <- {200 Interface throttling set}
D/NetdConnector(   94): RCV <- {200 Interface throttling set}
D/NetdConnector(   94): RCV <- {600 Iface linkstate wlan0 down}
D/NetdConnector(   94): RCV <- {600 Iface added wlan0}
D/NetdConnector(   94): RCV <- {600 Iface removed wlan0}
D/NetdConnector(   94): RCV <- {600 Iface linkstate wlan0 down}
D/NetdConnector(   94): RCV <- {600 Iface added wlan0}
D/NetdConnector(   94): RCV <- {200 Softap operation succeeded}
D/NetdConnector(   94): RCV <- {213 de:ad:be:ef:00:00 0.0.0.0 0 [down
broadcast multicast]}
D/NetdConnector(   94): RCV <- {200 Interface configuration set}
D/NetdConnector(   94): RCV <- {200 IPv6 privacy extensions changed}
D/NetdConnector(   94): RCV <- {600 Iface linkstate wlan0 down}
D/NetdConnector(   94): RCV <- {600 Iface linkstate wlan0 down}
D/NetdConnector(   94): RCV <- {600 Iface linkstate wlan0 down}



Regards
Sandeep S.P

-- 
unsubscribe: [EMAIL PROTECTED]
website: http://groups.google.com/group/android-porting