How to issue wps_pbc command to the right p2p interface

Andrea Chittano andrea.chittano
Tue Oct 6 02:17:02 PDT 2015


Hi Jouni,
first of all thank you for you answer.
Let's suppose I want to use a global control interface, which is the right procedure (included the right way to set the configuration files) that I have to follow?
I mean, I would like to use the following p2p.conf file (located in /etc/ folder):
ctrl_interface=/var/run/wpa_supplicantap_scan=1device_name=P2P-Testdriver_param=use_p2p_group_interface=1p2p_go_intent=15
If I use the following set of commands, linux crashes once it notices the first p2p group owner negotiation request: -- wpa_supplicant -g /var/run/wpa_supplicant-global -c /etc/p2p.conf
-- wpa_cli -g /var/run/wpa_supplicant-global interface_add wlan0 "" nl80211 /var/run/wpa_supplicant

Where  am  I wrong? 

> Date: Sat, 3 Oct 2015 18:35:59 +0300
> From: j at w1.fi
> To: hostap at lists.shmoo.com
> Subject: Re: How to issue wps_pbc command to the right p2p interface
> 
> On Fri, Oct 02, 2015 at 10:39:12AM +0200, Andrea Chittano wrote:
> > I would like to know if it is possible to issue the wps_pbc command to a p2p interface, from the wpa_cli prompt that has been used to create it.
> 
> You can either start a wpa_cli for the group interface (-i<ifname> on
> the command line) or use the global control interface and
> IFNAME=<ifname> prefix on the wps_pbc.
> 
> -- 
> Jouni Malinen                                            PGP id EFC895FA
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.shmoo.com/pipermail/hostap/attachments/20151006/0a97d683/attachment.htm>



More information about the Hostap mailing list