Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Orange Pi Zero 3 WiFi Issues (unisoc_wifi Driver)

Featured Replies

I’m running Armbian debian minimal image on my Orange Pi Zero 3, using the onboard WiFi (wlan0) with the unisoc_wifi driver. The WiFi consistently drops with logs like these:

 

[   11.048517] unisoc_wifi wlan0: mixed HW and IP checksum settings.
[259241.515808] unisoc_wifi wlan0: sprdwl_report_connection Asus failed status code:30!
[345665.483530] unisoc_wifi wlan0: sprdwl_report_connection sm_state (5), status: (2)!
[345665.483567] unisoc_wifi wlan0: sprdwl_report_connection Asus failed status code:1!

 

NetworkManager also reports:

 

link timed out.
Activation failed for connection 'Asus'

After the crash, restarting NetworkManager doesn’t resolve the issue. Trying modprobe -r unisoc_wifi fails, saying the module is not found. The only way to fix it is to reboot the system.

My USB WiFi dongle works fine without these issues, so it seems specific to the onboard WiFi.

 

Has anyone else experienced this or found a solution for this driver?

 

I'm getting to the point I'm going to write a cron job when the network drops to reboot the machine 🙃

Edited by Thomas Waterfall

  • Author

I wish i knew. I have my system fully updated and it lasts for about 5 days before the onboard wifi stops working. I have it on the back of my TV for a hyperion setup and I can't/won't run ethernet there.

Edited by Thomas Waterfall

  

If your board in unstable, it hangs, kernel panics with

Unable to handle kernel paging request at virtual address ffff7fffbef91008

Or MicroSD read errors, and you use Wi-Fi,

Put Wi-Fi antenna outside of the board!

Apparently EMI from the Wi-Fi module is so high it influence RAM and/or MicroSD if the antenna is in closest proximity.

I've tested it on tens of Zero 3's, and could reliably reproduce the issue.

Edited by ValdikSS

I think I'm seeing the same issue as described in OP.

 

wpa_supplicant[25499]: wlan0: Trying to associate with xx:xx:xx:xx:xx:xx (SSID='xxx' freq=2452 MHz)
wpa_supplicant[25499]: FT: Invalid key management type (2)
wpa_supplicant[25499]: wlan0: Association request to the driver failed

 

Restarting wpa_supplicant (the network is controlled by ifupdown in my case) does not help.

FT hints that the issue is related to 802.11r Fast Transition feature, and here's the similar (although not the same) bug described in NetworkManager: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/4

 

I found a workaround: disabling BSS transition management from AP to STA seems to work. There won't be roaming on AP's request obviously.

 

wpa_cli set disable_btm 1

 

or in Debian's interfaces configuration file:

 

iface wlan0 inet dhcp
  wpa-ssid YourSSIDJere
  wpa-psk blablabla
  post-up wpa_cli set disable_btm 1

Regular roaming (device-initiated) still works fine.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.