1. Nimm jetzt an unserem 2. ADVENT-Gewinnspiel teil - Alle Informationen findest Du hier!

wlan0: Failed to initiate AP scan

Dieses Thema im Forum "Android App Entwicklung" wurde erstellt von Ikarisan, 24.03.2012.

  1. Ikarisan, 24.03.2012 #1
    Ikarisan

    Ikarisan Threadstarter Neuer Benutzer

    Beiträge:
    20
    Erhaltene Danke:
    0
    Registriert seit:
    18.12.2011
    Hallo!

    Thematisch passt das hier eventuell am besten rein.... seit gestern Abend funktioniert bei meinem Acer A500 (Lightspeed 4.3) das WLAN nicht mehr. Eventuell hängt es mit meiner App-Entwicklung zusammen (unwahrscheinlich) oder es liegt an einer anderen App (Juice Defender oder BluetoothGPS).

    Die AP werden in der Liste zwar aufgeführt, ein Connect findet aber (auch manuell angestoßen) nicht statt. Sobald ich WLAN aktiviere bekomme ich die folgenden Debugausgaben:

    Code:
    03-24 09:51:37.900: D/SoftapController(79): Softap fwReload - Ok
    03-24 09:51:37.900: D/CommandListener(79): Setting iface cfg
    03-24 09:51:37.900: D/CommandListener(79): Trying to bring down wlan0
    03-24 09:51:37.900: D/NetworkManagementService(142): rsp <213 e0:b9:a5:4f:33:39 0.0.0.0 0 [up broadcast running multicast]>
    03-24 09:51:37.900: D/NetworkManagementService(142): flags <[up broadcast running multicast]>
    03-24 09:51:37.950: D/CommandListener(79): broadcast flag ignored
    03-24 09:51:37.950: E/WifiStateMachine(142): Unable to change interface settings: java.lang.IllegalStateException: Unable to communicate with native daemon to interface setcfg - com.android.server.NativeDaemonConnectorException: Cmd {interface setcfg wlan0 0.0.0.0 0 [down broadcast running multicast]} failed with code 501 : {Flag unsupported}
    03-24 09:51:38.120: I/wpa_supplicant(1533): rfkill: Cannot open RFKILL control device
    03-24 09:51:38.230: E/WifiConfigStore(142): Missing id while parsing configuration
    03-24 09:51:38.230: E/WifiConfigStore(142): Missing id while parsing configuration
    03-24 09:51:38.240: E/wpa_supplicant(1533): ioctl[SIOCSIWPRIV] (cscan): -1
    03-24 09:51:38.240: W/wpa_supplicant(1533): wlan0: Failed to initiate AP scan
    03-24 09:51:38.240: E/wpa_supplicant(1533): ioctl[SIOCSIWPRIV] (cscan): -1
    03-24 09:51:38.240: W/wpa_supplicant(1533): wlan0: Failed to initiate AP scan
    03-24 09:51:48.890: I/wpa_supplicant(1533): wlan0: Trying to associate with 00:1c:28:16:b2:a1 (SSID='Moria' freq=2472 MHz)
    03-24 09:51:49.130: D/dalvikvm(1294): GC_CONCURRENT freed 344K, 10% free 7743K/8519K, paused 1ms+4ms
    03-24 09:51:52.990: I/SERVICE(857): **** android.intent.action.BATTERY_CHANGED
    03-24 09:51:52.990: I/SERVICE(857): *** RELAUNCH *** 
    03-24 09:51:53.000: W/BatteryWidget(857): Direct0
    03-24 09:51:54.370: D/AudioFlinger(84): Disable natural base
    03-24 09:51:59.060: I/wpa_supplicant(1533): wlan0: Authentication with 00:1c:28:16:b2:a1 timed out.
    03-24 09:52:00.820: D/dalvikvm(1294): GC_CONCURRENT freed 251K, 7% free 7926K/8519K, paused 2ms+3ms
    03-24 09:52:19.070: D/AudioFlinger(84): Disable natural base
    03-24 09:52:19.140: D/dalvikvm(1294): GC_CONCURRENT freed 355K, 7% free 7967K/8519K, paused 5ms+5ms
    03-24 09:52:23.060: I/SERVICE(857): **** android.intent.action.BATTERY_CHANGED
    03-24 09:52:23.070: I/SERVICE(857): *** RELAUNCH *** 
    03-24 09:52:23.070: W/BatteryWidget(857): Direct0
    03-24 09:52:28.970: I/wpa_supplicant(1533): wlan0: Trying to associate with 00:1c:28:16:b2:a1 (SSID='Moria' freq=2472 MHz)
    03-24 09:52:28.990: D/CommandListener(79): Clearing all IP addresses on wlan0
    03-24 09:52:29.090: D/dalvikvm(1294): GC_CONCURRENT freed 468K, 7% free 7970K/8519K, paused 1ms+6ms
    03-24 09:52:33.090: W/NetworkStats(142): dropping UID delta from unknown iface: iface=wlan0 uid=0 set=DEFAULT tag=0x0 rxBytes=0 rxPackets=0 txBytes=1380 txPackets=21 operations=0
    03-24 09:52:38.990: I/wpa_supplicant(1533): wlan0: Authentication with 00:1c:28:16:b2:a1 timed out.
    03-24 09:52:40.640: D/AudioFlinger(84): Disable natural base
    03-24 09:52:40.710: I/wpa_supplicant(1533): wlan0: Trying to associate with 00:1c:28:16:b2:a1 (SSID='Moria' freq=2472 MHz)
    03-24 09:52:40.900: D/dalvikvm(1294): GC_CONCURRENT freed 447K, 7% free 7968K/8519K, paused 2ms+4ms
    03-24 09:52:42.160: D/AudioFlinger(84): Disable natural base
    03-24 09:52:42.190: E/wpa_supplicant(1533): ioctl[SIOCSIWPRIV] (cscan): -1
    03-24 09:52:42.190: W/wpa_supplicant(1533): wlan0: Failed to initiate AP scan
    03-24 09:52:43.200: E/wpa_supplicant(1533): ioctl[SIOCSIWPRIV] (cscan): -1
    03-24 09:52:43.200: W/wpa_supplicant(1533): wlan0: Failed to initiate AP scan
    03-24 09:52:44.210: E/wpa_supplicant(1533): ioctl[SIOCSIWPRIV] (cscan): -1
    03-24 09:52:44.210: W/wpa_supplicant(1533): wlan0: Failed to initiate AP scan
    03-24 09:52:45.220: E/wpa_supplicant(1533): ioctl[SIOCSIWPRIV] (cscan): -1
    03-24 09:52:45.220: W/wpa_supplicant(1533): wlan0: Failed to initiate AP scan
    03-24 09:52:46.230: E/wpa_supplicant(1533): ioctl[SIOCSIWPRIV] (cscan): -1
    03-24 09:52:46.230: W/wpa_supplicant(1533): wlan0: Failed to initiate AP scan
    03-24 09:52:47.240: E/wpa_supplicant(1533): ioctl[SIOCSIWPRIV] (cscan): -1
    03-24 09:52:47.240: W/wpa_supplicant(1533): wlan0: Failed to initiate AP scan
    03-24 09:52:48.250: E/wpa_supplicant(1533): ioctl[SIOCSIWPRIV] (cscan): -1
    03-24 09:52:48.250: W/wpa_supplicant(1533): wlan0: Failed to initiate AP scan
    03-24 09:52:49.250: E/wpa_supplicant(1533): ioctl[SIOCSIWPRIV] (cscan): -1
    03-24 09:52:49.250: W/wpa_supplicant(1533): wlan0: Failed to initiate AP scan
    03-24 09:52:50.260: E/wpa_supplicant(1533): ioctl[SIOCSIWPRIV] (cscan): -1
    03-24 09:52:50.260: W/wpa_supplicant(1533): wlan0: Failed to initiate AP scan
    03-24 09:52:50.720: I/wpa_supplicant(1533): wlan0: Authentication with 00:1c:28:16:b2:a1 timed out.
    03-24 09:52:50.720: D/CommandListener(79): Clearing all IP addresses on wlan0
    03-24 09:52:51.740: E/wpa_supplicant(1533): ioctl[SIOCSIWPRIV] (cscan): -1
    03-24 09:52:51.740: W/wpa_supplicant(1533): wlan0: Failed to initiate AP scan
    Das mit dem "Failed to initiate AP scan" geht jetzt endlos so weiter :(

    Gibt es einen Trick um WLAN wieder zur Funktion zu überreden? Eventuell muss ich ja nur per Konsole eine Datei editieren oder löschen. Vor allem direkt der erste Fehler mit dem "Unable to change interface settings: java.lang.IllegalStateException" macht mich stutzig.

    Unnötig zu erwähnen, dass ich WLAN, den Flumodus und das ganze Tab schon mehrmals ein- und ausgeschaltet habe. :(
    Wenn ich den WLAN-Eintrag lösche, neu anlege und mich verbinden will bekomme ich dieses hier:

    Code:
    03-24 10:20:07.240: D/WifiConfigStore(142): IP config changed SSID = "Moria" linkProperties: LinkAddresses: [] Routes: [] DnsAddresses: []*
    03-24 10:20:07.240: D/WifiConfigStore(142): proxy changed SSID = "Moria"
    03-24 10:20:07.470: D/dalvikvm(1294): GC_CONCURRENT freed 363K, 8% free 7980K/8583K, paused 2ms+6ms
    03-24 10:20:07.920: I/wpa_supplicant(1660): wlan0: Trying to associate with 00:1c:28:16:b2:a1 (SSID='Moria' freq=2472 MHz)
    03-24 10:20:07.940: D/CommandListener(79): Clearing all IP addresses on wlan0
    03-24 10:20:12.910: I/SERVICE(1620): **** android.intent.action.BATTERY_CHANGED
    03-24 10:20:12.940: I/SERVICE(1620): *** RELAUNCH ****
    03-24 10:20:12.940: W/BatteryWidget(1620): Direct0
    03-24 10:20:17.830: I/wpa_supplicant(1660): wlan0: Associated with 00:1c:28:16:b2:a1
    03-24 10:20:17.870: D/dalvikvm(1294): GC_CONCURRENT freed 495K, 8% free 7923K/8583K, paused 1ms+4ms
    03-24 10:20:18.220: D/NetlinkEvent(79): Unexpected netlink message. type=0x0
    03-24 10:20:20.850: D/NetlinkEvent(79): Unexpected netlink message. type=0x0
    03-24 10:20:20.860: I/wpa_supplicant(1660): wlan0: WPA: 4-Way Handshake failed - pre-shared key may be incorrect
    03-24 10:20:20.860: I/wpa_supplicant(1660): wlan0: CTRL-EVENT-DISCONNECTED bssid=00:1c:28:16:b2:a1 reason=0
    03-24 10:20:20.940: D/dalvikvm(1294): GC_CONCURRENT freed 372K, 7% free 7984K/8583K, paused 2ms+5ms
    03-24 10:20:25.550: I/wpa_supplicant(1660): wlan0: Trying to associate with 00:1c:28:16:b2:a1 (SSID='Moria' freq=2472 MHz)
    03-24 10:20:25.640: D/dalvikvm(1294): GC_CONCURRENT freed 493K, 8% free 7926K/8583K, paused 2ms+5ms
    03-24 10:20:26.150: I/wpa_supplicant(1660): wlan0: Associated with 00:1c:28:16:b2:a1
    03-24 10:20:26.200: D/NetlinkEvent(79): Unexpected netlink message. type=0x0
    03-24 10:20:26.990: I/wpa_supplicant(1660): wlan0: WPA: Key negotiation completed with 00:1c:28:16:b2:a1 [PTK=CCMP GTK=TKIP]
    03-24 10:20:26.990: I/wpa_supplicant(1660): wlan0: CTRL-EVENT-CONNECTED - Connection to 00:1c:28:16:b2:a1 completed (auth) [id=3 id_str=]
    03-24 10:20:27.090: D/dalvikvm(1294): GC_CONCURRENT freed 433K, 8% free 7939K/8583K, paused 2ms+4ms
    03-24 10:20:27.320: D/dhcpcd(1707): version 5.2.10 starting
    03-24 10:20:27.350: D/dhcpcd(1707): host does not support a monotonic clock - timing can skew
    03-24 10:20:27.350: D/dhcpcd(1707): Not Rebinding
    03-24 10:20:27.350: D/dhcpcd(1707): wlan0: broadcasting for a lease
    03-24 10:20:31.140: D/dhcpcd(1707): wlan0: offered 192.168.1.101 from 192.168.1.1
    03-24 10:20:42.980: I/SERVICE(1620): **** android.intent.action.BATTERY_CHANGED
    03-24 10:20:42.990: I/SERVICE(1620): *** RELAUNCH ****
    03-24 10:20:42.990: W/BatteryWidget(1620): Direct0
    03-24 10:20:57.370: E/dhcpcd(1707): timed out
    03-24 10:20:58.960: E/DhcpStateMachine(142): DHCP failed on wlan0: Timed out waiting for DHCP to finish
    03-24 10:20:59.170: E/WifiStateMachine(142): IP configuration failed
    03-24 10:20:59.190: I/wpa_supplicant(1660): wlan0: CTRL-EVENT-DISCONNECTED bssid=00:00:00:00:00:00 reason=0
    03-24 10:20:59.190: D/CommandListener(79): Clearing all IP addresses on wlan0
    03-24 10:20:59.200: D/ConnectivityService(142): ConnectivityChange for WIFI: DISCONNECTED/DISCONNECTED
    03-24 10:20:59.210: W/NetworkStats(142): dropping UID delta from unknown iface: iface=wlan0 uid=0 set=DEFAULT tag=0x0 rxBytes=0 rxPackets=0 txBytes=844 txPackets=13 operations=0
    03-24 10:20:59.880: D/dalvikvm(1294): GC_CONCURRENT freed 394K, 7% free 7990K/8583K, paused 2ms+4ms
    03-24 10:21:02.220: D/Tethering(142): MasterInitialState.processMessage what=3
    03-24 10:21:02.220: D/TetherController(79): setDnsForwarders(0 = '8.8.8.8')
    03-24 10:21:02.220: D/TetherController(79): setDnsForwarders(1 = '8.8.4.4')
    03-24 10:21:02.250: E/ActivityThread(142): Failed to find provider info for telephony
    03-24 10:21:02.270: I/MediaUploader(963): No need to wake up
    03-24 10:21:02.280: E/WeatherAppWidgetProvider(1314): onReceive():42: onReceiveandroid.net.conn.CONNECTIVITY_CHANGE
    03-24 10:21:02.280: D/dalvikvm(933): GC_FOR_ALLOC freed 496K, 11% free 6723K/7495K, paused 23ms
    03-24 10:21:02.280: E/WeatherUpdateService(1314): onStartCommand():253: onStartCommand, action = com.acer.android.widget.weather2.action.connectivitychange
    03-24 10:21:02.280: D/WeatherUpdateService(1314): onStartCommand():298: netWorkInfo.getState(): netWorkInfo == null
    03-24 10:21:02.280: D/PicasaSyncManager(978): active network: null
    03-24 10:21:02.280: D/PicasaSyncManager(978): background data: true
    03-24 10:21:13.060: I/SERVICE(1620): **** android.intent.action.BATTERY_CHANGED
    03-24 10:21:13.070: I/SERVICE(1620): *** RELAUNCH ****
    03-24 10:21:13.070: W/BatteryWidget(1620): Direct0
    03-24 10:21:19.920: I/wpa_supplicant(1660): wlan0: Trying to associate with 00:1c:28:16:b2:a1 (SSID='Moria' freq=2472 MHz)
    03-24 10:21:29.970: I/wpa_supplicant(1660): wlan0: Authentication with 00:1c:28:16:b2:a1 timed out.
    03-24 10:21:31.710: D/dalvikvm(1294): GC_CONCURRENT freed 511K, 8% free 7917K/8583K, paused 2ms+4ms
    03-24 10:21:39.990: I/wpa_supplicant(1660): wlan0: Trying to associate with 00:1c:28:16:b2:a1 (SSID='Moria' freq=2472 MHz)
    03-24 10:21:42.070: D/AudioFlinger(84): Disable natural base
    03-24 10:21:42.150: D/dalvikvm(1294): GC_CONCURRENT freed 480K, 9% free 7889K/8583K, paused 2ms+4ms
    03-24 10:21:43.150: I/SERVICE(1620): **** android.intent.action.BATTERY_CHANGED
    03-24 10:21:43.150: I/SERVICE(1620): *** RELAUNCH ****
    03-24 10:21:43.150: W/BatteryWidget(1620): Direct0
    03-24 10:21:43.440: D/AudioFlinger(84): Disable natural base
    03-24 10:21:44.220: D/dalvikvm(1294): GC_CONCURRENT freed 369K, 8% free 7960K/8583K, paused 2ms+5ms
    03-24 10:21:50.020: I/wpa_supplicant(1660): wlan0: Authentication with 00:1c:28:16:b2:a1 timed out.
    03-24 10:21:50.020: D/CommandListener(79): Clearing all IP addresses on wlan0
    03-24 10:21:51.690: I/wpa_supplicant(1660): wlan0: Trying to associate with 00:1c:28:16:b2:a1 (SSID='Moria' freq=2472 MHz)
    03-24 10:21:51.790: D/dalvikvm(142): GC_CONCURRENT freed 1210K, 47% free 12339K/22919K, paused 2ms+7ms
    03-24 10:21:51.840: D/dalvikvm(1294): GC_CONCURRENT freed 395K, 8% free 7981K/8583K, paused 2ms+7ms
    03-24 10:22:01.730: I/wpa_supplicant(1660): wlan0: Authentication with 00:1c:28:16:b2:a1 timed out.
    03-24 10:22:03.410: I/wpa_supplicant(1660): wlan0: Trying to associate with 00:1c:28:16:b2:a1 (SSID='Moria' freq=2472 MHz)
    03-24 10:22:13.440: I/wpa_supplicant(1660): wlan0: Authentication with 00:1c:28:16:b2:a1 timed out.
    03-24 10:22:14.440: E/wpa_supplicant(1660): ioctl[SIOCSIWPRIV] (cscan): -1
    03-24 10:22:14.440: W/wpa_supplicant(1660): wlan0: Failed to initiate AP scan
    03-24 10:22:15.470: E/wpa_supplicant(1660): ioctl[SIOCSIWPRIV] (cscan): -1
    03-24 10:22:15.470: W/wpa_supplicant(1660): wlan0: Failed to initiate AP scan
    
    Gruß
    Thorsten
     
    Zuletzt bearbeitet: 24.03.2012
  2. Unicate, 26.03.2012 #2
    Unicate

    Unicate Android-Experte

    Beiträge:
    473
    Erhaltene Danke:
    57
    Registriert seit:
    09.08.2010
    Und das ist einfach so passiert?
    Was hast du denn gestern abend gemacht? Oder was hast du als letztes damit gemacht?

    Und nein, ich glaube dieser Thread gehört nicht hier rein ;)
     
  3. Ikarisan, 26.03.2012 #3
    Ikarisan

    Ikarisan Threadstarter Neuer Benutzer

    Beiträge:
    20
    Erhaltene Danke:
    0
    Registriert seit:
    18.12.2011
    Huhu!

    Nix... nur ein wenig mit dem Location Manager rumprogrammiert. Habe als Lösungsoption auch schon verschiedene ROMs geflasht (inkl. Wipe). Hat alles nichts gebracht.

    Meine einzige Lösung war jetzt, den WPA2-Schlüssel auf dem Router zu ändern. Jetzt funktioniert WLAN wieder! Seltsame Sache. :blink:
     

Diese Seite empfehlen