WiFi Direct on Raspberry - connect with constant pin (not generated randomly) [closed]
Multi tool use
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 randomwpa_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:
- Pin Auth - but if the pin is genereted randomly, is not enought for me
- 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
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.
add a comment |
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 randomwpa_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:
- Pin Auth - but if the pin is genereted randomly, is not enought for me
- 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
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
add a comment |
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 randomwpa_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:
- Pin Auth - but if the pin is genereted randomly, is not enought for me
- 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
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 randomwpa_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:
- Pin Auth - but if the pin is genereted randomly, is not enought for me
- 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
linux networking wireless-networking raspberry-pi
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
add a comment |
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
add a comment |
0
active
oldest
votes
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
rMjIQdvTAaprv,NGXB Oj7otST2rkK68vpuoB,zTFn,aAuDpqx3Jhht99p9VpkWCTFu
What have you tried so far?
– music2myear
Jan 7 at 23:27
Consider asking at raspberrypi.stackexchange.com
– kenorb
Jan 9 at 12:54