How to get the IP address of the device in WIFI DIRECT?

Why is my wireless client device not able to obtain an IP from a WiFi AP?

  • 1) After applying following changes stop network manager->reload wifi drivers-> start network manager  on my device side, my device is able to get IP address.  2)  But now, I am facing new issue... if wrong key or password for   Router/AP is provided on device side , in such case device not able to  connect to AP, due to wrong password, but device try connecting  AP 3  times(it has been coded that way, then after retries, my device again  waits for new AP information) But I observed that, during this case, my  wlan0 is lost....on reboot, wlan0 is back...

  • Answer:

    Most likely, the AP is malfunctioning and needs to be reset.  Alternately, it could be misconfigured.

Tony Li at Quora Visit the source

Was this solution helpful to you?

Other answers

DHCP server has gone tits up, was never configured, never turned on or was misconfigured.

Kok-Yong Tan

Seems to be the DHCP client that is making the black sheep here. Also if it possible do check that if you are setting your ip setting to manual or auto. Hope this is sorted out

Cheerag Nundlall

1) After applying following changes stop network manager->reload wifi drivers-> start network manager  on my device side, my device is able to get IP address.  2) But now, I am facing new issue... if wrong key or password for  Router/AP is provided on device side , in such case device not able to connect to AP, due to wrong password, but device try connecting  AP 3 times(it has been coded that way, then after retries, my device again waits for new AP information) But I observed that, during this case, my wlan0 is lost....on reboot, wlan0 is back...

Swapnali Aruna Chandrakant

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.