Okay, had some issues but I managed to install OpenWrt (Driver 49876) and configure networking as desired. Everything went just fine after the first step. Here is what I did, in case it helps someone else:
1 - Had to downgrade the OEM firmware, because some new protection that was implemented on newer versions prevents third-party software from being installed. I was on 3.7.5, and according to some research, some people had success using 3.4.7, but Ubiquiti website doesn't have it available anymore. So I found it here: https://jonbither.com/unifi/firmware/U7 … rmware.bin
2 - Installed OpenWrt as told in the wiki page: https://wiki.openwrt.org/toh/ubiquiti/unifiac. ps.: the link to the firmware in the page is broken, so I got it from here: https://downloads.openwrt.org/snapshots … pgrade.bin (for UAP-AC Lite)
3 - Installed Luci following these instructions: https://wiki.openwrt.org/doc/howto/luci.essentials
4 - As the Ethernet and Wireless interfaces were already bridged, I just created and configured a new (guest) wireless interface, enabled DHCP server for it, enabled FORWARD in the Firewall section and set SNAT to source (LAN) IP address.
Now something that I didn't find on Luci or via command line is how (or whether is possible) to enable the 5 GHz band. Here is the output of 'iw phy':
root@OpenWrt:~# iw phy
Wiphy phy0
max # scan SSIDs: 4
max scan IEs length: 2257 bytes
max # sched scan SSIDs: 0
max # match sets: 0
Retry short limit: 7
Retry long limit: 4
Coverage class: 0 (up to 0m)
Device supports AP-side u-APSD.
Device supports T-DLS.
Available Antennas: TX 0x3 RX 0x3
Configured Antennas: TX 0x3 RX 0x3
Supported interface modes:
* IBSS
* managed
* AP
* AP/VLAN
* WDS
* monitor
* mesh point
* P2P-client
* P2P-GO
* outside context of a BSS
Band 1:
Capabilities: 0x11ee
HT20/HT40
SM Power Save disabled
RX HT20 SGI
RX HT40 SGI
TX STBC
RX STBC 1-stream
Max AMSDU length: 3839 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 8 usec (0x06)
HT TX/RX MCS rate indexes supported: 0-15
Frequencies:
* 2412 MHz [1] (20.0 dBm)
* 2417 MHz [2] (20.0 dBm)
* 2422 MHz [3] (20.0 dBm)
* 2427 MHz [4] (20.0 dBm)
* 2432 MHz [5] (20.0 dBm)
* 2437 MHz [6] (20.0 dBm)
* 2442 MHz [7] (20.0 dBm)
* 2447 MHz [8] (20.0 dBm)
* 2452 MHz [9] (20.0 dBm)
* 2457 MHz [10] (20.0 dBm)
* 2462 MHz [11] (20.0 dBm)
* 2467 MHz [12] (disabled)
* 2472 MHz [13] (disabled)
* 2484 MHz [14] (disabled)
valid interface combinations:
* #{ managed } <= 2048, #{ AP, mesh point } <= 8, #{ P2P-client, P2P-GO } <= 1, #{ IBSS } <= 1,
total <= 2048, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz }
* #{ WDS } <= 2048,
total <= 2048, #channels <= 1, STA/AP BI must match
HT Capability overrides:
* MCS: ff ff ff ff ff ff ff ff ff ff
* maximum A-MSDU length
* supported channel width
* short GI for 40 MHz
* max A-MPDU length exponent
* min MPDU start spacing
Can someone help me with that?