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

[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-07-16 08:08:01

 

nojak wrote

I would try it, but armhf is a rip 3 thing and not something I can use on my rpi 2.

 

»armhf« is just a name from Debian maintainers for their distribution which means »ARM hard(ware) float(ing point)«.

 

RasPi2 uses an ARMv7 architecture based on a BCM2836 SoC which indeed supports HW floating point. Thus, »armhf« distributions are suitable for RasPi2.

 

Even the original RasPi with its BCM2835 SoC did support HW floating point, but it was based on ARMv6 and distributions for this architecture had been compiled w/o HW floating point support. Major linux distributions did enable HW floating point for ARM chips around 2011, but set their minimum HW requirements as ARMv7 at this time. Otherwise even the original RasPi could support »armhf« distributions.

༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
  1  
  1  
#12
Options
Re:Omada SDN Controller 4.1.5 for Devuan, Debian and other Linux systems
2020-07-16 08:35:21 - last edited 2020-07-16 08:38:20

@R1D2 

 

Checkout https://github.com/ronald-den-otter/omada-sdn-controller

There are 32-bit versions of MongoDB v3.2  I used it in my Docker image.

Or just use docker and checkout my image :-)

 

For the ones like to know how to install docker:

apt-get install docker.io

 

  0  
  0  
#13
Options
Re:Omada SDN Controller 4.1.5 for Devuan, Debian and other Linux systems
2020-07-16 12:22:53 - last edited 2020-07-16 12:30:54

@Ronald1965 I stand corrected. I thought armhf was just rpi 3, but it appears to be both rpi2 and 3. Thanks!
Also thank you @R1D2. Found that today just before reading the rest of this thread. Good explanation!

  0  
  0  
#14
Options
Re:Omada SDN Controller 4.1.5 for Devuan, Debian and other Linux systems
2020-07-16 15:34:15
@Ronald1965 What's the best way to upgrade your docker builds once I have it running successfully. I know I can stop the omada service, use omadactl to backup the data (or the web ui), stop the container, delete the container, build/deploy the new one and restore data. But is there a recommended process that is less destructive?
Jason Omada Software Controller ER605 v1.0, TL-SG2008P v1.0, EAP225(US) v3.0 (2x)
  0  
  0  
#15
Options
Re:Omada SDN Controller 4.1.5 for Devuan, Debian and other Linux systems
2020-07-16 17:24:27

 

Ronald1965 wrote

@R1D2 

 

Checkout https://github.com/ronald-den-otter/omada-sdn-controller

There are 32-bit versions of MongoDB v3.2  I used it in my Docker image.

Or just use docker and checkout my image :-)

 

For the ones like to know how to install docker:

apt-get install docker.io

 

@Ronald1965 

after a few hours of no luck.. i tried it with the 32bit mongoDB.. but then that complaint as it needs 'libboost 1.65.1'
and that i cant find either...
if anyone manages to get mongoDB upgraded and 4.1.5 working.. let me know and how you did it please.
also tried it with this btw: https://www.raspberrypi.org/forums/viewtopic.php?p=1566212#p1566212

 

Regards

Daniel
P.S im using a raspberry pi 4 headless running same time OMV

  0  
  0  
#16
Options
Re:Omada SDN Controller 4.1.5 for Devuan, Debian and other Linux systems
2020-07-16 18:16:31

@jasonsf 

First if you gonna use docker forget about the omadactl. So the trick with docker is changing your exposed volumes in docker. (-v options)

So what I do is changing the exposed directory per version on the host. In the image it doesnt change.

Look at this:

root@bananapi:/opt/tplink# ls -latr
total 28
drwxr-xr-x 3 root root 4096 Apr 14 18:20 latest
drwxr-xr-x 4 root root 4096 Apr 19 11:48 ..
lrwxrwxrwx 1 root root    6 Apr 30 19:06 OmadaController -> latest
drwxr-xr-x 3 root root 4096 Apr 30 19:11 3.2.9-1
drwxr-xr-x 3 root root 4096 May 11 19:31 3.2.10-1-lomem
drwxr-xr-x 3 root root 4096 Jul 15 09:24 3.2.10-2-lomem
drwxr-xr-x 7 root root 4096 Jul 15 19:21 .
drwxr-xr-x 3 root root 4096 Jul 15 19:22 4.1.5-1
root@bananapi:/opt/tplink#

 

So I am running 4.1.5-1 now. But I still got the older omada-controller versions. 

I migrated by making a new directory and make a copy of all subdirectories and files of the old version. Watch it. mongodb files are sparse files. So use the sparse option in tar, cp or whatever you use. 

When changing minor versions the mongodb will be updated after the first boot and you configuration is still ok. 

But going from 3.2.10.2-lomem to 4.1.5-1 didnt work out for me.

So what I did is started up 3.2.10-2 again and made a backup configuration in the webconsole. 

Started then 4.1.5-1 again and restored configuration in the new SDN webconsole. Which you have to reconfigure with omada cloud too by the way.

 

If you go to the github site which I mention in the docker repository. You will see a run script which explains how to start it up. But also check the commented out part which explains the way to switch version.

 

I hope this helps a bit.

 

  1  
  1  
#17
Options
Re:Omada SDN Controller 4.1.5 for Devuan, Debian and other Linux systems
2020-07-16 18:37:11

@DanielD 

I think those versions are made for ubuntu 18.04 armhf 32 bit, which I am running in the docker image. So it was easy for me. Check Dockerfile how

You have 4 choices i guess:

1. Install your PI4 which Ubuntu 18.04 32 bit and try again.  Probably not the message you want, but that should work.

2. Build the packages yourself by downloading the tgz file and build with dpkg-buildpackage.  Tricky

3. Install docker.io with apt-get and run it fully isolated from the rest of your PI  And run it as docker image.

4. Install 64bit ubuntu. Well you know that already.

 

If your afraid the source won't be maintained. Thats true. But your welcome to fork my github project or clone my docker repository. Then your in control.

 

  0  
  0  
#18
Options
Re:Omada SDN Controller 4.1.5 for Devuan, Debian and other Linux systems
2020-07-19 08:07:16

@R1D2 Question: My TL-Links accesspoints are connected like they did with the Omada Controller.

But I am wondering if I can be able to add my Jetstream switch to the SDN controller.

Can you tell me how he is detecting the switches or what is needed to get it detected.

If checked this site:
https://www.tp-link.com/nl/business-networking/all-omada/

But its all empty.

Hopefully you can help me, or anybody else in this forum.

 

  0  
  0  
#19
Options
Re:Omada SDN Controller 4.1.5 for Devuan, Debian and other Linux systems
2020-07-19 08:24:34

Ronald1965, the JetStream switches need new firmwares much like the EAPs do. At the moment no SDN firmware has been published as far as I know. If a new firmware comes out for a supported switch, it will show up as »Pending« and can be adopted just like an EAP.

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

@R1D2 Ok thanks for the quick answer

  0  
  0  
#21
Options
Related Articles