OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Development and Code Review (Moderator: fabian) »
  • UniFi Controller
« previous next »
  • Print
Pages: [1] 2 3 4

Author Topic: UniFi Controller  (Read 54533 times)

tillsense

  • Sr. Member
  • ****
  • Posts: 325
  • Karma: 49
    • View Profile
UniFi Controller
« on: July 08, 2017, 07:32:00 pm »
These guys have a sh script for FreeBSD.

https://github.com/gozoinks/unifi-pfsense

I'm going to look at this.

cheers till
« Last Edit: July 08, 2017, 07:42:58 pm by tillsense »
Logged

HFsi

  • Newbie
  • *
  • Posts: 36
  • Karma: 3
    • View Profile
Re: UniFi Controller
« Reply #1 on: July 11, 2017, 05:02:38 am »
Yes! It would be great!
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17704
  • Karma: 1617
    • View Profile
Re: UniFi Controller
« Reply #2 on: July 31, 2017, 08:51:26 am »
The license looks good. Will somebody speak to the maintainer?


Thanks,
Franco
Logged

HFsi

  • Newbie
  • *
  • Posts: 36
  • Karma: 3
    • View Profile
Re: UniFi Controller
« Reply #3 on: August 29, 2017, 03:07:53 pm »
I´m following the project...what should I ask him?
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17704
  • Karma: 1617
    • View Profile
Re: UniFi Controller
« Reply #4 on: August 29, 2017, 03:13:38 pm »
If he would like to officially support OPNsense as well. :)
Logged

HFsi

  • Newbie
  • *
  • Posts: 36
  • Karma: 3
    • View Profile
Re: UniFi Controller
« Reply #5 on: August 29, 2017, 03:30:58 pm »
Ok!
Logged

Woi

  • Newbie
  • *
  • Posts: 13
  • Karma: 2
    • View Profile
Re: UniFi Controller
« Reply #6 on: September 01, 2017, 04:32:55 pm »
That would be... awsome  8)
Logged

jwtoler

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: UniFi Controller
« Reply #7 on: September 27, 2017, 09:50:32 pm »
Can this be used with opnsense as-is?
Logged

Stephan

  • Jr. Member
  • **
  • Posts: 60
  • Karma: 3
    • View Profile
Re: UniFi Controller
« Reply #8 on: September 28, 2017, 01:37:42 pm »
In general a good idea - but I'm bit sceptic regarding all the stuff that gets installed by this... thorough testing is mandantory, I'd say^^
Logged

fabian

  • Moderator
  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: UniFi Controller
« Reply #9 on: September 28, 2017, 01:46:52 pm »
Quote from: jwtoler on September 27, 2017, 09:50:32 pm
Can this be used with opnsense as-is?

no - it seems like this depends on java: https://github.com/gozoinks/unifi-pfsense/blob/master/rc.d/unifi.sh#L29

Java is not in the repository but you can get it from the FreeBSD repository.
Logged

Stephan

  • Jr. Member
  • **
  • Posts: 60
  • Karma: 3
    • View Profile
Re: UniFi Controller
« Reply #10 on: September 28, 2017, 02:09:05 pm »
Quote from: jwtoler on September 27, 2017, 09:50:32 pm
Can this be used with opnsense as-is?

I'd say yes - if You mean the mentioned script -  in case this script is working as expected...
Here's the list of all the additional stuff that gets installed:
 
Code: [Select]
103 AddPkg snappy
104 AddPkg python2
105 AddPkg v8
106 AddPkg mongodb
107 AddPkg unzip
108 AddPkg pcre
109 AddPkg alsa-lib
110 AddPkg freetype2
111 AddPkg fontconfig
112 AddPkg xproto
113 AddPkg kbproto
114 AddPkg libXdmcp
115 AddPkg libpthread-stubs
116 AddPkg libXau
117 AddPkg libxcb
118 AddPkg libICE
119 AddPkg libSM
120 AddPkg java-zoneinfo
121 AddPkg fixesproto
122 AddPkg xextproto
123 AddPkg inputproto
124 AddPkg libX11
125 AddPkg libXfixes
126 AddPkg libXext
127 AddPkg libXi
128 AddPkg libXt
129 AddPkg libfontenc
130 AddPkg mkfontscale
131 AddPkg mkfontdir
132 AddPkg dejavu
133 AddPkg recordproto
134 AddPkg libXtst
135 AddPkg renderproto
136 AddPkg libXrender
137 AddPkg javavmwrapper
138 AddPkg giflib
139 AddPkg openjdk8
140 AddPkg snappyjava
Logged

Stephan

  • Jr. Member
  • **
  • Posts: 60
  • Karma: 3
    • View Profile
Re: UniFi Controller
« Reply #11 on: September 28, 2017, 02:13:02 pm »
Ahmm - I just saw all this X - stuff...???  :o
Logged

Solaris17

  • Full Member
  • ***
  • Posts: 118
  • Karma: 17
    • View Profile
Re: UniFi Controller
« Reply #12 on: October 29, 2017, 07:38:04 am »
I think I remember reading about this on reddit, really pumped about this!

ah nvm this is for running the controller on the router, I was reading about integration with the gateway protocols used in the controller itself.
« Last Edit: October 29, 2017, 07:41:00 am by Solaris17 »
Logged

kanstin

  • Newbie
  • *
  • Posts: 35
  • Karma: 6
    • View Profile
Re: UniFi Controller
« Reply #13 on: January 27, 2018, 01:33:02 am »
So I have been trying to get the Unifi controller working but no luck so far. I've tried two different methods.

First I tried checking out the git repository and building the net-mngr/unifi5 package. After a few hours when it's compiling some java classes, the java runtime/compiler crashes so no dice.

Then I tried this script. The script works great! But same issue, the java runtime crashes. Has anyone successfully been able to get the Unifi controller to work on opnsense?
Logged

the-mk

  • Full Member
  • ***
  • Posts: 156
  • Karma: 15
    • View Profile
Re: UniFi Controller
« Reply #14 on: February 01, 2018, 09:18:07 pm »
installing it on the command line with that install-unifi.sh script from the first link works just fine for me...

I am curious what will happen, when an upgrade of the UniFi software arrives (>5.6.29) - how that is handled - does it upgrade via the GUI (I mean the UniFi one)?

after a little trip on the UniFi USG 3-Port router I am going to come back home to OPNsense :)
Logged

  • Print
Pages: [1] 2 3 4
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Development and Code Review (Moderator: fabian) »
  • UniFi Controller
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2