bananapi-zero-ubuntu-base-minimal icon indicating copy to clipboard operation
bananapi-zero-ubuntu-base-minimal copied to clipboard

Problems connecting to wifi

Open MrOneTwo opened this issue 3 years ago • 2 comments

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

MrOneTwo avatar Aug 10 '22 16:08 MrOneTwo

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
> 

MrOneTwo avatar Aug 10 '22 17:08 MrOneTwo

Maybe the new board has a different wifi chip or similar chip. Try to update the wifi firmware if that is the case.

avafinger avatar Aug 10 '22 17:08 avafinger