how to implement wifi direct between windows10 and linux(ubuntu)

B

Bhavin Panara

I have to establish WIFI DIRECT communication between windows 10 and ubuntu linux.

i have to figure out is there any step wrong in communication or it's a compatibility issue.

if it is compatibility issue how to resolve it.

----------------------------------------------------------------------------------------------------------------------------------------

Below i mention my steps what i used to perform wifi direct connection.


I can successfully transfer file using WIFI direct in linux (ubuntu) to linux using wpa_supplicant utility.



Now I'm trying to communicate WIFI Direct between linux to windows 10. windows side i'm using..

(microsoft/Windows-universal-samples) Windows Universal Sample Code.


I'm following below steps to linux(ubuntu) side.

(1)service network-manager stop

(2)wpa_supplicant -d -Dnl80211 -c /etc/wpa_supplicant/wpa_supplicant.conf -iwlan0 -B

(3)wpa_cli

(4)p2p_group_add
(5)ifconfig p2p-wlan0-0 192.168.7.3 netmask 255.255.255.0 up

(6)wpa_cli -i p2p-wlan0-0

(7)p2p_listen

(8)wps_pin any


Steps form Windows side.

(1) Open code from above git hub link in visual studio run the code.

(2) Go to connector window

(3) Device selector set to Association End Point

(4) Click on Start Watcher

(5) Then click my device from discovered device list.

(6) Set Configuration method to Provide Pin

(7) Set preferred pairing procedure to Group Owner Negotiation.

(8) click on Connect

(9) Pop up ask for enter pin then enter PIN which is generated by linux step - 8.



RESULT OBSERVED:

display error like CTRL-EVENT-EAP-FAILURE-XX:XX:XX:XX:XX


logs on linux side


<3>RX-PROBE-REQUEST sa=4c:34:88:38:5f:50 signal=-66 <3>RX-PROBE-REQUEST sa=4c:34:88:38:5f:50 signal=-65 <3>RX-PROBE-REQUEST sa=4c:34:88:38:5f:50 signal=-66 <3>RX-PROBE-REQUEST sa=4c:34:88:38:5f:50 signal=-70 <3>RX-PROBE-REQUEST sa=4c:34:88:38:5f:50 signal=-67 <3>RX-PROBE-REQUEST sa=4c:34:88:38:5f:50 signal=-68 <3>RX-PROBE-REQUEST sa=4c:34:88:38:5f:50 signal=-67 <3>RX-PROBE-REQUEST sa=4c:34:88:38:5f:50 signal=-66 <3>RX-PROBE-REQUEST sa=4c:34:88:38:5f:50 signal=-67 <3>RX-PROBE-REQUEST sa=4c:34:88:38:5f:50 signal=-66 <3>RX-PROBE-REQUEST sa=4c:34:88:38:5f:50 signal=-65 <3>WPS-ENROLLEE-SEEN 4c:34:88:38:5f:50 c696bebc-ff55-4051-aac8-d19cf290002b 1-0050F200-0 0x11e8 0 0 [DESKTOP-KM641DF] <3>RX-PROBE-REQUEST sa=4c:34:88:38:5f:50 signal=-60 <3>CTRL-EVENT-EAP-STARTED 4e:34:88:38:5f:4f <3>CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=1 <3>CTRL-EVENT-EAP-STARTED 4e:34:88:38:5f:4f <3>CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=1 <3>CTRL-EVENT-EAP-PROPOSED-METHOD vendor=14122 method=254 <3>WPS-REG-SUCCESS 4e:34:88:38:5f:4f c696bebc-ff55-4051-aac8-d19cf290002b <3>WPS-SUCCESS <3>CTRL-EVENT-EAP-FAILURE 4e:34:88:38:5f:4f <3>WPS-ENROLLEE-SEEN 4c:34:88:38:5f:50 c696bebc-ff55-4051-aac8-d19cf290002b 1-0050F200-0 0x11e8 0 0 [DESKTOP-KM641DF] <3>RX-PROBE-REQUEST sa=4c:34:88:38:5f:50 signal=-58


Here i attached image for visual reference

855c1b22-fc70-402c-ad5a-b485c734fda7?upload=true.png


On Internet i found that there is compatibility issue on windows to linux WIFI direct is it TRUE.here i attached link of these source.

(1) WiFi-Direct Connection between Windows and Linux(Ubuntu)

(2) WiFi-Direct P2P Service Discovery with Windows 10 and Android - possible?



Thank you for your time.

Continue reading...
 
Back
Top Bottom