✶Update 09/2020✶ Omada Controller 3.2.10 for Debian, Raspbian and other Linux systems

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
1789...

✶Update 09/2020✶ Omada Controller 3.2.10 for Debian, Raspbian and other Linux systems

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
168 Reply
Re:✶Update 01/2020✶ Omada Controller 3.2.6 for Debian, Raspbian and any other Linux system
2020-03-02 20:22:40

@R1D2 Hi there, 

 

Just got into the whole Omada ecosystem and so far I like what I'm seeing. Coming from Ubiquiti this looks all good and well. Experience will tell me if I was right making the switch for more budget conscious clients (and that don't need all the bell and whistles of other systems) 

 

I've been trying to buy to OC200 hardware controller but it's not available here so I figured I'd use the software. Been using it under windows and it's nice, but I'd love to host it on my servers in the cloud (under linux) is there some docker image that we can work with ? I like the idea of the Raspberry Pi as well, could be nice to have a physical hardware controller on site. This will be a small deployment, around 7 APs throughout the property. 

 

Good job on porting the software :) 

 

  0  
  0  
#92
Options
Re:✶Update 01/2020✶ Omada Controller 3.2.6 for Debian, Raspbian and any other Linux system
2020-03-02 21:34:57 - last edited 2020-03-02 21:46:17

 

MichaelJTDesign wrote

Been using it under windows and it's nice, but I'd love to host it on my servers in the cloud (under linux) is there some docker image that we can work with ? I like the idea of the Raspberry Pi as well, could be nice to have a physical hardware controller on site.

 

Hi @MichaelJTDesign,

 

there is a docker image for the RasPi 4 and at least one for Debian somewhere out there from other contributors, but I have yet to see one for the latest version 3.2.6 of Omada Controller. At the moment I have no time (and no experience with it) to set up docker images myself being busy with other work.

 

A RasPi is great for use with a small number of EAPs, but the mongodb database has certain memory limits up to RasPi 3+ and I have no RasPi 4 here to test with, so maybe you want to try the Docker image mentioned above or even try out the 3.2.6 .deb package in a cloud instance running plain Debian or Ubuntu.

 

OTOH, OC200 has the advantage that it can be upgraded by a single click and you should be able to order it from the warehouse for all and everything (Amazon) since it's not specific to a certain country. I prefer to run the controller on a fast Linux server, but for installations at customer's sites I more and more like to sell them an OC200, because of it's easy to handle.

 

Anyway, to have a first try, the RasPi is fine to play with Omada Controller. Have fun!

 

BTW: It's interesting to hear that you switch from the Ubiquiti controller over to Omada controller. I didn't yet install their UNMS to manage my routers (and only for managing routers) because it uses docker and because I would rather like to install an UNMS deb package if it would be available ... ;-)

 

 

༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
  0  
  0  
#93
Options
Re:✶Update 01/2020✶ Omada Controller 3.2.6 for Debian, Raspbian and any other Linux system
2020-03-02 21:40:20

@MichaelJTDesign 

Not sure if you can actually host the controller in the cloud (by this I assume you were referring to installing and hosting the server on a 3rd party cloud server farm?).

 

As far as I understand - I think the server has to be on the same network as the EAP's.

  0  
  0  
#94
Options
Re:✶Update 01/2020✶ Omada Controller 3.2.6 for Debian, Raspbian and any other Linux system
2020-03-02 21:50:44 - last edited 2020-03-02 21:55:32

@elmado, you can run Omada Controller in the cloud, too.

 

In fact, I did run early Omada Controller for Windows in an AWS container at the time when it was not available for Linux. I then ported the Windows V2.5 version to Linux, moved it to our Internet server and dropped the AWS cloud account. I still run V2.7 and even V3.2.6 on our public Internet server.

 

You don't need to run the controller in the same subnet the EAPs are in. EAPs can be linked to the controller over layer 3, it's only that automatic discovery of EAPs won't work then. But even in local networks I isolate the OC200 or SW controller in its own VLAN if I don't need the built-in portal (we use our own Captive Portal).

༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
  3  
  3  
#95
Options
Re:✶Update 01/2020✶ Omada Controller 3.2.6 for Debian, Raspbian and any other Linux system
2020-03-03 08:01:44
Cool thanks - i did find some documentation on this: https://www.tp-link.com/us/support/faq/913/
  0  
  0  
#96
Options
Re:✶Update 01/2020✶ Omada Controller 3.2.6 for Debian, Raspbian and any other Linux system
2020-03-03 09:28:42

@elmado Cool - looks like what I was referring to. 

 

Awesome. 

  0  
  0  
#97
Options
Re:✶Update 01/2020✶ Omada Controller 3.2.6 for Debian, Raspbian and any other Linux system
2020-03-05 12:06:31 - last edited 2020-03-05 12:09:39

@R1D2 

I'm getting this error when starting on a clean installed Pi:

 

pi@raspberrypi:~ $ sudo omadactl start
Starting Omada Controller 
Invalid JVM name specified server
 

I've noticed that this also came up in antoher topic: https://community.tp-link.com/en/business/forum/topic/150123?page=5  and https://community.tp-link.com/en/business/forum/topic/162210?page=2 , but I don't see how I can resolve it ( with using https://www.raspberrypi.org/forums/viewtopic.php?f=91&t=231460 ) .I tried with the update-java-alternatives by setting it to one or the other but still getting same error.

 

 

pi@raspberrypi:~ $ java -version
openjdk version "1.8.0_212"
OpenJDK Runtime Environment (build 1.8.0_212-8u212-b01-1+rpi1-b01)
OpenJDK Client VM (build 25.212-b01, mixed mode)
pi@raspberrypi:~ $ update-java-alternatives -l
java-1.11.0-openjdk-armhf      1111       /usr/lib/jvm/java-1.11.0-openjdk-armhf
java-1.8.0-openjdk-armhf       1081       /usr/lib/jvm/java-1.8.0-openjdk-armhf
pi@raspberrypi:~ $ 
 

  0  
  0  
#98
Options
Re:✶Update 01/2020✶ Omada Controller 3.2.6 for Debian, Raspbian and any other Linux system
2020-03-08 19:48:30 - last edited 2020-03-08 19:50:53

@WoDkaBE,

 

your OpenJDK is a client version, not a server version. Try modifying the JAVA_OPTS variable in /usr/bin/omadactl from:

 

JAVA_OPTS="-server -Xms128m -Xmx1024m -XX:MaxHeapFreeRatio=60 -XX:MinHeapFreeRatio=30 -XX:+HeapDumpOnOutOfMemoryError"

 

to:

JAVA_OPTS="-client -Xms128m -Xmx1024m -XX:MaxHeapFreeRatio=60 -XX:MinHeapFreeRatio=30 -XX:+HeapDumpOnOutOfMemoryError"

 

(Note: this is one line only, line wrapping here appears due to the forum layout).

 

You can also set the JAVA_OPTS in /etc/default/omadad rather than fiddling with the omadactl shell script.

Settings in /etc/default/omadad will be retained over package updates.

༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
  1  
  1  
#99
Options
Re:✶Update 01/2020✶ Omada Controller 3.2.6 for Debian, Raspbian and any other Linux system
2020-03-09 08:45:01
that worked, thanks!
  0  
  0  
#100
Options
Re:✶Update 01/2020✶ Omada Controller 3.2.6 for Debian, Raspbian and any other Linux system
2020-03-12 22:17:44

@R1D2 

 

Hi there,

I have a raspi but I am a complete layman. However I can follow a set of instructions. Do you happen to have a set of step by step on how to run this on a raspi?

 

Much appreciated.

  0  
  0  
#101
Options