raspberry pi 4 wifi direct
Posted: Sun Jun 07, 2020 3:57 am
I have two raspberry pi 4 and I am trying to get them to connect via wifi-direct. I can get each raspberry pi to see a printer near by but not each other.
Here is what I have done:
- started with Raspberry 10
- built wpa_supplicant-2.9 with p2p enabled
- verified that P2P-client, P2P-GO- and P2P-device does in fact show up in the iw list
I have tried a dozen different forum posts for wpa_supplicant.conf. Here is the latest:
The only way I can get one pi to see the other device is to use p2p_group_add. However, my goal is to let the pi's negotiate who is GO each connection. If I were to use p2p_group_add it would defeat the purpose of using wifi-direct (otherwise I could just turn one of the computers into a hotspot).
Here is what I have done:
- started with Raspberry 10
- built wpa_supplicant-2.9 with p2p enabled
- verified that P2P-client, P2P-GO- and P2P-device does in fact show up in the iw list
I have tried a dozen different forum posts for wpa_supplicant.conf. Here is the latest:
Code: Select all
ctrl_interface=DIR=/var/run/wpa_supplicant
update_config=1
ap_scan=1
device_name=pi2
device_type=1-0050F204-1
driver_param=use_p2p_group_interface=1
driver_param=p2p_device=1
p2p_go_intent=10
p2p_go_ht40=1