大家好,想请教一个关于android wifi连接的问题,我的wifi总是死在obtaining Ip 那里,android用的是froyo。大家给点建议啊,感激不尽!以下是logcat。
 
##通过与成功连接wifi的日志对比,之前的日志可以确定是对的##
D/dhcpcd ( 1905): forking to background
I/logwrapper( 1897): dhcpcd terminated by exit(0)
D/dhcpcd ( 2128): sending ARP announce (1 of 2), next in 2.00 seconds
D/dhcpcd ( 2128): sending ARP announce (2 of 2)
D/dhcpcd ( 2128): renew in 43196 seconds
...
I/WifiStateTracker( 199): DhcpHandler: DHCP request failed: Timed out waiting for DHCP to finish ##此错在system/core/libnetutils/dhcp_utils.c的dhcp_do_request()中,但由于对这块不熟,进展很慢
V/WifiMonitor( 199): Event [CTRL-EVENT-STATE-CHANGE id=0 state=8]
D/dhcpcd ( 2128): carrier lost