WiFi Direct on Raspberry - connect with constant pin (not generated randomly) [closed]












1















I'm trying to connect 2 RPi-PI-3 over WiFi Direct, but without pin authorization. I would like to connect them automaticly after system is booted. Is there any method to bind pin auth or other method to connect them?



Command that i'm using:




  • wpa_cli p2p_find


  • wpa_cli p2p_peers


  • wpa_cli p2p_connect #MAC2 pin
    auth
    //i would like to bind here my pin number, not random


  • wpa_clin p2p_connect #MAC1 PIN FROM ABOVE // pin binded to
    device1



EDIT:



My goal is to connect multiple RPis via wifi direct, but it have to autiomaticly. So i need 'static' connection. So far i have found 2 methods for connection in wifi direct:




  1. Pin Auth - but if the pin is genereted randomly, is not enought for me

  2. PBC(push buton control)- but you need to specify if you are host or client(as i uderstent). When i was trying to spam invite/acept invitation from each side, one of device's wifi got curshed.


Dont get me wrong, i'm not sure if i'm doing it right, mayby is possible to use Pin or PBC to dynamic connection.



Another problem is that when im setting up interface for Wifi Direct it is getting new random #MAC, it isn't the same #MAC like WLAN's #MAC.










share|improve this question















closed as unclear what you're asking by bertieb, LotPings, music2myear, Deltik, kenorb Jan 9 at 12:54


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.



















  • What have you tried so far?

    – music2myear
    Jan 7 at 23:27











  • Consider asking at raspberrypi.stackexchange.com

    – kenorb
    Jan 9 at 12:54
















1















I'm trying to connect 2 RPi-PI-3 over WiFi Direct, but without pin authorization. I would like to connect them automaticly after system is booted. Is there any method to bind pin auth or other method to connect them?



Command that i'm using:




  • wpa_cli p2p_find


  • wpa_cli p2p_peers


  • wpa_cli p2p_connect #MAC2 pin
    auth
    //i would like to bind here my pin number, not random


  • wpa_clin p2p_connect #MAC1 PIN FROM ABOVE // pin binded to
    device1



EDIT:



My goal is to connect multiple RPis via wifi direct, but it have to autiomaticly. So i need 'static' connection. So far i have found 2 methods for connection in wifi direct:




  1. Pin Auth - but if the pin is genereted randomly, is not enought for me

  2. PBC(push buton control)- but you need to specify if you are host or client(as i uderstent). When i was trying to spam invite/acept invitation from each side, one of device's wifi got curshed.


Dont get me wrong, i'm not sure if i'm doing it right, mayby is possible to use Pin or PBC to dynamic connection.



Another problem is that when im setting up interface for Wifi Direct it is getting new random #MAC, it isn't the same #MAC like WLAN's #MAC.










share|improve this question















closed as unclear what you're asking by bertieb, LotPings, music2myear, Deltik, kenorb Jan 9 at 12:54


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.



















  • What have you tried so far?

    – music2myear
    Jan 7 at 23:27











  • Consider asking at raspberrypi.stackexchange.com

    – kenorb
    Jan 9 at 12:54














1












1








1








I'm trying to connect 2 RPi-PI-3 over WiFi Direct, but without pin authorization. I would like to connect them automaticly after system is booted. Is there any method to bind pin auth or other method to connect them?



Command that i'm using:




  • wpa_cli p2p_find


  • wpa_cli p2p_peers


  • wpa_cli p2p_connect #MAC2 pin
    auth
    //i would like to bind here my pin number, not random


  • wpa_clin p2p_connect #MAC1 PIN FROM ABOVE // pin binded to
    device1



EDIT:



My goal is to connect multiple RPis via wifi direct, but it have to autiomaticly. So i need 'static' connection. So far i have found 2 methods for connection in wifi direct:




  1. Pin Auth - but if the pin is genereted randomly, is not enought for me

  2. PBC(push buton control)- but you need to specify if you are host or client(as i uderstent). When i was trying to spam invite/acept invitation from each side, one of device's wifi got curshed.


Dont get me wrong, i'm not sure if i'm doing it right, mayby is possible to use Pin or PBC to dynamic connection.



Another problem is that when im setting up interface for Wifi Direct it is getting new random #MAC, it isn't the same #MAC like WLAN's #MAC.










share|improve this question
















I'm trying to connect 2 RPi-PI-3 over WiFi Direct, but without pin authorization. I would like to connect them automaticly after system is booted. Is there any method to bind pin auth or other method to connect them?



Command that i'm using:




  • wpa_cli p2p_find


  • wpa_cli p2p_peers


  • wpa_cli p2p_connect #MAC2 pin
    auth
    //i would like to bind here my pin number, not random


  • wpa_clin p2p_connect #MAC1 PIN FROM ABOVE // pin binded to
    device1



EDIT:



My goal is to connect multiple RPis via wifi direct, but it have to autiomaticly. So i need 'static' connection. So far i have found 2 methods for connection in wifi direct:




  1. Pin Auth - but if the pin is genereted randomly, is not enought for me

  2. PBC(push buton control)- but you need to specify if you are host or client(as i uderstent). When i was trying to spam invite/acept invitation from each side, one of device's wifi got curshed.


Dont get me wrong, i'm not sure if i'm doing it right, mayby is possible to use Pin or PBC to dynamic connection.



Another problem is that when im setting up interface for Wifi Direct it is getting new random #MAC, it isn't the same #MAC like WLAN's #MAC.







linux networking wireless-networking raspberry-pi






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 10 at 13:26







hakobot

















asked Jan 5 at 15:41









hakobothakobot

62




62




closed as unclear what you're asking by bertieb, LotPings, music2myear, Deltik, kenorb Jan 9 at 12:54


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.









closed as unclear what you're asking by bertieb, LotPings, music2myear, Deltik, kenorb Jan 9 at 12:54


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.















  • What have you tried so far?

    – music2myear
    Jan 7 at 23:27











  • Consider asking at raspberrypi.stackexchange.com

    – kenorb
    Jan 9 at 12:54



















  • What have you tried so far?

    – music2myear
    Jan 7 at 23:27











  • Consider asking at raspberrypi.stackexchange.com

    – kenorb
    Jan 9 at 12:54

















What have you tried so far?

– music2myear
Jan 7 at 23:27





What have you tried so far?

– music2myear
Jan 7 at 23:27













Consider asking at raspberrypi.stackexchange.com

– kenorb
Jan 9 at 12:54





Consider asking at raspberrypi.stackexchange.com

– kenorb
Jan 9 at 12:54










0






active

oldest

votes

















0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

Список кардиналов, возведённых папой римским Каликстом III

Deduzione

Mysql.sock missing - “Can't connect to local MySQL server through socket”