<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><div>Hi Jouni,</div><div><br></div><div>first of all thank you for you answer.</div><div><br></div><div>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?</div><div><br></div><div>I mean, I would like to use the following p2p.conf file (located in /etc/ folder):</div><div><br></div><div>ctrl_interface=/var/run/wpa_supplicant</div><div>ap_scan=1</div><div>device_name=P2P-Test</div><div>driver_param=use_p2p_group_interface=1</div><div>p2p_go_intent=15</div><div><br></div><div>If I use the following set of commands, <span style="font-size: 12pt;">linux crashes once it notices the first p2p group owner negotiation request:</span></div><div> </div><div>-- wpa_supplicant -g /var/run/wpa_supplicant-global -c /etc/p2p.conf</div><div><br></div><div>-- wpa_cli -g /var/run/wpa_supplicant-global interface_add wlan0 "" nl80211 /var/run/wpa_supplicant</div><div><br></div><div><br></div><div>Where  am  I wrong? </div><div><br></div><br><div>> Date: Sat, 3 Oct 2015 18:35:59 +0300<br>> From: j@w1.fi<br>> To: hostap@lists.shmoo.com<br>> Subject: Re: How to issue wps_pbc command to the right p2p interface<br>> <br>> On Fri, Oct 02, 2015 at 10:39:12AM +0200, Andrea Chittano wrote:<br>> > 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.<br>> <br>> You can either start a wpa_cli for the group interface (-i<ifname> on<br>> the command line) or use the global control interface and<br>> IFNAME=<ifname> prefix on the wps_pbc.<br>> <br>> -- <br>> Jouni Malinen                                            PGP id EFC895FA<br>> _______________________________________________<br>> HostAP mailing list<br>> HostAP@lists.shmoo.com<br>> http://lists.shmoo.com/mailman/listinfo/hostap<br></div>                                    </div></body>
</html>