Can't use virtual interface for P2P connection
linmaonly at gmail.com
Thu Jan 6 19:57:34 EST 2011
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.
On both peers, I use "p2p_find" and "p2p_connect MAC pbc"
CTRL_IFACE monitor send - hexdump(len=22): 2f 74 6d 70 2f 77 70 61 5f 63 74
72 6c 5f 32 32 31 34 39 2d 32 00
Initializing interface 'p2p-wlan0-0' conf 'N/A' driver 'nl80211'
ctrl_interface '/var/run/wpa_supplicant' bridge 'N/A'
nl80211: interface p2p-wlan0-0 in phy phy0
rfkill: initial event: idx=20 type=1 op=0 soft=0 hard=0
Could not set interface p2p-wlan0-0 flags: Name not unique on network
*nl80211: Could not set interface 'p2p-wlan0-0' UP*
Failed to initialize driver interface
Failed to add interface p2p-wlan0-0
Cancelling scan request
Cancelling authentication timeout
P2P: Failed to create new wpa_supplicant interface
P2P: Removing pending group interface p2p-wlan0-0
nl80211: wpa_driver_nl80211_if_remove(type=5 ifname=p2p-wlan0-0) ifindex=49
nl80211: Remove interface ifindex=49
RTM_DELLINK, IFLA_IFNAME: Interface 'p2p-wlan0-0' removed
Event 5 received on interface wlan0
Looks up it failed to up the virtual interface. I'm using a ath9k setup. P2P
works good if virtual interface is not enabled.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the HostAP