Omada Controller 3.0.2 for Linux (including new tpeap v1.4)

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

Omada Controller 3.0.2 for Linux (including new tpeap v1.4)

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
109 Reply
Re: Omada EAP Controller 3.0.2 for Linux is here!
2018-08-21 23:23:14 - last edited 2019-03-06 01:55:43

WoDkaBE wrote

Ok I did the whole thing and rights are good now. Symlinks are ok as well...but hold on with the drinks 😔

 

But again error. I think I need to redo the mongod nohttinterface again?

 

Will your guide work as well for the Rasberry pi?

 

Hmm, should not be necessary for the mongod version on Raspbian (or I have probably an older version?).

Did you check wether you can connect to the EAPC using a browser? It's somewhat slow in response.

 

If still no success, please try the following:

 

Check version of mongod. If < 3.6, then no action is required, else you would need to remove the option from the properties, either using the recipe or using your preferred editor (pico, nano, vi, whatever).

 

This is the version of my mongod installation from the Raspbian repository:

 

# mongod -version

db version v2.4.14
Tue Aug 21 23:06:03.895 git version: nogitversion
#

 

To make sure the option is known (it will complain if it doesn't know this option):

 

# mongod --nohttpinterface -version

 

Check wether mongod is running:

 

# ps -ae | fgrep mongod
 2425 ?        00:00:25 mongod

#

 

Check wether mongod and EAPC are listening on the sockets:

 

# netstat -tunlp | fgrep -e java -e mongod

tcp        0      0 127.0.0.1:27017         0.0.0.0:*               LISTEN      2425/mongod         
tcp        0      0 0.0.0.0:8043            0.0.0.0:*               LISTEN      2374/java           
tcp        0      0 0.0.0.0:29811           0.0.0.0:*               LISTEN      2374/java           
tcp        0      0 0.0.0.0:29812           0.0.0.0:*               LISTEN      2374/java           
tcp        0      0 0.0.0.0:8088            0.0.0.0:*               LISTEN      2374/java           
udp        0      0 0.0.0.0:27001           0.0.0.0:*                           2374/java           
udp        0      0 0.0.0.0:29810           0.0.0.0:*                           2374/java           

#

 

 

༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
  1  
  1  
#12
Options
Re:Re:Omada EAP Controller 3.0.2 for Linux is here!
2018-08-22 01:26:26 - last edited 2019-03-06 01:55:43

@Jonas_TP-Link Is it planned by HQ to develope Linux version of Omada Controller? It has no sense that R1D2 can make it and RD no.

 

If I test I will post the results.

Yes, of course. We are making the Omada Controller 3.0.2 Linux, it will be publish recently.

  0  
  0  
#13
Options
Re:Re: Omada EAP Controller 3.0.2 for Linux is here!
2018-08-22 08:22:35 - last edited 2019-03-06 01:55:43

R1D2 wrote

WoDkaBE wrote

Ok I did the whole thing and rights are good now. Symlinks are ok as well...but hold on with the drinks 😔

 

But again error. I think I need to redo the mongod nohttinterface again?

 

Will your guide work as well for the Rasberry pi?

 

Hmm, should not be necessary for the mongod version on Raspbian (or I have probably an older version?).

 

The messages in the startup.log are just status messages on successful start of the DB, I see no errors there.

Did you check wether you can connect to the EAPC using a browser? It's somewhat slow in response.

  

 

 

This monring the webservice was working. It's just really slow in boot, and the error it gave during start up can be ignored I guess. indecision 

 

 

  0  
  0  
#14
Options
Re:Re: Omada EAP Controller 3.0.2 for Linux is here!
2018-08-22 08:25:27 - last edited 2019-03-06 01:55:43

R1D2 wrote

That's all, works fine on my RasPi. If you get it running, please reply, I will mix us a »White Russian« drink then. 
 

 

 

I'll mix us that drink now laugh it's all is up and running and actually running pretty smooth on the Pi now!

Thanks again for the really quick reply and guidance !

 

I'll post this Thread to the other guides I found of older versions for linux/Pi so others can benefit from your interesting work too angel

  1  
  1  
#15
Options
Re: Omada EAP Controller 3.0.2 for Linux is here!
2018-08-22 13:13:54 - last edited 2019-03-06 01:55:43

Glad it finally works for you!

 

Probably error messages just appear because tpeap by default waits for only 70 seconds until Omada Controller is ready to serve requests. That's a much too small time-out for the RasPi.

 

To get rid of those message, you can either start Omada Controller asynchronously (omit option -w to tpeap) or increase the wait time-out by changing WAIT_TIME in line 52 of the script, there already is a (commented out) line for the RasPi platform, which increases WAIT_TIME to 240 seconds.

 

Next version 1.4 of tpeap will make it very easy to permanently set this time-out without needing to edit the script. Stay tuned, I'm just finishing the manpage before it will be released.

༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
  0  
  0  
#16
Options
Re:Re: Omada EAP Controller 3.0.2 for Linux is here!
2018-08-22 13:29:02 - last edited 2019-03-06 01:55:43
The errors seems to be a one time thing. I rebooted the server today couple of times and the startup logs seems to be good/normal now.
  1  
  1  
#17
Options
Re:Omada EAP Controller 3.0.2 for Linux (including new tpeap v1.4)
2018-08-24 22:43:57 - last edited 2019-03-06 01:55:43

Works great ... did a clean install on a Pi.

 

I only get a 'General error' when try to bind it to TP-Link cloud. Any ideas?

  0  
  0  
#18
Options
Re: Omada EAP Controller 3.0.2 for Linux (including new tpeap v1.4)
2018-08-25 01:47:40 - last edited 2019-03-06 01:55:43

Pepijn wrote

I only get a 'General error' when try to bind it to TP-Link cloud. Any ideas?

 

Hello Pepijn,

 

I did hear this from another user already, but have no idea what could go wrong.

 

I tried to bind with the cloud server on my Debian and Raspbian systems and it did work, no matter wether I do so in the wizard (with or without a changed Controller name) or later in the Cloud menu and no matter wether I do it with a fresh install or after restoring the database with a dump from earlier versions.

 

It always worked fine w/o error message. This is a screenshot just made after binding a fresh install on my Raspbian Pi:

 

 

What did you do exactly to bind your TP-Link ID? Can you log into the cloud server directly using your TP-Link ID?

 

༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
  0  
  0  
#19
Options
Re:Re: Omada EAP Controller 3.0.2 for Linux (including new tpeap v1.4)
2018-08-25 07:21:37 - last edited 2019-03-06 01:55:43

I already had a working TP-Link ID, I bound a Windows controller earlier.

This morning I tried a fresh raspbian install and it works like charm now.

 

Thanks you for the quick response

  1  
  1  
#20
Options
Re:Omada EAP Controller 3.0.2 for Linux (including new tpeap v1.4)
2018-08-25 12:14:22 - last edited 2019-03-06 01:55:43

I also get "General Error"

Fresh install didn't solve it :-(

 

Grtz,
E-raser

  0  
  0  
#21
Options