P2p-wlp6s0-0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=14122 method=1 P2p-wlp6s0-0: CTRL-EVENT-EAP-STARTED EAP authentication started This software may be distributed under the terms of the BSD license. Now open up another terminal and run wpa_cli command as below:Ĭopyright (c) 2004-2015, Jouni Malinen and contributors Vostro ~ # Successfully initialized wpa_supplicantĬould not read interface p2p-dev-wlp6s0 flags: No such device Vostro ~ # wpa_supplicant -i wlp6s0 -c nf -Dnl80211 & This makes sure no other process is controlling your interface other than us manually.Īfter making sure network manager and wpa supplicant is not running, with the mentioned setup and command we have started the wpa supplicant with the proper config file. If any instance of wpa supplicant is running then try to kill that also by using the killall command.If network manager is controlling your device then try to stop it.And also make sure you are pointing to the correct location of the conf file. If you get error while executing the above command, try to remove the already existing entry in /var/run/wpa_supplicant/. This is a simple conf file but it can be made complex depending upon your requirement. Next is to create a new config file which we need to use on GO to establish the connection.īelow is the example of the conf file which I used. Beaglebone black with USB WiFi adapter connected to laptop.Īt this stage, make sure wpa supplicant is available on your GO machine as well as on your client machine. P2P-Go Machine running linux mint 18 on X86_64.ĭiagram 4. P2P-Go is running on a X86_64 machine with linux mint 18 distro and P2P-Client is BBB running on a ARM processor.ĭiagram 3. But to do this you need to cross compile wpa supplicant for ARM clones. Here too u can plan to use the latest release of wpa supplicant. My BBB runs Arch linux with precompiled wpa supplicant. Pls look into the below link for compiling wpa supplicant for X86_64 machines.Ĭompile wpa supplicant for x86/x86_64 with p2p supportĪlmost the same setup holds good for the BBB development platform also. You can also compile wpa supplicant if have want to use the latest and greatest release. I used linux mint 18 with stock wpa supplicant on an X86_64 machine. Other than wpa supplicant there are no specific software requirements to do P2P. Wpa supplicant is the software which helps us to establish P2P. This USB adaptor is based on Atheros chipset which has support for P2P. But the good thing is it has an USB port which lets us to connect any WIFI card of our choice and in our case the one that has support for P2P.įor this blog I have chosen an USB adaptor Tl-WN722N from TP Link. Unfortunately, this board doesn’t have an inbuilt Wifi support. This board is based on ARM processor and it has rich peripheral support. The other device which i am going to use is beaglebone black development platform from TI. This NIC is based on 802.11AC (wave1) standard and supports the needed P2P modes. The WirelessNIC on my linux machine is based on intel 3160 chipset. Most of the modern WirelessNICs support this feature. Check for supported interface modes in the output when you run the iw phy command. This can be found out by using the “ iw phy” command. Wireless NIC should support the following modes in order to do P2P communication: Requirements to do direct file transfer between linux machines: Wifi Direct devices connecting directly with each other. this makes interconnecting machines easily without the hastle of connecting any wires.ĭiagram 2. This blog describes the method to connect two different linux machines directly through WIFI. In WiFI terms this is called infrastructure mode and A.P is the master who controls the whole basic service set.ĭiagram 1. The below diagram shows typical scenario where the Access point connects multiple devices. This is very much useful when there is no A.P to relay the traffic from one user to other. Most of the Andriod users know about file sharing tools which lets the users to share the data directly with other user like, share itthe most popular one.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |