[HD2 Android NAND Development] Pekasala:
No automatic WIFI connection

Hi guys,

the most time i enable my wifi at home there is no automatic connection to my wireless lan.

The next lines are the log output during trying enabling the wifi.

I can see the WLAN state ist going to CONNECTED but on the mobile i can never see the wifi icon.

So i assume the connectivity service does not recognize the state change.

(normally we would see lines just like

12-10 20:48:51.495 D/ConnectivityService( 283): ConnectivityChange for WIFI: CONNECTED/CONNECTED

12-10 20:48:51.495 D/ConnectivityService( 283): Policy requires mobile teardown

12-10 20:48:51.595 D/ConnectivityService( 283): ConnectivityChange for mobile: DISCONNECTED/DISCONNECTED

12-10 20:48:51.595 D/ConnectivityService( 283): Attempting to switch to WIFI

12-10 20:48:51.595 D/ConnectivityService( 283): Attempting to switch to BLUETOOTH_TETHER

12-10 20:48:51.605 D/ConnectivityService( 283): resetConnections(rmnet0, 3)

12-10 20:48:51.995 D/ConnectivityService( 283): handleInetConditionChange: net=0 != default=1 - ignore

12-10 20:48:56.535 I/ActivityManager( 283): Process com.android.providers.calendar (pid 8355) has died.

)

1. Try

12-10 20:46:57.735 D/WifiService( 283): setWifiEnabled: true pid=613, uid=10048

12-10 20:46:57.795 D/BackupManagerService( 283): Now staging backup of com.android.providers.settings

12-10 20:46:58.375 I/ActivityManager( 283): Start proc com.googlecode.android.wifi.tether for broadcast com.googlecode.android.wifi.tether/.WifiStateChangeReceiver: pid=10138 uid=10064 gids={3003, 3001, 3002, 1015, 1028}

12-10 20:47:00.355 W/InputMethodManagerService( 283): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@40fdb408 attribute=null

12-10 20:47:00.375 D/PhoneStatusBar( 613): disable: < expand icons alerts ticker* system_info back home recent clock >

12-10 20:47:22.775 D/PhoneStatusBar( 613): disable: < expand icons alerts TICKER* system_info back home recent clock >

12-10 20:47:26.825 W/InputMethodManagerService( 283): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@40e780c8 attribute=null

12-10 20:47:26.845 D/PhoneStatusBar( 613): disable: < expand icons alerts ticker* system_info back home recent clock >

12-10 20:47:28.105 D/PhoneStatusBar( 613): disable: < expand icons alerts TICKER* system_info back home recent clock >

12-10 20:47:29.165 D/WifiService( 283): setWifiEnabled: false pid=613, uid=10048

2. Try

12-10 21:01:04.925 D/WifiService( 283): setWifiEnabled: true pid=613, uid=10048

12-10 21:01:08.215 D/SoftapController( 94): Softap fwReload - Ok

12-10 21:01:08.225 D/CommandListener( 94): Setting iface cfg

12-10 21:01:08.225 D/CommandListener( 94): Trying to bring down wlan0

12-10 21:01:08.225 E/WifiHW ( 283): Unable to open connection to supplicant on "wlan0": No such file or directory

12-10 21:01:08.955 I/wpa_supplicant(11187): wlan0: Trying to associate with c6:25:06:13:23:8d (SSID='PetersWLAN' freq=2412 MHz)

12-10 21:01:08.985 I/wpa_supplicant(11187): wlan0: Associated with c6:25:06:13:23:8d

12-10 21:01:08.995 I/wpa_supplicant(11187): wlan0: WPA: Key negotiation completed with c6:25:06:13:23:8d [PTK=CCMP GTK=TKIP]

12-10 21:01:08.995 I/wpa_supplicant(11187): wlan0: CTRL-EVENT-CONNECTED - Connection to c6:25:06:13:23:8d completed (auth) [id=1 id_str=]

12-10 21:01:10.525 W/InputMethodManagerService( 283): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@412531d8 attribute=null

12-10 21:01:10.545 D/PhoneStatusBar( 613): disable: < expand icons alerts ticker* system_info back home recent clock >

12-10 21:01:29.435 D/PhoneStatusBar( 613): disable: < expand icons alerts TICKER* system_info back home recent clock >

12-10 21:01:31.465 D/CommandListener( 94): Clearing all IP addresses on wlan0

12-10 21:01:31.465 D/WifiService( 283): setWifiEnabled: false pid=613, uid=10048

12-10 21:01:31.495 I/wpa_supplicant(11187): wlan0: CTRL-EVENT-TERMINATING

12-10 21:01:31.735 W/Netd ( 94): No subsystem found in netlink event

12-10 21:01:31.735 D/NetlinkEvent( 94): Unexpected netlink message. type=0x11

12-10 21:01:36.595 W/InputMethodManagerService( 283): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@4139b550 attribute=null

Any ideas?

Thanks in advance