p2p: get dynamic address problems

kyle chao.hao
Fri Jan 4 02:43:42 PST 2013

Christian Lamparter,

thank you very much !! i'll have a try

On 2013?01?04? 18:38, Christian Lamparter wrote:
> On Friday 04 January 2013 10:05:40 kyle wrote:
>> i'm new to wpa_supplicant.hope someone can give me some help or
>> advice.
>> here is my problem:
>> after using ping command to verify connection,i find my devices works
>> well in p2p mode with static ip.
>> but when i enable the DHCP server at the GO EVM, which will provide IP
>> address to the clients using DHCP session,
>> something go wrong.
>> the DHCP server works well in AP mode .
>> but In p2p mode,DHCP server seems not received request.
>> and client EVM automatically obtain a ipv6 address.
>> does someone encounter similar situation or know something about this??
> Do you run a p2p-action script on the p2p main interface?
> It'll take care of managing a newly created groups and
> you can even setup up cross-connections automatically.
> The "wpa_supplicant/examples/p2p-action.sh" [1] [2]
> script for wpa_cli action mode shows how you can use
> dnsmasq and dhclient to do this automatically based on
> P2P-GROUP-STARTED events. To use it, just execute:
> wpa_cli -i $WLANX -a full-path-from-root-to/p2p-action.sh -B
> right after you've started wpa_supplicant (but before
> any p2p client can connect).
> Regards,
> 	Chr
> [1]<http://hostap.epitest.fi/gitweb/gitweb.cgi?p=hostap.git;a=blob;f=wpa_supplicant/examples/p2p-action.sh>
> [2]
> <http://hostap.epitest.fi/gitweb/gitweb.cgi?p=hostap.git;a=blob;f=wpa_supplicant/examples/p2p-action-udhcp.sh>

More information about the Hostap mailing list