[Update 11/2020] Omada SDN Controller 4.2.4 for Devuan, Debian 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.

[Update 11/2020] Omada SDN Controller 4.2.4 for Devuan, Debian 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.
139 Reply
Re:[Update 11/2020] Omada SDN Controller 4.2.4 for Devuan, Debian and other Linux systems
2021-01-02 16:13:13

@Ronald1965 

 

Of course, that makes sense! I was trying to use the existing working folders. I'll do a fresh instance and do a backup/restore. 

 

Jason

Jason Omada Software Controller ER605 v1.0, TL-SG2008P v1.0, EAP225(US) v3.0 (2x)
  0  
  0  
#133
Options
Re:[Update 11/2020] Omada SDN Controller 4.2.4 for Devuan, Debian and other Linux systems
2021-02-03 21:45:12
Are you planning a 4.2.8 package?
  0  
  0  
#134
Options
Re:[Update 11/2020] Omada SDN Controller 4.2.4 for Devuan, Debian and other Linux systems
2021-02-12 19:16:07

@R1D2 dito to last message, any plans on next update?

  0  
  0  
#135
Options
Re:[Update 11/2020] Omada SDN Controller 4.2.4 for Devuan, Debian and other Linux systems
2021-02-13 00:03:35

@DanielD 

As a workaround, you can simply take the .jar files from the official .tar release and put them in the folders. It works fine this way.

  0  
  0  
#136
Options
Re:[Update 11/2020] Omada SDN Controller 4.2.4 for Devuan, Debian and other Linux systems
2021-02-28 18:25:56

@Premiumuser, the controller fails to start when I replace the .jar files with those from 4.2.8 or 4.2.11. Was there anything else you had to do?

  0  
  0  
#137
Options
Re:[Update 11/2020] Omada SDN Controller 4.2.4 for Devuan, Debian and other Linux systems
2021-02-28 18:33:36

@egeekial 

In fact, there are two things to change:

1. All jar files in the "lib" folder

2. The omada-web.war in the "webapps" folder.

  0  
  0  
#138
Options
Re:[Update 11/2020] Omada SDN Controller 4.2.4 for Devuan, Debian and other Linux systems
2021-03-21 16:20:40

@R1D2 

Hi R1D2,

 

This might be helpful to other users of your package: I've realised it's possible to select different JVM/JRE versions without using the system-wide update-alternatives technique, so may be a good thing to add to the instructions.

 

In the Omada SDN package installation, there's a file called "CONFIG" (at /opt/tplink/OmadaController/CONFIG). In this file you can set "JAVA_HOME" and "JAVA_CMD" to locations of an appropriately old version of Java, and thereby tell Omada to use that without forcing the rest of the system to use that version. For example in Debian I have them set to:

 

JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
JAVA_CMD=/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java

 

while the rest of the system is using openjdk-11 (which didn't seem like it wanted to work with the Omada SDN controller).

 

On another note: I notice the "official" version is up to 4.2.11... Any chance of a new community version :-)

 

Thanks for your efforts in putting the community edition together!

 

 

  1  
  1  
#140
Options
Re:[Update 11/2020] Omada SDN Controller 4.2.4 for Devuan, Debian and other Linux systems
2021-09-22 13:16:54

When I open the homepage https://www.rent-a-guru.de/ (where the download of the debian package is), I read a sad message about the author being dead. So it seems like there will not be any further packages anymore if noone else takes over the maintenance. As long as there aren't any big changes from Tplink's side, it is however rather easy by just changing the jar files as I pointed out earlier in this thread.

  1  
  1  
#141
Options
Re:[Update 11/2020] Omada SDN Controller 4.2.4 for Devuan, Debian and other Linux systems
2021-12-03 20:23:32

@Premiumuser 

 

I'm not sure if there is any demand for it but I repackaged 4.4.6 with R1D2's deb file here.

 

I apologize ahead of time as I'm not very good at this. But, I have been making use of R1D2's work and I thought it might be a good idea to continue with his legacy (and for me to learn something at the same time).

 

I, unfortunately, do not have access to a wide variety of machines. I have been using an Intel Edison as my makeshift controller and testing bench. I appreciate it if anyone take the deb file and test it out and let me know how it fairs. I'm a bit of a noob so there might be some bugs.

 

MD5 Sum

8aa5eb2c023faf26dffc78a6761c96a8 *omada-sdn-controller-4.4.6_1_all.deb

 

SHA256 Sum

844c233e16be1266c78de6751f42b8cf17d983f14c86e0af416c88a47a9830fb *omada-sdn-controller-4.4.6_1_all.deb

 

If it all goes well, I may create some kind of GitHub page for all this so it can be version controlled, updated, and build. 

 

As a side note, I noticed that TP-Link now offers an official deb file for Linux build. Not entirely sure if my efforts are redundant.

 

It goes without saying, all credits go to R1D2.

  2  
  2  
#142
Options