OPNsense Forum

English Forums => General Discussion => Topic started by: Paul.C on February 15, 2019, 03:24:03 am

Title: [Feature Request] Ubiquiti Controller (as a plugin?)
Post by: Paul.C on February 15, 2019, 03:24:03 am
I'd love to see an easy method to set up the Ubiquiti Controller software on the same host running OPNsense. Given that FreeBSD is lagging on the native wireless card support, an external access point seems like the logical solution.

Ubiquiti makes access points in the same class as OPNsense (in my opinion), and I assume that at least some OPNsense users have paired the two.

It seems logical to me to have my OPNsense box also run the Ubiquiti Controller software. However, while I'm comfortable with Linux, I'm a newbie with FreeBSD.
Title: Re: [Feature Request] Ubiquiti Controller (as a plugin?)
Post by: mimugmail on February 15, 2019, 05:28:18 am
The problem is that this package would be hard to maintain as updates came quite often.
Title: Re: [Feature Request] Ubiquiti Controller (as a plugin?)
Post by: Paul.C on February 15, 2019, 07:09:16 pm
While I sympathize, I think that makes the case stronger that it's maintained automatically, doesn't it?

Better that it's handled in one place, and everyone is running the same version installed in the same way, than everyone does it themselves in their own way, so there are multiple versions in the field, each installed in a slightly different way. If folks are installing it manually, then a release candidate can't be tested against all the possible versions and ways it could have been installed.

Besides, doing it manually requires considerably more understanding of FreeBSD than installing an OPNsense plugin does.
Title: Re: [Feature Request] Ubiquiti Controller (as a plugin?)
Post by: mimugmail on February 15, 2019, 08:45:32 pm
Can you open an issue in GitHub plugins? I'll have a look. But perhaps it will stay in devel for a loooong time :)
Title: Re: [Feature Request] Ubiquiti Controller (as a plugin?)
Post by: Paul.C on February 17, 2019, 12:37:15 am
I'm going to see if I can get docker working under FreeBSD. Then I can use the docker image for the Ubiquiti Controller directly. The Watchtower docker image solves the problem of keeping up with Ubiquiti releases automatically.

If it all works as advertised, that would be a more general solution and solve the 'frequent releases' problem. docker has worked well for me under Linux, no idea if it works as well under FreeBSD, though.

Perhaps my request should be for docker as a plugin ;)
Title: Re: [Feature Request] Ubiquiti Controller (as a plugin?)
Post by: mimugmail on February 18, 2019, 12:01:50 pm
Tried to build the controller from the ports but MongoDB breaks .. doesn't seem we can implement it in a stable manner ...