Hi all,

I just setup OpenWRT into Orange PI zero using this :
https://gist.github.com/praveenbm5/3c81 … 7fc45dff4d
Just merge of:
1. Armbian /boot and /lib/firmware /lib/modules directory and
2. OpenWRT-sunxi-ext4-root image

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

There are no WiFi device at first install.
also "wifi detect" 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:

Sat Apr 22 22:16:30 2017 daemon.err uhttpd[1057]: The called action terminated with an exception:
Sat Apr 22 22:16:30 2017 daemon.err uhttpd[1057]: /usr/lib/lua/luci/controller/admin/network.lua:358: attempt to index local 'devs' (a nil value)
Sat Apr 22 22:16:30 2017 daemon.err uhttpd[1057]: stack traceback:
Sat Apr 22 22:16:30 2017 daemon.err uhttpd[1057]:     [C]: in function 'assert'
Sat Apr 22 22:16:30 2017 daemon.err uhttpd[1057]:     /usr/lib/lua/luci/dispatcher.lua:433: in function 'dispatch'
Sat Apr 22 22:16:30 2017 daemon.err uhttpd[1057]:     /usr/lib/lua/luci/dispatcher.lua:168: in function </usr/lib/lua/luci/dispatcher.lua:167>
Sat Apr 22 22:16:35 2017 daemon.err uhttpd[1057]: /usr/lib/lua/luci/dispatcher.lua:433: Failed to execute call dispatcher target for entry '/admin/network/wireless_status'.

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 OpenWRT?

(Last edited by EUA on 28 Apr 2017, 03:17)