bananapi-zero-ubuntu-base-minimal
bananapi-zero-ubuntu-base-minimal copied to clipboard
Problems connecting to wifi
I'm having troubles connecting the WiFi.
When I run sudo wpa_cli -i wlan0 I see:
<3>CTRL-EVENT-SCAN-STARTED
>
<3>CTRL-EVENT-SCAN-RESULTS
>
<4>Failed to initiate sched scan
I have used flash_sdcard_m2z_v2.sh to flash my SD card. I initially just edited the interfaces file but now I'm using wpa_cli through UART to fix the fact that it fails to connect.
My interfaces file (only the wlan0 part):
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-ssid Tele2_fca84e
#psk=“00012345678901234567890”
wpa-psk kdm5ygzx
dns-nameservers 8.8.8.8 8.8.4.4
wireless-power off
Oh and very rarely I see:
<3>WPS-AP-AVAILABLE
>
<3>CTRL-EVENT-SSID-REENABLED id=0 ssid=“Tele2_fca84e”
>
<3>Trying to associate with SSID ‘Tele2_fca84e’
>
<3>CTRL-EVENT-ASSOC-REJECT bssid=00:00:00:00:00:00 status_code=16
>
<3>CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid=“Tele2_fca84e” auth_failures=4 duration=77 reason=CONN_FAILED
>
<3>CTRL-EVENT-SCAN-STARTED
>
<3>CTRL-EVENT-SCAN-RESULTS
>
<3>WPS-AP-AVAILABLE
>
<4>Failed to initiate sched scan
>
Maybe the new board has a different wifi chip or similar chip. Try to update the wifi firmware if that is the case.