Pharos Control 2.0.2 Linux Not Working
Pharos Control
https://www.tp-link.com/en/support/download/pharos-control/
Pharos Control 2.0.2 Linux Not Working
Pharos Control 2.0.0-1 Linux WORKING
Any suggestion?
- Copy Link
- Subscribe
- Bookmark
- Report Inappropriate Content
@Heujenthro Hi
A newer package has come to the fore, that is, Pharos Control 2.0.4-1.
Upgrade to the newer version to solve the problem.
This is what i found in the tp-link community support forum itself.
Step 1: Get the package
Start ftp from the command line, connect to my FTP server and download the Debian package PharosControl-2.0.4-1.deb:
$ ftp ftp.rent-a-guru.de
...
220 ftp.rent-a-guru.de FTP server ready.
Name (ftp.rent-a-guru.de:username): ftp
331 Anonymous login ok, send your complete email address as your password.
Password: yourmail
...
ftp> cd /private
ftp> bin
ftp> get PharosControl-2.0.4-1.deb
local: PharosControl-2.0.4-1.deb remote: PharosControl-2.0.4-1.deb
200 PORT command successful
...
226 Transfer complete.
17350818 bytes received in 6.89 secs (2.4012 MB/s)
ftp> quit
$
Check the SHA256 sum:
$ sha256sum -b PharosControl-2.0.4-1.deb
fdfd1c2f13939ce6094fe18ec936ed493c098339bdb8ee6fe5f9a0c753eeb8ad *PharosControl-2.0.4-1.deb
$
Step 2: Install the Package using dpkg
The community version of Pharos Control will be installed in the directory /opt/tplink/PharosControl. It does not overwrite nor remove an official TP-Link installation of Pharos Control 2.0.0 in directory /opt/pharoscontrol — both versions can co-exist as long as only one server is running at the same time.
To install Pharos Control 2.0.4, become root and run the following dpkg command:
$ su root
Password: yourpw
# dpkg --install PharosControl-2.0.4-1.deb
...
That's all. dpkg will install a start/stop script for starting the service at boot time and it will automatically start the Pharos Control server after the installation if a JRE could be found on your system. Now launch a web browser and go to http://yourhost:9321/ to access the web UI.
Should you want to remove the package for any reason, you can do so using the dpkg command:
# dpkg --remove PharosControl-2.0.4-1.deb
This removes everything except configuration files, which may avoid having to reconfigure the package if it is reinstalled again later. If you also would like to remove configuration files and the role account for Privilege Separation, run dpkg with option --purge instead of --remove.
Using the pharosctl utility to manage Pharos Control
Pharos Control also installs the utility pharosctl for managing the server. It supports the same commands as the start/stop script /etc/init.d/pharosctl does, but has even more commands and options.
Usage:
pharosctl [-hvwV] [-{W|S} sec] [-n nice] [-l {theme}] [-i file] command
where command is one of:
start start Pharos Control. See also options -w and -W.
stop stop Pharos Control.
restart restart Pharos Control. Sets option -w automatically.
status print curent status of Pharos Control.
shutdown gracefully stop Pharos Control.
list list active web sessions of Pharos Control.
kick [session] terminate an active web session of Pharos Control.
dump [file] create a dump of Pharos Control's database in file.
restore [file] restore a dump from file into Pharos Control's database.
theme [name] select theme name of Pharos Control.
reset reset Pharos Control to its factory settings.
Options are:
-h print this help message.
-v be verbose (prints startup messages).
-V print version of pharosctl, then exit.
-w wait for Pharos Control to become ready.
-W sec wait up to sec seconds for Pharos Control to become ready.
-S sec save sec as default wait time for option -w and exit.
-n nice set the nice value for Pharos Control (range -19 to 20).
-l themes list all installed themes for Pharos Control and exit.
-i file install given file as a new theme for Pharos Control and exit.
See the manpage pharosctl(8) for a detailed description of each command and option.
I hope this helps!
Ruskin
System admin | Apps4Rent
- Copy Link
- Report Inappropriate Content
RuskinF, thanks for pointing this out, but why didn't you just link to the post?
Please note that Pharos Control community version 2.0.4 is not newer than official version v2.0.2.
It's just the version numbering which got screwed up by TP-Link:
- Pharos Control community version 2.0.4 for Linux equals the Windows pendant v2.0.4 dated 2017-03-29.
- Official Pharos Control version 2.0.2 for Linux seems to equal the Windows pendant v2.0.6 dated 2019-03-13.
Also note that the community version is not endorsed nor supported by TP-Link officially.
Heujenthro, give me some time to check the new verison on Linux, maybe I can update an architecture-independent community version again.
- Copy Link
- Report Inappropriate Content
@RuskinF , Thanks for sharing this solution but i'm hesitated to use this version since it is not the official release by the tp-link support.
- Copy Link
- Report Inappropriate Content
@R1D2 , I would not implement this version yet uunless it will released officially by TP-Link support.
Do you know why Pharos Control version 2.0.2 for Linux didn't work?
I'm using Raspberry Pi 4 as my server.
- Copy Link
- Report Inappropriate Content
Heujenthro wrote
I would not implement this version yet uunless it will released officially by TP-Link support.
I will create a community version package anyway since the official version V2.0.2 still does not implement Privilege Separation, which is an absolute no-go for network services in the Linux ecosphere.
Do you know why Pharos Control version 2.0.2 for Linux didn't work?
Could be a wrong Java version probably. I have only a RasPi 3 to test and it works so far with Oracle's JRE8:
$ java -version
java version "1.8.0_65"
Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot(TM) Client VM (build 25.65-b01, mixed mode)
$ update-java-alternatives -l
jdk-8-oracle-arm32-vfp-hflt 318 /usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt
$
- Copy Link
- Report Inappropriate Content
@R1D2 , If that's the case, Pharos Control 2.0.2 Linux is not working on java openjdk version "11.0.6" 2020-01-14.
Hardware: Raspberry Pi 4
Where we can report this issues?
- Copy Link
- Report Inappropriate Content
@Heujenthro, see release notes:
2. Pharos Control only supports JRE1.7 and JRE1.8.
Just install Oracle JRE8 on the RasPi.
- Copy Link
- Report Inappropriate Content
@R1D2 , Unfortunately Raspberry Pi 4 has an error using JRE8.
Linux raspi4 4.19.93-v8+ #1290 SMP PREEMPT aarch64 GNU/Linux
Error:
$ java -version
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGBUS (0x7) at pc=0xf64c0828, pid=5910, tid=0xf616b460
#
# JRE version: (8.0_212-b01) (build )
# Java VM: OpenJDK Client VM (25.212-b01 mixed mode linux-aarch32 )
# Problematic frame:
# V [libjvm.so+0x15e828]
#
# Core dump written. Default location: /home/pi/core or core.5910
#
# An error report file with more information is saved as:
# /home/pi/hs_err_pid5910.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#
- Copy Link
- Report Inappropriate Content
Heujenthro wrote
Linux raspi4 4.19.93-v8+ #1290 SMP PREEMPT aarch64 GNU/Linux
Error:$ java -version
# JRE version: (8.0_212-b01) (build )
# Java VM: OpenJDK Client VM (25.212-b01 mixed mode linux-aarch32 )
You need to use Oracle Java Server or Client VM, not OpenJDK VM!
$ java -version
java version "1.8.0_181"
Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)
$
- Copy Link
- Report Inappropriate Content
@R1D2 , Where can i get that? Do you have a link to download?
- Copy Link
- Report Inappropriate Content
Information
Helpful: 0
Views: 5787
Replies: 21
Voters 0
No one has voted for it yet.