davidferguson / pibakery

The blocks based, easy to use setup tool for Raspberry Pi
http://www.PiBakery.org
GNU General Public License v3.0
1.49k stars 147 forks source link

Update wifiConnect.py, setting -i wlan0 to wpa_cli #174

Open oliveiraallex opened 5 years ago

oliveiraallex commented 5 years ago

Added the parameter "-i wlan0" in the command "wpa_cli reconfigure". When this block is being used in the first boot, the command "wpa_cli reconfigure" is selecting the interface "p2p-dev-wlan0" and the Raspberry doesn't connect in the WiFi. Using -i wlan0 to force it to use the default interface.