How to setup WiFi with LEDE on OrangePI Zero,

Hi all,

I just setup LEDE into Orange PI zero using this :


Just merge of:

  1. Armbian /boot and /lib/firmware /lib/modules directory and
  2. lede-17.01.1-sunxi-sun8i-h3-orangepi-plus-ext4-sdcard.img.gz image

Well, it's really working really good but only have an issue: WiFi

There are no WiFi device at first install.
also "wifi config" doest not detect anything... Weird.

I add device to add /etc/wireless by hand.

config wifi-device radio0
    option type 'mac80211'
    option path 'platform/soc/1c10000.mmc/mmc_host/mmc1/mmc1:0001/mmc1:0001:1'
    option channel '8'
    option hwmode '11g'
    option log_level '0'
    option ifname 'wlan0'
    option phy 'phy0'

It start showing the device as radio0 at luci.
I can detect other AP's WiFi signal when I press scan, but Wifi cannot connect any network or not enable AP mode.

I installed hostapd package and can switch AP mode with hostapd manually with simple configuration file.
But when I try to create AP from LUCI, it can not.

What is the problem could be?

At logread:

Thu Apr 27 00:59:20 2017 daemon.err uhttpd[509]: /usr/lib/lua/luci/dispatcher.lua:460: Failed to execute call dispatcher target for entry '/admin/network/wireless_status'.
Thu Apr 27 00:59:20 2017 daemon.err uhttpd[509]: The called action terminated with an exception:
Thu Apr 27 00:59:20 2017 daemon.err uhttpd[509]: /usr/lib/lua/luci/controller/admin/network.lua:332: attempt to index local 'devs' (a nil value)
Thu Apr 27 00:59:20 2017 daemon.err uhttpd[509]: stack traceback:
Thu Apr 27 00:59:20 2017 daemon.err uhttpd[509]: 	[C]: in function 'assert'
Thu Apr 27 00:59:20 2017 daemon.err uhttpd[509]: 	/usr/lib/lua/luci/dispatcher.lua:460: in function 'dispatch'
Thu Apr 27 00:59:20 2017 daemon.err uhttpd[509]: 	/usr/lib/lua/luci/dispatcher.lua:141: in function </usr/lib/lua/luci/dispatcher.lua:140>

Also, I setup an AP but it writes as:

SSID: OpenWrt | Mode: Client
Wireless is disabled or not associated

at statistics at luci.
Any hints please?
Thanks!

PS: I add WiFi usb dongle and faced with exactly same problem that uses rt2800usb.
Do we need any special thing to use Wireless devices under LEDE?