raspbian-stretch

Wifi direct connection disconnects automatically after a few seconds in Raspberry Pi

旧街凉风 提交于 2019-12-07 08:13:52
问题 I am using this configuration for wifi direct connection in Raspberry PI 2 B+ ctrl_interface=DIR=/var/run/wpa_supplicant driver_param=use_p2p_group_interface=1 update_config=1 device_name=Raspberry_pi device_type=1-0050F204-1 p2p_go_intent=1 p2p_go_ht40=1 country=IN and then started wpa supplicant using sudo wpa_supplicant -Dnl80211 -iwlan0 -c/etc/wpa_supplicant/p2p.conf -B and then add new group using sudo wpa_cli -iwlan0 p2p_group_add and then set an IP using ifconfig p2p-wlan0-0 192.168.1

Wifi direct connection disconnects automatically after a few seconds in Raspberry Pi

旧城冷巷雨未停 提交于 2019-12-05 12:24:16
I am using this configuration for wifi direct connection in Raspberry PI 2 B+ ctrl_interface=DIR=/var/run/wpa_supplicant driver_param=use_p2p_group_interface=1 update_config=1 device_name=Raspberry_pi device_type=1-0050F204-1 p2p_go_intent=1 p2p_go_ht40=1 country=IN and then started wpa supplicant using sudo wpa_supplicant -Dnl80211 -iwlan0 -c/etc/wpa_supplicant/p2p.conf -B and then add new group using sudo wpa_cli -iwlan0 p2p_group_add and then set an IP using ifconfig p2p-wlan0-0 192.168.1.20 and then set the pin using sudo wpa_cli -ip2p-wlan0-0 wps_pin any 0000 up to this, everything is