Hi all, I am trying to port wifi on my target board. when I turn wifi off from GUI, dhcpcd still running in the background. when I turn wifi back on, dhcpcd tries to run again but terminates early. I get this error: /************************ ERROR LOG*********************************/ V/WifiStateTracker( 878): New network state is CONNECTED D/WifiStateTracker( 878): DhcpHandler: DHCP request started I//system/bin/dhcpcd( 1119): wlan0: flock `/data/misc/dhcp/dhcpcd-wlan0.pid': Try again I/logwrapper( 1119): /system/bin/dhcpcd terminated by exit(1) D/SettingsWifiEnabler( 1055): Received network state changed to NetworkInfo: type: WIFI[], state: CONNECTING/OBTAINING_IPADDe D/dalvikvm( 1019): GC freed 67 objects / 3248 bytes in 34ms I/WifiStateTracker( 878): DhcpHandler: DHCP request failed: Timed out waiting for dhcpcd to start /************************ERROR LOG**********************************/
getprop output showing [init.svc.dhcpcd]:[STOPPED], even though the dhcpcd process is still running. logs for dhcpcd when it starts first time: /*********************Wifi Wrking LOG*********************************/ V/WifiStateTracker( 878): New network state is CONNECTED D/WifiStateTracker( 878): DhcpHandler: DHCP request started I//system/bin/dhcpcd( 1079): wlan0: dhcpcd 4.0.1 starting I//system/bin/dhcpcd( 1079): wlan0: hardware address = 00:21:91:98:07:1f I//system/bin/dhcpcd( 1079): wlan0: executing `/system/etc/dhcpcd/dhcpcd-run-hooks', reason PREINIT D/SettingsWifiEnabler( 1055): Received network state changed to NetworkInfo: type: WIFI[], state: CONNECTING/OBTAINING_IPADDe I//system/bin/dhcpcd( 1079): wlan0: host does not support a monotonic clock - timing can skew I//system/bin/dhcpcd( 1079): wlan0: broadcasting for a lease /****************************wifi wrking LOG*****************************/ Anybody has idea or solution for this error : wlan0: flock `/data/misc/dhcp/dhcpcd-wlan0.pid': Try again Any help will be highly appreciated. Thanks & Regards, Deepak --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---