Can't use virtual interface for P2P connection

Lin Ma linmaonly at gmail.com
Tue Jan 11 20:53:47 EST 2011


Hello Jouni,

Actually that message was printed before the failure. What error could it
be? I'm using the latest wpa_supplicant.

RX ctrl_iface - hexdump_ascii(len=33):
     50 32 50 5f 43 4f 4e 4e 45 43 54 20 30 30 3a 31   P2P_CONNECT 00:1
     62 3a 31 31 3a 65 38 3a 36 65 3a 65 32 20 70 62   b:11:e8:6e:e2 pb
     63                                                c
P2P: Create a new interface p2p-wlan0-0 for the group
nl80211: New interface p2p-wlan0-0 created: ifindex=68
nl80211: Allocate new address for P2P group interface
*nl80211: Assigned new P2P Interface Address 02:1b:11:e8:6d:ec*
P2P: Created pending virtual interface p2p-wlan0-0 addr 02:1b:11:e8:6d:ec
P2P: Request to start group negotiation - peer=00:1b:11:e8:6e:e2  GO
Intent=7  Intended Interface Address=02:1b:11:e8:6d:ec wps_method=4
persistent_group=0
P2P: Own preference for operation channel: Operating Class 81 Channel 1
P2P: Stopping find
P2P: Clear timeout (state=SEARCH)
P2P: State SEARCH -> IDLE
nl80211: Cancel remain-on-channel with cookie 0xf4d58300
....

Thanks,
Lin


On Mon, Jan 10, 2011 at 10:33 AM, Lin Ma <linmaonly at gmail.com> wrote:

> Hello Jouni,
>
> Thanks a lot for replying to this. I use the latest code checked out by git
> clone git://w1.fi/srv/git/hostap.git. Which version is known to work?
>
> Thanks,
> Lin
>
>
> On Fri, Jan 7, 2011 at 2:49 AM, Jouni Malinen <j at w1.fi> wrote:
>
>> On Thu, Jan 06, 2011 at 04:57:34PM -0800, Lin Ma wrote:
>> > Have you ever tried to enable "-p
>> driver_param=use_p2p_group_interface=1"? I
>> > tested P2P with virtual interface enabled on a ath9k setup, the
>> > wpa_supplicant printed out the following error messages and failed to
>> > connect to the other peer.
>>
>> Yes and it worked the last time I tested.
>>
>> > Could not set interface p2p-wlan0-0 flags: Name not unique on network
>>
>> Which wpa_supplicant version are you using? It looks like that version
>> did now show "nl80211: Assigned new P2P Interface Address" message in
>> the debug log, so maybe it does not include all the changes in
>> allocating a unique MAC address for the interface.
>>
>> --
>> 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/20110111/05663fdb/attachment.htm 


More information about the HostAP mailing list