Hi,Yarra!Could you share more details?I want to have a try.

2011/8/27 yarra vivek <ansivivek1...@gmail.com>

> Not sure what the reason is but i faced the same problem when i tinkered
> with wpa_supplicant. i wanted to enable the ad-hoc connectivity to my wifi
> :)
>
>
> On Sat, Aug 27, 2011 at 2:35 PM, William W.-Y. Liang <
> wyli...@mail.ntut.edu.tw> wrote:
>
>> Here is just an observation form your log, for your reference. Not a
>> solution to your problem.
>>
>> From the log (extracted as below), it looks that the DHCP client has ever
>> successfully connected to a DHCP server and was assigned an IP address.
>> Somehow, it terminated itself by exit(0) after forking itself to run in
>> background. That termination later caused the failure of the wireless
>> connection. Probably you can take a look at the detailed process in this
>> part.
>>
>> D/dhcpcd  (  685): leased 192.168.1.110 for 86400 seconds
>> D/dhcpcd  (  685): adding IP address 192.168.1.110/24
>> D/dhcpcd  (  685): adding route to 0.0.0.0/0 via 192.168.1.100
>> D/dhcpcd  (  685): executing `/system/etc/dhcpcd/dhcpcd-run-hooks',
>> reason BOUND
>> I/dhcpcd  (  684): Toolbox!
>> ...
>> I/dhcpcd  (  684): Toolbox!
>> ...
>> D/dhcpcd  (  685): forking to background
>> I/logwrapper(  684): dhcpcd terminated by exit(0)
>> ...
>> I/WifiStateTracker(  200): DhcpHandler: DHCP request failed: Timed out
>> waiting for DHCP to finish
>> ...
>> V/WifiStateTracker(  200): Changing supplicant state: COMPLETED ==>
>> DORMANT
>> D/WifiStateTracker(  200): Reset connections and stopping DHCP
>> I/wpa_supplicant(  588): CTRL-EVENT-DISCONNECTED - Disconnect event -
>> remove keys
>> V/WifiMonitor(  200): Event [CTRL-EVENT-DISCONNECTED - Disconnect
>> event - remove keys]
>> ...
>> D/WifiStateTracker(  200): Disabling interface
>>
>> William Liang
>> http://www.ntut.edu.tw/~wyliang
>>
>> 2011/8/27 weihongcsu li <liweihong...@gmail.com>
>>
>>> Yes,I have tried both static ip and dhcp,but it doesn't work.The logcat 
>>> above
>>> is from dhcp.
>>>
>>> 2011/8/27 zhouluf...@aol.com <zhouluf...@aol.com>
>>>
>>> HI
>>>>
>>>> Maybe yours WLAN-ap(HG231f-B8731C) is not support static IP,you'd
>>>> better have a try DHCP!
>>>> And there is a chance that yours IP(192.168.0.110) is not supported!!
>>>> Changed and try!
>>>> and I think static IP is not a good idea!  BUT If you want to set it
>>>> to a static IP,you can
>>>> try this:   [connected success]--->[IP address acquire success]----
>>>> >[note the IP:x.x.x.x]---
>>>> -->[set static IP with note before:x.x.x.x]---->[OK]
>>>> so much!
>>>>
>>>> On 8月25日, 下午1时33分, weihongcsu <liweihong...@gmail.com> wrote:
>>>> > Dear all,
>>>> >      Hi,I am trying to port bcm4329 to P860(Paloris).But wifi fails on
>>>> > "Obtaining an IP Address",even I use a static ip. Could you lend me a
>>>> > hand?
>>>> >    Here is the details:
>>>> >    1. Android git://
>>>> androidhtc.git.sourceforge.net/gitroot/androidhtc/manifest
>>>> > –b froyo.
>>>> >    2. Kernel is linux 2.6.32.9, Compiler is arm-2009q3.
>>>> >    Here is the log:
>>>> > I/wpa_supplicant(  588): Trying to associate with 00:e0:4c:b8:73:24
>>>> > (SSID='HG231f-B8731C' freq=2422 MHz)
>>>> > I/wpa_supplicant(  588): CTRL-EVENT-STATE-CHANGE id=-1 state=3
>>>> >
>>>> > V/WifiMonitor(  200): Event [Trying to associate with
>>>> > 00:e0:4c:b8:73:24 (SSID='HG231f-B8731C' freq=2422 MHz)]
>>>> > V/WifiMonitor(  200): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=3]
>>>> >
>>>> > V/WifiStateTracker(  200): Changing supplicant state: SCANNING ==>
>>>> > ASSOCIATING
>>>> > D/NetworkStateTracker(  200): setDetailed state, old =SCANNING and new
>>>> > state=CONNECTING
>>>> >
>>>> > D/ConnectivityService(  200): ConnectivityChange for WIFI: CONNECTING/
>>>> > CONNECTING
>>>> >
>>>> > D/WifiService(  200): ACTION_BATTERY_CHANGED pluggedType: 2
>>>> > I/wpa_supplicant(  588): CTRL-EVENT-STATE-CHANGE id=0 state=4
>>>> > V/WifiMonitor(  200): Event [CTRL-EVENT-STATE-CHANGE id=0 state=4]
>>>> > V/WifiStateTracker(  200): Changing supplicant state: ASSOCIATING ==>
>>>> > ASSOCIATED
>>>> > D/NetworkStateTracker(  200): setDetailed state, old =CONNECTING and
>>>> > new state=CONNECTING
>>>> > I/wpa_supplicant(  588): Associated with 00:e0:4c:b8:73:24
>>>> > V/WifiMonitor(  200): Event [Associated with 00:e0:4c:b8:73:24]
>>>> > D/dalvikvm(  561): GC_FOR_MALLOC freed 8399 objects / 482752 bytes in
>>>> > 122ms
>>>> > I/wpa_supplicant(  588): CTRL-EVENT-STATE-CHANGE id=0 state=5
>>>> > V/WifiMonitor(  200): Event [CTRL-EVENT-STATE-CHANGE id=0 state=5]
>>>> > V/WifiStateTracker(  200): Changing supplicant state: ASSOCIATED ==>
>>>> > FOUR_WAY_HANDSHAKE
>>>> > D/NetworkStateTracker(  200): setDetailed state, old =CONNECTING and
>>>> > new state=AUTHENTICATING
>>>> > D/ConnectivityService(  200): Dropping ConnectivityChange for WIFI:
>>>> > CONNECTING/AUTHENTICATING
>>>> > I/wpa_supplicant(  588): CTRL-EVENT-STATE-CHANGE id=0 state=5
>>>> > V/WifiMonitor(  200): Event [CTRL-EVENT-STATE-CHANGE id=0 state=5]
>>>> > I/wpa_supplicant(  588): CTRL-EVENT-STATE-CHANGE id=0 state=6
>>>> > V/WifiStateTracker(  200): Changing supplicant state:
>>>> > FOUR_WAY_HANDSHAKE ==> FOUR_WAY_HANDSHAKE
>>>> > V/WifiMonitor(  200): Event [CTRL-EVENT-STATE-CHANGE id=0 state=6]
>>>> > I/wpa_supplicant(  588): WPA: Key negotiation completed with
>>>> > 00:e0:4c:b8:73:24 [PTK=CCMP GTK=CCMP]
>>>> > I/wpa_supplicant(  588): CTRL-EVENT-STATE-CHANGE id=0 state=7
>>>> > I/wpa_supplicant(  588): CTRL-EVENT-CONNECTED - Connection to
>>>> > 00:e0:4c:b8:73:24 completed (auth) [id=0 id_str=]
>>>> > V/WifiStateTracker(  200): Changing supplicant state:
>>>> > FOUR_WAY_HANDSHAKE ==> GROUP_HANDSHAKE
>>>> > V/WifiMonitor(  200): Event [WPA: Key negotiation completed with
>>>> > 00:e0:4c:b8:73:24 [PTK=CCMP GTK=CCMP]]
>>>> > V/WifiMonitor(  200): Event [CTRL-EVENT-STATE-CHANGE id=0 state=7]
>>>> > V/WifiMonitor(  200): Event [CTRL-EVENT-CONNECTED - Connection to
>>>> > 00:e0:4c:b8:73:24 completed (auth) [id=0 id_str=]]
>>>> > D/NetworkStateTracker(  200): setDetailed state, old =AUTHENTICATING
>>>> > and new state=AUTHENTICATING
>>>> > V/WifiStateTracker(  200): Changing supplicant state: GROUP_HANDSHAKE
>>>> > ==> COMPLETED
>>>> > V/WifiStateTracker(  200): New network state is CONNECTED
>>>> > D/NetworkStateTracker(  200): setDetailed state, old =AUTHENTICATING
>>>> > and new state=OBTAINING_IPADDR
>>>> > D/ConnectivityService(  200): Dropping ConnectivityChange for WIFI:
>>>> > CONNECTING/OBTAINING_IPADDR
>>>> > D/WifiStateTracker(  200): DhcpHandler: DHCP request started
>>>> > D/dhcpcd  (  685): dhcpcd 4.0.15 starting
>>>> > D/dhcpcd  (  685): hardware address = b4:07:f9:b6:9e:bc
>>>> > D/dhcpcd  (  685): executing `/system/etc/dhcpcd/dhcpcd-run-hooks',
>>>> > reason PREINIT
>>>> > I/dhcpcd  (  684): Toolbox!
>>>> > D/dhcpcd  (  685): host does not support a monotonic clock - timing
>>>> > can skew
>>>> > D/dhcpcd  (  685): broadcasting for a lease
>>>> > D/dhcpcd  (  685): sending DHCP_DISCOVER with xid 0xe21861cf, next in
>>>> > 4.09 seconds
>>>> > D/dhcpcd  (  685): offered 192.168.1.110 from 192.168.1.100
>>>> > D/dhcpcd  (  685): sending DHCP_REQUEST with xid 0xe21861cf, next in
>>>> > 3.09 seconds
>>>> > D/dhcpcd  (  685): acknowledged 192.168.1.110 from 192.168.1.100
>>>> > D/dhcpcd  (  685): checking 192.168.1.110 is available on attached
>>>> > networks
>>>> > D/dhcpcd  (  685): sending ARP probe (1 of 3), next in 1.52 seconds
>>>> > I/wpa_supplicant(  588): CTRL-EVENT-SCAN-RESULTS  Ready
>>>> > D/dhcpcd  (  685): sending ARP probe (2 of 3), next in 1.87 seconds
>>>> > D/dhcpcd  (  685): sending ARP probe (3 of 3), next in 2.00 seconds
>>>> > D/dhcpcd  (  685): leased 192.168.1.110 for 86400 seconds
>>>> > D/dhcpcd  (  685): adding IP address 192.168.1.110/24
>>>> > D/dhcpcd  (  685): adding route to 0.0.0.0/0 via 192.168.1.100
>>>> > D/dhcpcd  (  685): executing `/system/etc/dhcpcd/dhcpcd-run-hooks',
>>>> > reason BOUND
>>>> > I/dhcpcd  (  684): Toolbox!
>>>> > I/dhcpcd  (  684): Toolbox!
>>>> > I/dhcpcd  (  684): Toolbox!
>>>> > I/dhcpcd  (  684): Toolbox!
>>>> > I/dhcpcd  (  684): Toolbox!
>>>> > I/dhcpcd  (  684): Toolbox!
>>>> > I/dhcpcd  (  684): Toolbox!
>>>> > I/dhcpcd  (  684): Toolbox!
>>>> > I/dhcpcd  (  684): Toolbox!
>>>> > I/dhcpcd  (  684): Toolbox!
>>>> > I/dhcpcd  (  684): Toolbox!
>>>> > D/skia    (  439): purging 6K from font cache [1 entries]
>>>> > I/dhcpcd  (  684): Toolbox!
>>>> > I/dhcpcd  (  684): Toolbox!
>>>> > D/dhcpcd  (  685): forking to background
>>>> > I/logwrapper(  684): dhcpcd terminated by exit(0)
>>>> > D/dalvikvm(  439): GC_EXPLICIT freed 2167 objects / 164400 bytes in
>>>> > 133ms
>>>> > I/wpa_supplicant(  588): CTRL-EVENT-SCAN-RESULTS  Ready
>>>> > D/dhcpcd  (  735): sending ARP announce (1 of 2), next in 2.00 seconds
>>>> > D/dhcpcd  (  735): sending ARP announce (2 of 2)
>>>> > D/dhcpcd  (  735): renew in 43196 seconds
>>>> > I/wpa_supplicant(  588): CTRL-EVENT-SCAN-RESULTS  Ready
>>>> > I/wpa_supplicant(  588): CTRL-EVENT-SCAN-RESULTS  Ready
>>>> > I/wpa_supplicant(  588): CTRL-EVENT-SCAN-RESULTS  Ready
>>>> > D/dalvikvm(  561): GC_FOR_MALLOC freed 9104 objects / 568304 bytes in
>>>> > 115ms
>>>> > I/WifiStateTracker(  200): DhcpHandler: DHCP request failed: Timed out
>>>> > waiting for DHCP to finish
>>>> > I/wpa_supplicant(  588): CTRL-EVENT-STATE-CHANGE id=0 state=8
>>>> > V/WifiMonitor(  200): Event [CTRL-EVENT-STATE-CHANGE id=0 state=8]
>>>> > D/dhcpcd  (  735): carrier lost
>>>> > V/WifiStateTracker(  200): Changing supplicant state: COMPLETED ==>
>>>> > DORMANT
>>>> > D/WifiStateTracker(  200): Reset connections and stopping DHCP
>>>> > I/wpa_supplicant(  588): CTRL-EVENT-DISCONNECTED - Disconnect event -
>>>> > remove keys
>>>> > V/WifiMonitor(  200): Event [CTRL-EVENT-DISCONNECTED - Disconnect
>>>> > event - remove keys]
>>>> > I/wpa_supplicant(  588): CTRL-EVENT-STATE-CHANGE id=-1 state=8
>>>> > V/WifiMonitor(  200): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=8]
>>>> > I//system/bin/wpa_supplicant(  587): ioctl[SIOCGIWSCAN]: Try again
>>>> > D/WifiStateTracker(  200): Disabling interface
>>>> > D/NetworkStateTracker(  200): setDetailed state, old =OBTAINING_IPADDR
>>>> > and new state=FAILED
>>>> > I//system/bin/wpa_supplicant(  587): l2_packet_receive - recvfrom:
>>>> > Network is down
>>>> > V/WifiStateTracker(  200): New network state is DISCONNECTED
>>>> > V/WifiStateTracker(  200): Changing supplicant state: DORMANT ==>
>>>> > DORMANT
>>>> > D/ConnectivityService(  200): ConnectivityChange for WIFI:
>>>> > DISCONNECTED/FAILED
>>>> > V/ConnectivityService(  200): Attempt to connect to WIFI failed.
>>>> > D/ConnectivityService(  200): getMobileDataEnabled returning true
>>>> > D/DataConnectionTracker(  263): enableApnType(default),
>>>> > isApnTypeActive = false and state = IDLE
>>>> > D/DataConnectionTracker(  263): type not available
>>>> > D/Tethering(  200): Tethering got CONNECTIVITY_ACTION
>>>> > D/Tethering(  200): MasterInitialState.processMessage what=3
>>>> > E/HierarchicalStateMachine(  200): TetherMaster - unhandledMessage:
>>>> > msg.what=3
>>>> > I/ActivityManager(  200): Start proc com.google.android.apps.uploader
>>>> > for broadcast
>>>> > com.google.android.apps.uploader/.ConnectivityBroadcastReceiver:
>>>> > pid=750 uid=10019 gids={3003}
>>>> > I/ActivityThread(  750): Publishing provider
>>>> > com.google.android.apps.uploader:
>>>> > com.google.android.apps.uploader.UploadsContentProvider
>>>> > I/ActivityThread(  750): Publishing provider
>>>> > com.google.photos.provider.Album:
>>>> > com.google.android.apps.uploader.clients.picasa.AlbumProvider
>>>> > D/MediaUploader(  750): UploaderApplication.onCreate
>>>> > D/MediaUploader(  750): nonWifiLimit=20971520, default=20971520
>>>> > I/MediaUploader(  750): No need to wake up
>>>> > I/GTalkService(  601): [ServiceAutoStarter] --- connectivity changed
>>>> > I/GTalkService(  601): [ServiceAutoStarter] --- start GTalk service
>>>> > ---
>>>> > D/GTalkService(  601): [GTalkService.1] onStartCommand: found 0
>>>> > connections, force audit connections...
>>>> > I/ActivityManager(  200): Start proc android.process.media for
>>>> > broadcast com.android.providers.downloads/.DownloadReceiver: pid=760
>>>> > uid=10020 gids={1015, 2001, 3003}
>>>> > D/GoogleLoginService(  601): onBind: Intent
>>>> > { act=android.accounts.AccountAuthenticator
>>>> > cmp=com.google.android.gsf/.loginservice.GoogleLoginService }
>>>> > W/GoogleLoginService(  601): Device has no accounts: sending Intent
>>>> > { act=com.google.android.gsf.LOGIN_ACCOUNTS_MISSING }
>>>> > I/ActivityManager(  200): Process com.google.android.apps.uploader
>>>> > (pid 750) has died.
>>>> > I/ActivityManager(  200): Low Memory: No more background processes.
>>>>
>>>> --
>>>> unsubscribe: android-kernel+unsubscr...@googlegroups.com
>>>> website: http://groups.google.com/group/android-kernel
>>>
>>>
>>>  --
>>> unsubscribe: android-kernel+unsubscr...@googlegroups.com
>>> website: http://groups.google.com/group/android-kernel
>>>
>>
>>  --
>> unsubscribe: android-kernel+unsubscr...@googlegroups.com
>> website: http://groups.google.com/group/android-kernel
>>
>
>  --
> unsubscribe: android-kernel+unsubscr...@googlegroups.com
> website: http://groups.google.com/group/android-kernel
>

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to