He supuesto dos posibles problemas, que en el nuevo SO (Raspbian Stretch) necesite algo mas para el wpa_suplicant. O tambien que al ser mi red WPA2, tenga que cambiar algo de esta linea
Code: Select all
key_mgmt=WPA-PSKCode: Select all
key_mgmt=WPA-PSKncguk wrote: ↑Thu Aug 17, 2017 11:02 pmI've been fighting this all evening. My solution on a fresh Raspbian Lite install:
Make sure your wpa_supplicant.conf is in place then doand addCode: Select all
sudo nano /etc/network/interfacesto the end of the file. Then doCode: Select all
allow-hotplug wlan0 iface wlan0 inet manual wpa-conf /etc/wpa_supplicant/wpa_supplicant.confThen reboot.Code: Select all
sudo systemctl enable wpa_supplicant.service
Code: Select all
--- /etc/wpa_supplicant/functions.sh
+++ /etc/wpa_supplicant/functions.sh
@@ -49,7 +49,7 @@
# verbosity variables
if [ -n "$IF_WPA_VERBOSITY" ] || [ "$VERBOSITY" = "1" ]; then
- TO_NULL="/dev/stdout"
+ TO_NULL="&1"
DAEMON_VERBOSITY="--verbose"
else
TO_NULL="/dev/null"
@@ -117,7 +117,7 @@
;;
"stderr")
shift
- echo "$WPA_SUP_PNAME: $@" >/dev/stderr
+ echo "$WPA_SUP_PNAME: $@" >&2
;;
*)
;;
Code: Select all
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=AU
#real network
network={
ssid="NetworkName"
psk="password"
key_mgmt=WPA-PSK
}
#fake network workaround for headless Raspberry Pi 3 / Zero for Stretch
network={
ssid="fakessid"
psk="fakepass"
key_mgmt=WPA-PSK
}