[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.
18910...

[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:Omada SDN Controller 4.1.5 for Devuan, Debian and other Linux systems
2020-10-20 09:01:53

Hey,

 

I am unable to download the Omada-Sdn-controller_4.1.5-2_all.deb file via FTP (I cannot switch to binary mode) and now my IP is banned from ftp. How can I do to recover the file?



thank you in advance
  0  
  0  
#83
Options
Re:Omada SDN Controller 4.1.5 for Devuan, Debian and other Linux systems
2020-10-20 09:43:09 - last edited 2020-10-20 09:43:48

@FrancoisNee, please do not use web-based FTP browsers. These browsers are absolutely lousy programmed, can't load files from read-only directories and hammer requests onto the FTP server as if this could compensate for the lousy programming.

 

Just use a standard Linux FTP command line client. Binary mode is selected automatically for binary files. FTP bans are temporarily, just wait somewhat before trying again.

༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
  0  
  0  
#84
Options
Re:Omada SDN Controller 4.1.5 for Devuan, Debian and other Linux systems
2020-10-20 09:54:00 - last edited 2020-10-20 09:55:22

Hey @R1D2, thanks for your answer,

I use linux ftp but i can't switch to binary mode when I connect to the ftp and when I lauch the download, nothing passed.

next the list of lauched commands :

ftp ftp.rent-a-guru.de

username : anonymous

binary

cd /private

get Omada-Sdn-controller_4.1.5-2_all.deb

 

I check the passive mode and it's ok, but i stay to ASCII.

I don't now what I do.

Thanks

  0  
  0  
#85
Options
Re:Omada SDN Controller 4.1.5 for Devuan, Debian and other Linux systems
2020-10-20 10:11:08

@R1D2 

 

Just an experience shared by me:

 

Got it running on a apu2d2 from PCengines. Which is a very small AMD64 board about twice the size of a RP3 but with 3 1Gbps ports. So very suitable as network device or firewall. (https://pcengines.ch/apu2d2.htm)

 
OS: Ubuntu 20.04.1 LTS Focal 64-bit

Mongod: Mongodb-org 3.6  64-bit

Java: openjdk-8-jdk-headless:amd64 8u265-b01-0ubuntu2~20.04

Omada SDN Controller: omada-sdn-controller_4.1.5-1_all.deb

 

Now the default version of JDK on this version of os is:
 java -fullversion
openjdk full version "11.0.8+10-post-Ubuntu-0ubuntu120.04"

 

But I can't seem to get it running on that version. Mainly because jsvc doesnt like it.

Also mongodb is behind level 3.6 instead of 4.4 because I can't seem to get the level upgraded in the database. Still have to take a look on that.

 

I am using this repository for that:

echo "deb [ arch=amd64,arm64 ] http://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/3.6 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.6.list

 

I must say with this levels its working great.

 

 

  0  
  0  
#86
Options
Re:Omada SDN Controller 4.1.5 for Devuan, Debian and other Linux systems
2020-10-20 10:53:48 - last edited 2020-10-20 11:10:57

@Ronald1965, I have it running on APU2 (and even Alix & APU1) series already since Omada Controller v2.7 (my preferred OS now is Devuan headless as a replacement for Debian).

 

Omada SDN Controller supports mongodb v3.0 to v3.6. It won't work with v4.4.

༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
  0  
  0  
#87
Options
Re:Omada SDN Controller 4.1.5 for Devuan, Debian and other Linux systems
2020-10-20 10:58:58

 

FrancoisNee wrote

get Omada-Sdn-controller_4.1.5-2_all.deb

 

please check the name. It's omada-sdn-controller_4.1.5-2_all.deb, not Omada-Sdn-controller_4.1.5-2_all.deb. Note the lowercase characters!

 

Binary mode must work, it's standard mode for binary data.

༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
  0  
  0  
#88
Options
Re:Omada SDN Controller 4.1.5 for Devuan, Debian and other Linux systems
2020-10-23 09:00:53

@R1D2 

Hi, im New here. My Omada SDN Controller 4.1.5 is still running on a Win10 minipc. I tried all to get in on a raspberry pi4 without a success.

 

But with the following instruction for v.3.2.10 does ist work, but i want the V 4.1.5

 

1. Install Raspberry Pi OS
    Raspberry Pi Imager
    Enable ssh        
2. Download and Extract
    wget https://static.tp-link.com/2020/202004/20200420/Omada_Controller_v3.2.10_linux_x64.tar.gz
    tar zxvf Omada_Controller_v3.2.10_linux_x64.tar.gz
    
3.  Install MongoDB
    sudo apt-get install mongodb-org
    rm Omada_Controller_v3.2.10_linux_x64/bin/mongod
    ln -s /usr/bin/mongod Omada_Controller_v3.2.10_linux_x64/bin/mongod

4. Installation
    sudo apt-get update
    sudo apt-get install jsvc
    sudo apt install net-tools
    sudo apt-get install curl
    sudo apt-get install openjdk-8-jdk

    sudo update-alternatives --config java
    sed -i -e 's/JRE_HOME="${OMADA_HOME}\/jre"/JRE_HOME="\/usr\/lib\/jvm\/default-java"/g' Omada_Controller_v3.2.10_linux_x64/bin/control.sh
    sed -i -e 's/JAVA_OPTS="-server/JAVA_OPTS="-client/g' Omada_Controller_v3.2.10_linux_x64/bin/control.sh
    sed -i -e 's/${PORTT_TOOL} 127.0.0.1 ${HTTP_PORT} 500/netstat -plnt | grep :::${HTTP_PORT}/g' Omada_Controller_v3.2.10_linux_x64/bin/control.sh

    cd /usr/lib/jvm
    ls -hl
    ln -s java-8-openjdk-armhf default-java

    cd Omada_Controller_v3.2.10_linux_x64
    sudo bash install.sh
5. Running
     http://ip_address:8088
 

 

Now my Question: is it possoible to get an SD-Card Image to download with the Omada SDN Controller 4.1.5 installed an running?

OR an Youtube Video with a tutorial guide?

 

thx allot 

  0  
  0  
#89
Options
Re:Omada SDN Controller 4.1.5 for Devuan, Debian and other Linux systems
2020-10-23 10:36:00

@alpha-1, the recipe you posted is for installing the official TP-Link version which differs greatly in installation procedure from the community version. The community version is being installed using the Debian package installer dpkg, not using shell commands. Also, SDN Controller requires Oracle JRE8, not OpenJDK.

 

Sorry, I can't help with installing the official version – I do not install the controller this way on my systems.

 

What's more, Raspbian for RasPi4 is still compiled for armv7l 32 bit CPUs AFAIK, but required mongodb v3 supports only 64 bit operating systems.

 

You could try to run a docker image running Ubuntu on the Pi contributed by forum user Ronald1965 in post #8 in this thread.

༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
  0  
  0  
#90
Options
Re:Omada SDN Controller 4.1.5 for Devuan, Debian and other Linux systems
2020-10-23 11:03:20

@R1D2 

Thx for your fast Answer. I can Imagine to use to Community Version. But my Linux skills are bad. 

 

Do you have an simple fixed Image for me whitch i ony have to flash to SD Card?

 

Have an nice day

  0  
  0  
#91
Options
Re:Omada SDN Controller 4.1.5 for Devuan, Debian and other Linux systems
2020-10-23 11:27:45

@alpha-1, sorry, there is no image, I don't use RasPi as a platform for SDN Controller.

 

Please see post #8 in this thread, there is a link to a docker image you can try.

It's much like an image, except that you install it under your Raspbian using docker.

༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
  0  
  0  
#92
Options