<
WiFi
EAP Controller 2.5.3 for Linux
This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
EAP Controller 2.5.3 for Linux
This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
EAP Controller 2.5.3 for Linux
Posts: 4334
Helpful: 1039
Solutions: 173
Stories: 3
Registered: 2015-12-05
2017-11-04 08:57:08 - last edited 2021-03-30 03:55:41
Posts: 4334
Helpful: 1039
Solutions: 173
Stories: 3
Registered: 2015-12-05
EAP Controller 2.5.3 for Linux
2017-11-04 08:57:08 - last edited 2021-03-30 03:55:41
Tags:
Good news: EAP controller 2.5.3 for Linux just has been released and is available for download.
Bad news: it still lacks privilege separation and needs to run with root permissions. Very risky if you intend to use it on a public server!
Even more bad news: the start/stop script still checks for the root user by looking at the shell environment variable UID.
So any local, non-privileged user with access to the server can easily stop a running EAP controller by claiming to be root:
[CODE]$ cd /opt/tplink/EAPController/bin
$ ./control.sh stop
The script need root permission. Exit.
$ UID=0 ./control.sh stop
Stopping EAP Controller ...
Stop successfully.
$
[/CODE]
This is really annoying, since I filed not only a bug report, but also a fix to TP-Link on occasion of the release of version 2.4.8 already.
Bad news: it still lacks privilege separation and needs to run with root permissions. Very risky if you intend to use it on a public server!
Even more bad news: the start/stop script still checks for the root user by looking at the shell environment variable UID.
So any local, non-privileged user with access to the server can easily stop a running EAP controller by claiming to be root:
[CODE]$ cd /opt/tplink/EAPController/bin
$ ./control.sh stop
The script need root permission. Exit.
$ UID=0 ./control.sh stop
Stopping EAP Controller ...
Stop successfully.
$
[/CODE]
This is really annoying, since I filed not only a bug report, but also a fix to TP-Link on occasion of the release of version 2.4.8 already.
༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
#1
Options
- Copy Link
- Subscribe
- Bookmark
- Report Inappropriate Content
Thread Manage
Announcement Manage
13 Reply
Posts: 4
Helpful: 0
Solutions: 0
Stories: 0
Registered: 2018-09-07
Re:EAP Controller 2.5.3 for Linux
2017-11-06 20:03:30
Did you get it to work? I've upgrade mine from version 2.4.8, but it kept throwing java exceptions and the accesspoint was shown as disconnected, so I restored the directory from a backup. I've unfortunately not kept the logfile when uninstalling version 2.5.3 so I cannot give the exact exception. BTW, what you describe is not possible on CentOS 7, UID is a read-only variable:
[CODE]
sh-4.2# UID=0
sh: UID: readonly variable
[/CODE]
[CODE]
sh-4.2# UID=0
sh: UID: readonly variable
[/CODE]
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
#2
Options
- Copy Link
- Report Inappropriate Content
Thread Manage
Announcement Manage
Posts: 6
Helpful: 0
Solutions: 0
Stories: 0
Registered: 2017-09-28
Re:EAP Controller 2.5.3 for Linux
2017-11-06 21:58:19
Hmmmm could not find it on the website, can you post the link maybe?
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
#3
Options
- Copy Link
- Report Inappropriate Content
Thread Manage
Announcement Manage
Posts: 4334
Helpful: 1039
Solutions: 173
Stories: 3
Registered: 2015-12-05
Re:EAP Controller 2.5.3 for Linux
2017-11-06 23:47:50
bane4s wrote
Hmmmm could not find it on the website, can you post the link maybe?
Sure: http://static.tp-link.com/resources/software/EAP_Controller_v2.5.3_linux_x64.tar.gz
༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
#4
Options
- Copy Link
- Report Inappropriate Content
Thread Manage
Announcement Manage
Posts: 38
Helpful: 0
Solutions: 0
Stories: 0
Registered: 2017-03-19
Re:EAP Controller 2.5.3 for Linux
2017-11-07 00:30:01
Does your fix involve recompiling, or is it just a change in the start/stop scripts? If it's something I can do myself I'd love to do it until TP-Link gets off their collective duff to fix it. Thanks!
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
#5
Options
- Copy Link
- Report Inappropriate Content
Thread Manage
Announcement Manage
Posts: 6
Helpful: 0
Solutions: 0
Stories: 0
Registered: 2017-09-28
Re:EAP Controller 2.5.3 for Linux
2017-11-07 01:05:17
R1D2 wrote
Thanks I have got it and installed it already.
If you create a backup it will ask you to import it automatically, that's sweet :)
It seems that everything is in there except maps. This page now doesn't even have controls to import new map... could it be a bug.. will check if I can do something about it
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
#6
Options
- Copy Link
- Report Inappropriate Content
Thread Manage
Announcement Manage
Posts: 38
Helpful: 0
Solutions: 0
Stories: 0
Registered: 2017-03-19
Re:EAP Controller 2.5.3 for Linux
2017-11-07 01:12:27
Hmmm, I just did a fresh install of 2.5.3 and was able to put in my own map. The "Configure Maps" button in the upper right
looks disabled, but still functions normally. Click it, click the blue "(+) Add" button in the upper right of the dialog, then give your map a label and upload the file. I also trashed the default map :P
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
#7
Options
- Copy Link
- Report Inappropriate Content
Thread Manage
Announcement Manage
Posts: 6
Helpful: 0
Solutions: 0
Stories: 0
Registered: 2017-09-28
Re:EAP Controller 2.5.3 for Linux
2017-11-07 01:39:37
Yes. that works, but if you had multiple sites, the old maps are not backed, so you need to re-upload them again. Since I had other than "Default" site preselected, I had a blank screen... then I realized if I get back to Default site, then I see default map plus Configure Maps grey button as you described.
So... this issue is resolved, functionality is there, just maps needs to be included into backup as well.
So... this issue is resolved, functionality is there, just maps needs to be included into backup as well.
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
#8
Options
- Copy Link
- Report Inappropriate Content
Thread Manage
Announcement Manage
Posts: 38
Helpful: 0
Solutions: 0
Stories: 0
Registered: 2017-03-19
Re:EAP Controller 2.5.3 for Linux
2017-11-07 04:05:37
Good to know. Maps probably should be part of the backup, but I can see it causing file size or format issues with the config file (especially if you have, say, 10 maps each at ~300K, that balloons the config file from ~50K to ~3MB). They should just have something in the backup UI that says to make sure you save (and recreate) your maps separately, or just have a dedicated means to export/import that data.
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
#9
Options
- Copy Link
- Report Inappropriate Content
Thread Manage
Announcement Manage
Posts: 4334
Helpful: 1039
Solutions: 173
Stories: 3
Registered: 2015-12-05
Re:EAP Controller 2.5.3 for Linux
2017-11-07 09:53:59
DocJones wrote
Maps probably should be part of the backup,
Maps in /opt/tplink/EAPController/data/map are saved over an uninstall/install cycle if you answer 'y' to the question from uninstall.sh wether you want to save the DB. The DB backup file is saved in /opt/tplink/EAPController.
install.sh then will detect it and re-create the database including all maps. No need to save them in a config backup.
༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
#10
Options
- Copy Link
- Report Inappropriate Content
Thread Manage
Announcement Manage
Posts: 38
Helpful: 0
Solutions: 0
Stories: 0
Registered: 2017-03-19
Re:EAP Controller 2.5.3 for Linux
2017-12-02 02:40:35
That's fine for an uninstall/reinstall, but if you're migrating, or replacing a broken server, those files won't necessarily exist any more. They should have a UI-based means to export/back up the DB and maps.
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
#11
Options
- Copy Link
- Report Inappropriate Content
Thread Manage
Announcement Manage
Posts: 4334
Helpful: 1039
Solutions: 173
Stories: 3
Registered: 2015-12-05
2017-11-04 08:57:08 - last edited 2021-03-30 03:55:41
Posts: 4334
Helpful: 1039
Solutions: 173
Stories: 3
Registered: 2015-12-05
Information
Helpful: 0
Views: 3250
Replies: 13
Voters 0
No one has voted for it yet.
Tags
Related Articles
Linux EAP Controller
1919
0
Omada EAP controller for Linux
13579
0
EAP Controller on Linux host
1157
0
Omada EAP Controller Linux
1663
0
Report Inappropriate Content
Transfer Module
New message