network programming - Rasberry pi Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory -
i'm trying allow pi connect public wifi network no password, can't seem wpa_supplicant.conf file right. here's file:
ctrl_interface=dir=/var/run/wpa_supplicant group=netdev update_config=1 # public network network={ ssid="publicssid" key_mgmt=none }
when try connect, however, error:
wpa_supplicant: /sbin/wpa_supplicant daemon failed start run-parts: /etc/network/if-pre-up.d/wpasupplicant exited return code 1 failed connect wpa_supplicant - wpa_ctrl_open: no such file or directory wpa_supplicant: /sbin/wpa_cli daemon failed start run-parts: /etc/network/if-up.d/wpasupplicant exited return code 1
i able connect home networks , others have passwords fine. ideas what's going wrong?
btw, connecting this: (wifi wlan1):
$ sudo ifdown wlan1 $ sleep 5 $ sudo ifup wlan1
your wpa_supplicant.conf file should have psk="" in it, indicates no password.
ctrl_interface=dir=/var/run/wpa_supplicant group=netdev update_config=1 # public network network={ ssid="publicssid" psk="" key_mgmt=none }
Comments
Post a Comment