Thanks for all!
But I have the same problem
If I run the command:
wpa_supplicant -c/etc/wpa_supplicant.conf -iwlan0 -d
I receive this message:
Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'default'ctrl_interface 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
Line 3: Invalid configuration line 'ctrl_interface=/var/run/wpa_supplicant'.
Priority group 0
id=0 ssid='TLC_3@A0B3C1F1G1H0M4'
Failed to read configuration file '/etc/wpa_supplicant.conf'.
Failed to add interface wlan0
Cancelling scan request
It seems that It can't open the socket
ctrl_interface=/var/run/wpa_supplicant
there is something of wrong in my wpa_supplicant.conf or the problem is not this?