Hey all,
So I have a UniFi gateway at home (UCG Ultra) but I didn't want to buy UniFi APs when I already had perfectly good routers running OpenWrt. I found jonasevcik's openUF project, started poking at it, and over the last few months it turned into my own version that I now run on both APs in my house.
Repo: https://github.com/yesrab/openUF
What it does right now: the controller adopts the OpenWrt box like it's a U6 In-Wall, pushes my SSIDs, VLANs and radio settings to it, and shows clients, signal and traffic like it would for a real AP. Fast roaming, band steering, min RSSI, speed limits, and client block/unblock work for me. There's also a small LuCI app and an installer script.
What I'm honestly not sure about, and where I need help:>
- I've only really lived with it on JioRouter AX6000 (mediatek filogic) and tested on a couple of old TP-Links (Archer C5 v1, WDR3500). If you have something else and an afternoon, I'd love to know if it even adopts.
- I don't own a single real UniFi AP. Roaming between openUF and genuine UniFi APs is done through d-malinowski's plugin and I'm trusting his testing, not mine. If you have a mixed setup, you're exactly who I need.
- Guest portal, rollback when a config push breaks wifi, encrypted syslog to the controller, and device SSH login were added recently and have only run in a VM. They're off by default for that reason.
- It needs about 16 MB flash. 8 MB devices don't fit the crypto library. If someone knows a clean way around that I'm all ears.
I'm not a networking pro, so if you look at the code and think "why on earth did he do it like that", please tell me. Issues, PRs, or just "it broke on my X" are all welcome. A lot of what's in there came from other people already (jonasevcik's original, d-malinowski's roaming work, and antoniocosta's unifi-openwrt, which was posted here recently and does the same thing in Go).
Not affiliated with Ubiquiti, it never flashes their firmware, and it's GPL.
Thanks for reading. Happy to answer anything.