✶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.
1678...

✶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-01-24 20:50:06

@R1D2 i have problem 

 

pi@raspberrypi:/opt $ java -version
openjdk version "1.8.0_232"
OpenJDK Runtime Environment (build 1.8.0_232-8u232-b09-1~deb9u1-b09)
OpenJDK Client VM (build 25.232-b09, mixed mode)
pi@raspberrypi:/opt $ sudo omadactl start
Starting Omada Controller
Invalid JVM name specified server <------------------------------------
pi@raspberrypi:/opt $
 

 

please helpme 

  0  
  0  
#82
Options
Re:✶Update 01/2020✶ Omada Controller 3.2.6 for Debian, Raspbian and any other Linux system
2020-01-25 09:02:20
Nice ! Thank you !!
  0  
  0  
#83
Options
Re:✶Update 01/2020✶ Omada Controller 3.2.6 for Debian, Raspbian and any other Linux system
2020-01-25 12:15:07 - last edited 2020-01-25 13:09:42

 

Ferse wrote in post #81:

Thanks, I was able to download the package. For windows it is not possible. It was done with raspbian

 

Hello @Ferse, yes, Windows tries to be »smart«, but always ends up being »dumb« in reality.

 

It blindly generates lots of FTP requests and thus the IP gets banned temporarily for an hour or so. After first attempt fails for whatever reason, Windows keeps sending requests after requests, thus it looks like a DoS attack to the FTP server – and some people would say it's indeed one :-)

 

It's like running into a wall, hitting your head and trying again 19 times, hoping it might work the 20th time. Most software on Windows is programmed in this crazy way; Windows developers don't trust their own software when it reports an error. As a last resort, they then try to reboot the system or decide to wait until next full moon. IMO this is pretty similar to Voodoo.

 

 

Ferse wrote in post #82:

 

i have problem 

 

pi@raspberrypi:/opt $ java -version
openjdk version "1.8.0_232"
OpenJDK Runtime Environment (build 1.8.0_232-8u232-b09-1~deb9u1-b09)
OpenJDK Client VM (build 25.232-b09, mixed mode)

 

You need Oracle JRE v8, please install it from the Oracle website. Remember to remove OpenJDK completely or at least change/remove the »alternatives« links of the java environment to OpenJDK using update-java-alternatives.

 

See this thread in the Raspbian forum for the steps required to do so (and please read until the last post there):

https://www.raspberrypi.org/forums/viewtopic.php?f=91&t=231460

༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
  1  
  1  
#84
Options
Re:✶Update 01/2020✶ Omada Controller 3.2.6 for Debian, Raspbian and any other Linux system
2020-01-31 22:14:47

@R1D2 thank you very much . omada working fine in RPI 3, test with Eap-225. recommended update firmware..

  0  
  0  
#85
Options
Re:✶Update 01/2020✶ Omada Controller 3.2.6 for Debian, Raspbian and any other Linux system
2020-02-01 02:16:48

@Ferse, you're welcome! Glad it works for you, have fun with Omada controller!

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

@Ferse Cool

 

Sorry, this is a bit off topic - but may I ask what storage you're using on the Rpi3? I assume it's an SD card? I'm curious how the mongod load on the sd card affects it's life. Presumably the controller isn't generating tons of data, but it's still writing data constantly to the disk isn't it?

I'm curious if these setups have a limited lifespan, or is it long enough that it's a non issue?

  0  
  0  
#87
Options
Re:✶Update 01/2020✶ Omada Controller 3.2.6 for Debian, Raspbian and any other Linux system
2020-02-01 12:59:14 - last edited 2020-02-01 13:05:47

 

elmado wrote

Presumably the controller isn't generating tons of data, but it's still writing data constantly to the disk isn't it?

I'm curious if these setups have a limited lifespan, or is it long enough that it's a non issue?

 

It's indeed an issue, but with Raspbian in general. Things you can do to increase the card's life-span (beside using a SSD/miniSSD):

  • Use industrial grade or even pSLC (2 bits/cell) SD cards
  • Create a tmpfs filesystem and symlink /var/log to this temporary filesystem. You lose logs when rebooting.
  • Don't forget to symlink /opt/OmadaController/logs to /var/logs/omadad if using a tmpfs.

 

 

༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
  0  
  0  
#88
Options
Re:✶Update 01/2020✶ Omada Controller 3.2.6 for Debian, Raspbian and any other Linux system
2020-02-01 18:16:54

@R1D2 Thanks for the useful reply, in order not to take this thread OT, I started a new thread here

  0  
  0  
#89
Options
Re:✶Update 01/2020✶ Omada Controller 3.2.6 for Debian, Raspbian and any other Linux system
2020-02-06 07:34:46 - last edited 2020-02-06 08:12:49

@R1D2 I came here first to say thanks! I got this running on a Raspberry Pi, which beats waiting for a controller in Windows!

 

I also wanted to share that I was able to get this up and running using OpenJDK.

 

I'm running an older Raspberry Pi Model B Rev 2, which has an ARMv6 processor. This actually limited which versions of Java that could be installed. But I ended up getting it all up and running with Raspbian Buster Lite after installing

 

apt-get install openjdk-8-jre

apt-get install mongodb

apt-get install jsvc

 

The only trick is I had to remove "-server" from line 49 JAVA_OPTS of /usr/bin/omadactl (update: and from /etc/init.d/omadad). From what I read, openjdk uses server by default.

 

Besides all the troubleshooting I had to do before getting it to work with openjdk-8, and how slow it is to boot up, it's been working well! I'm currently trying to figure out why the service didn't come back after a reboot even though systemctl shows the service enabled. It should start up fine on reboot now that I updated JAVA_OPTS in /etc/init.d/omadad!

  0  
  0  
#90
Options
Re:✶Update 01/2020✶ Omada Controller 3.2.6 for Debian, Raspbian and any other Linux system
2020-02-06 12:06:26 - last edited 2020-02-06 12:08:34

 

rockin wrote

I came here first to say thanks! I got this running on a Raspberry Pi, which beats waiting for a controller in Windows!

 

I also wanted to share that I was able to get this up and running using OpenJDK.

 

You're welcome. Thanks for the feedback regarding OpenJDK.

 

However, I recommend to set JAVA_OPTS in /opt/tplink/OmadaController/CONFIG which then affects both, the startup script /etc/init.d/omada and the cmdline utility /usr/bin/omadactl. Alternatively you could also define it in /etc/defaults/omadad, which is handled as a config file by dpkg when installing new versions. Both cfg files will be sourced in by the init script and omadactl.

 

The settings in the program files itself still exists as hard-coded defaults for historical reasons from old times where both scripts were only one.

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