Prerequisite:
Static Ip
QJDK8.qpkg
traccar.qpkg
ssh enable on qnap
sftp - ssh client (filezilla, putty, winscp, kittty etc.)
Text editor
Steps:
install qjdk 8 (which is you need)
install traccar qpkg (which is you need)
connect your modem UI and add 2 port forward
port forward on modem 5055 for client
port forward on modem 18082 for manager
Connect qnap sftp and edit traccar.xml (/share/CACHEDEV1_DATA/.qpkg/traccar or etc.)
add <entry key='osmand.port'>5055</entry>
in traccar.xml
stop traccar on qnap
start traccar on qnap
login qnap with ssh (putty, kitty)
use this command lsof -i -P -n | grep java
you need to see that
java 9431 admin 146u IPv4 106456 0t0 TCP *:18082 (LISTEN)
java 9431 admin 195u IPv4 105429 0t0 TCP *:5055 (LISTEN)
If you see that ports is in LISTEN mode, then go to server settings.
Server:
You can connect on web interface http://qnapLocalIpaddress/traccer
server setup http://qnapLocalIPadress:18082
first login, create a user or use admin
admin
(change admin password and email address)
add client on server
Client:
Install Traccar.apk
give device ID (gsm number, data line number as a uniq ID or random number)
http://qnapLocalIpaddress:5055
start service.
tips:
do not use same "entry keys" in other config files. delete or disable it same code line <-- <entry key='osmand.port'>5055</entry> -->
do not use modify button in http://qnapLocalIpaddress/traccer, do not change server config in web interface
Prerequisite:
Static Ip
QJDK8.qpkg
traccar.qpkg
ssh enable on qnap
sftp - ssh client (filezilla, putty, winscp, kittty etc.)
Text editor
Steps:
install qjdk 8 (which is you need)
install traccar qpkg (which is you need)
connect your modem UI and add 2 port forward
port forward on modem 5055 for client
port forward on modem 18082 for manager
Connect qnap sftp and edit traccar.xml
(/share/CACHEDEV1_DATA/.qpkg/traccar or etc.)
add
<entry key='osmand.port'>5055</entry>
in traccar.xmlstop traccar on qnap
start traccar on qnap
login qnap with ssh (putty, kitty)
use this command
lsof -i -P -n | grep java
you need to see that
java 9431 admin 146u IPv4 106456 0t0 TCP *:18082 (LISTEN)
java 9431 admin 195u IPv4 105429 0t0 TCP *:5055 (LISTEN)
If you see that ports is in LISTEN mode, then go to server settings.
Server:
You can connect on web interface http://qnapLocalIpaddress/traccer
server setup http://qnapLocalIPadress:18082
first login, create a user or use
admin
admin
(change admin password and email address)add client on server
Client:
Install Traccar.apk
give device ID (gsm number, data line number as a uniq ID or random number)
http://qnapLocalIpaddress:5055
start service.
tips:
do not use same "entry keys" in other config files. delete or disable it same code line
<-- <entry key='osmand.port'>5055</entry> -->
do not use modify button in http://qnapLocalIpaddress/traccer, do not change server config in web interface