Windows 10: how to implement wifi direct between windows10 and linuxubuntu

Discus and support how to implement wifi direct between windows10 and linuxubuntu in Windows 10 Drivers and Hardware to solve the problem; 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... Discussion in 'Windows 10 Drivers and Hardware' started by Bhavin Panara, Mar 30, 2020.

  1. how to implement wifi direct between windows10 and linuxubuntu


    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..

    https://github.com/microsoft/Windows-universal-samples/tree/master/Samples/WiFiDirectWindows Universal Sample Code.


    I'm following below steps to linuxubuntu side.

    1service network-manager stop

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

    3wpa_cli

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

    6wpa_cli -i p2p-wlan0-0

    7p2p_listen

    8wps_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

    how to implement wifi direct between windows10 and linuxubuntu 855c1b22-fc70-402c-ad5a-b485c734fda7?upload=true.png


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

    1 https://answers.microsoft.com/en-us/windows/forum/windows_10-networking/wifi-direct-connection-between-windows-and/6d5e6046-3ee6-4ac9-9643-e5249630d3a2

    2 https://stackoverflow.com/questions/41593689/wifi-direct-p2p-service-discovery-with-windows-10-and-android-possible



    Thank you for your time.

    :)
     
    Bhavin Panara, Mar 30, 2020
    #1
  2. GeoffYin Win User

    WiFi Direct Windows10 UWP Win32

    I'm trying to call WinRT library in a win32 application to implement a file transferring function with wifi direct.

    the function WiFiDirectDevice.FromIdAsync(connectionRequest.DeviceInformation.Id) works well in the UWP application, but it always returns null in the win32 application,

    can anybody tell me what the problem was?
     
    GeoffYin, Mar 30, 2020
    #2
  3. Elbuort Win User
    Hostednetwork for wifi-direct

    Hi, really hoping we can find an answer to your question...

    In my case, I too have enabled a hosted network using the netsh commands, but my android devices are unable to connect to it...always giving an "authentication error"...the password entered is definitely correct however. I have successfully used Connectify on the computer and connected my devices to it, BUT I am looking for a native solution because this desktop I am using is quite a dinosaur and the Connectify services and interface severely tax my system resources.

    The reason I am zeroing in on Wifi Direct functions like you are is because Connectify includes an option for "Prefer Wifi Direct" for connections....enabling THAT option is the only way for my devices to use my Connectify hotspot. Again though, I would like to stop relying on Connectify and instead enable this functionality via the Command Line

    Actually Kofoed, I suggest you try Connectify, it may just be the answer you are looking for, but for me, I'm hoping for guidance on controlling/enabling Wifi Direct via netsh commands and the like, in conjunction with the hosted network functionality.

    Thanks
     
    Elbuort, Mar 30, 2020
    #3
  4. Maban Win User

    how to implement wifi direct between windows10 and linuxubuntu

    WiFi Direct on a airplane?

    I don't want WiFi; I want WiFi Direct so I can use my Shield Controller with my Shield Tablet. The flights I'm going on don't even offer WiFi.
     
    Maban, Mar 30, 2020
    #4
Thema:

how to implement wifi direct between windows10 and linuxubuntu

Loading...
  1. how to implement wifi direct between windows10 and linuxubuntu - Similar Threads - implement wifi direct

  2. Wifi direct printer

    in Windows 10 Gaming
    Wifi direct printer: Before the new update that happened recently, it was nice and easy to find a printer that uses wifi direct. Now I keep trying to find where I can find a printer with wifi direct, and I can't find it. Where can I find those printers?...
  3. What is Bluetooth and How does it work? What is the difference between WiFi Direct and...

    in Windows 10 News
    What is Bluetooth and How does it work? What is the difference between WiFi Direct and...: [ATTACH]Fun Fact, the term Bluetooth is named after an ancient Viking king, Harald Blåtand, who unified Denmark and Norway. Later the word Blåtand was translated to Bluetooth. This post will share about Bluetooth, how it works, and the difference between WiFi and Bluetooth....
  4. Wifi direct

    in Windows 10 Network and Sharing
    Wifi direct: I'm trying to connect to my 65 inch LG TV UJ6300 with my lenovo V570. I can't seem to get it to connect except by hdmi only. Laptop says I don't support miracast. So I finally got it to show in the list for wifi direct on the TV. Yet when I click it nothing happens just keeps...
  5. windows10 copy paste in explorer windows10 improvment that need to be implemented

    in Windows 10 Network and Sharing
    windows10 copy paste in explorer windows10 improvment that need to be implemented: so i want to know why since i know Windows from Windows 3.1, why does a simple copy paste always ask the user for replacement instead of calculating unique file identifier like sha or any other when the file is IDENTICAL and not stoping a huge transfer of data waiting for...
  6. What is the difference between Windows10 and Windows10 Pro?

    in Windows 10 Ask Insider
    What is the difference between Windows10 and Windows10 Pro?: submitted by /u/MattLee10 [link] [comments] https://www.reddit.com/r/Windows10/comments/evrbgk/what_is_the_difference_between_windows10_and/
  7. network between windows10 and xp

    in Windows 10 Network and Sharing
    network between windows10 and xp: how can I get my Windows 10 computer and my xp SR3 computer to network? https://answers.microsoft.com/en-us/windows/forum/all/network-between-windows10-and-xp/efc92991-ee9d-40e1-999f-37e564f817ca
  8. WiFi Direct Windows10 UWP Win32

    in Windows 10 Network and Sharing
    WiFi Direct Windows10 UWP Win32: I'm trying to call WinRT library in a win32 application to implement a file transferring function with wifi direct. the function WiFiDirectDevice.FromIdAsync(connectionRequest.DeviceInformation.Id) works well in the UWP application, but it always returns null in the win32...
  9. Wifi Direct

    in Windows 10 Network and Sharing
    Wifi Direct: I want to use wifi direct to move images from a Sony A6000 camera to my PC running W10. Is this possible or can it only be done on mobile devices? Thanks. https://answers.microsoft.com/en-us/windows/forum/all/wifi-direct/8ae5cda8-26c0-4459-9e62-a23dec3f0769
  10. wifi direct

    in Windows 10 Network and Sharing
    wifi direct: how do i activate wifi direct on windows 10 https://answers.microsoft.com/en-us/windows/forum/all/wifi-direct/a6cf58fd-93a3-4c61-8996-8225dac29a84