I'm running a Stretch image upgraded from Jessie following this guide: http://baddotrobot.com/blog/2017/10/26/ ... o-stretch/
Everything is working great, apart from the WiFi.
This first issue is that I get the error:
Code: Select all
ctrl_iface exists and seems to be in use - cannot override it
Delete '/var/run/wpa_supplicant/wlan0' manually if it is not used anymore
Code: Select all
rm /var/run/wpa_supplicant/wlan0But after a short time the Pi disconnects from the network. Subsequent attempts to reconnect (ifdown wlan0 / ifup wlan0) result in the following errors:
Code: Select all
Jun 24 00:07:06 test wpa_supplicant[5869]: wlan0: Failed to initiate sched scan
Jun 24 00:07:09 test dhclient[5949]: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
Jun 24 00:07:13 test wpa_supplicant[5869]: wlan0: Failed to initiate sched scan
Jun 24 00:07:19 test dhclient[5949]: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
Jun 24 00:07:21 test wpa_supplicant[5869]: wlan0: CTRL-EVENT-SSID-REENABLED id=1 ssid="Crumble"
Jun 24 00:07:21 test wpa_supplicant[5869]: wlan0: Trying to associate with 70:3a:cb:3a:b0:da (SSID='Crumble' freq=5180 MHz)
Jun 24 00:07:21 test wpa_supplicant[5869]: wlan0: Associated with 70:3a:cb:3a:b0:da
Jun 24 00:07:21 test wpa_supplicant[5869]: wlan0: CTRL-EVENT-DISCONNECTED bssid=70:3a:cb:3a:b0:da reason=0 locally_generated=1
Jun 24 00:07:21 test wpa_supplicant[5869]: wlan0: WPA: 4-Way Handshake failed - pre-shared key may be incorrect
Jun 24 00:07:21 test wpa_supplicant[5869]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=1 ssid="Crumble" auth_failures=3 duration=46 reason=WRONG_KEY
Jun 24 00:07:21 test wpa_supplicant[5869]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=1 ssid="Crumble" auth_failures=4 duration=77 reason=CONN_FAILED
Jun 24 00:07:21 test systemd-udevd[6630]: Process '/sbin/crda' failed with exit code 249.
Jun 24 00:07:21 test wpa_supplicant[5869]: wlan0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
Jun 24 00:07:21 test wpa_supplicant[5869]: wlan0: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=GB
Jun 24 00:07:24 test wpa_supplicant[5869]: wlan0: Failed to initiate sched scan
Jun 24 00:07:34 test wpa_supplicant[5869]: wlan0: Failed to initiate sched scan
Jun 24 00:07:34 test dhclient[5949]: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
Jun 24 00:07:41 test wpa_supplicant[5869]: wlan0: Failed to initiate sched scan
Jun 24 00:07:44 test dhclient[5949]: No DHCPOFFERS received.
Jun 24 00:07:44 test dhclient[5949]: No working leases in persistent database - sleeping.
Code: Select all
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=GB
network={
ssid="myssid"
#psk="xxxxxxx"
psk=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
}
Code: Select all
# interfaces(5) file used by ifup(8) and ifdown(8)
# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
auto lo
iface lo inet loopback
iface eth0 inet manual
auto wlan0
allow-hotplug wlan0
iface wlan0 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
iface wlan0 inet dhcp