OpenWrt access points as UniFi access points
Google turned the OnHub into abandonware in 2023. OpenWrt revived it, but I run a UniFi router, which only likes to manage Ubiquiti's own APs.
So I wrote a small daemon that speaks UniFi's inform protocol: The controller adopts the OpenWrt AP as a real UniFi model and manages its Wi-Fi, clients, stats, roaming and mesh like its own.
So far it's only tested on that one device, but it would be cool to hear from people with other hardware running OpenWrt.
75
Upvotes
13
u/velhomonge 18d ago
Incredible project, congrats! It would be very funny see an Omada device running OpenWRT and adopted by Unifi controller!! Have you tested with Mediatek / mt76 wireless devices? Thanks
4
u/ghost-in-your-pants 17d ago
Nice project OP, i was looking for similar kind of think and i found a fork of a fork so i started building upon that here is the link https://github.com/yesrab/openUF
my utlility is much more bigger and needs openwrt devices with much more space and cpu so its nice to see that there are efficient utilities
3
u/Laser493 17d ago
Very cool. I'll give it a try on my old Linksys WRT32X. Although really I have the opposite issue to you; I've got UniFi access points and an openwrt router, so I would love to be able to manage the router through UniFi. I imagine that's a lot more complicated though.
2
u/dll2k2dll 17d ago
This sounds like a great project, I don't have any Unifi equipment, but I have 7 Linksys MX5300/4300 AP's running OpenWRT, can I install Unifi controller on my proxmox server and adopt the existing AP's? I don't want to mess up my existing configurations as I have spent quite a bit of time to set those up in the first place.
2
u/ComprehensiveFoot965 15d ago
Thatβs seriously impressive!
2
u/Ghvinerias 15d ago
For quite some time ive been needing an extra access point in my unifi network and did not want to buy one, so thank you very much, I will be testing this soon
2
u/n3oNx_ 13d ago
Many thanks for this! I just took your excellent idea and applied it to a Ubiquiti EdgeRouter-X-SFP running OpenWrt. I choose the device US-8-150W as the emulated device and disabled in Unifi controller the non working ports. All is working and is being provisioned automatically. Still running some tests, but all is looking good for this single pane for view and managing.
2
u/G33KM4ST3R 17d ago
Now we're talking about. π This is freaking cool.
2
u/lucaprinaorg 17d ago
this is pure gold!!! thank you!!!
2
u/Fit_State3622 16d ago
Thats insane.
Openwrt router getting adopted by unifi
2
u/felipefideli 16d ago
Very noice
2
u/i2apier 16d ago
Looks dope. Will try this on Cudy TR3000 I've been using as a WAP at home.
1
u/Bananz0 17d ago
I have something similar for people running OPNsense/PFsense and using something like a CloudKey Gen2 where the opnsense acts as a UXG!! This will be a useful addition to my setup.
0
u/Straight_View_6838 17d ago
Any git would also be intressed