I was looking to find noob instructions on how to connect to the Raspberry Pi using Wifi Direct from either a phone or another computer. I tried a few instruction but they are aimed for more advanced users (eg: https://www.youtube.com/watch?v=6GPv8TfZqe4) so any help would be greatly appreciated. I know it might be hard to connect a computer to a Raspberry Pi using Wifi direct but I was hoping for decent instructions so that I could at least connect through to an android device like this (https://www.youtube.com/watch?v=Jai2TSk795g)
Asked
Active
Viewed 1.2k times
3 Answers
1
Hey I guess your question is very similar to this one Connect to Raspberry PI 3 over Wi-Fi direct
but instead of a phone you are using your laptop. Just do these steps through the terminal on the raspberry pi
install wpasupplicant
1. Open terminal
2. apt-get install wpasupplicant
Edit the Config file
sudo nano etc/wpa_supplicant/p2p.conf
Copy the following into it
ctrl_interface=DIR=/var/run/wpa_supplicant
update_config=1
ap_scan=1
device_name=RPi_3
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
Then to Start it just type
sudo wpa_supplicant -B -dd -iwlan0 -Dnl80211 -c /etc/wpa_supplicant/wpa_supplicant.conf
If you want to stop it, just terminate it with
wpa_cli -i wlan0 terminate
Ebrahim Karam
- 111
- 3
0
Follow the official Raspberry Pi tutorial here: https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md
Cheers!
Patrick Cook
- 6,365
- 8
- 38
- 63