![]() |
Re: [WIP] Prey - antitheft system
Yes. It seems slow on updating.
you can see in terminal if it got posted. info Sat, 07 Mar 2015 18:49:13 GMT [reports] Report gathered: status info Sat, 07 Mar 2015 18:49:13 GMT [control-panel] Posting data info Sat, 07 Mar 2015 18:49:14 GMT [control-panel] Got 200 response: OK |
Re: [WIP] Prey - antitheft system
Now. Create a system service
$ devel-su # nano -w /etc/systemd/system/prey-agent.service [Unit] Description=The Prey daemon. After=network.target [Service] ExecStart=/usr/lib/node_modules/prey/bin/prey WorkingDirectory=/usr/lib/node_modules/prey Restart=always RestartSec=15 User=prey Environment="TERM=dumb" "USER=prey" KillMode=process TimeoutStopSec=20 KillSignal=QUIT [Install] WantedBy=multi-user.target And start it # systemctl start prey-agent Enable it on boot # systemctl enable prey-agent |
Re: [WIP] Prey - antitheft system
It works now :).
|
Re: [WIP] Prey - antitheft system
[nemo@Jolla ~]$ devel-su
Password: [root@Jolla nemo]# systemctl start prey-agent Warning: Unit file of prey-agent.service changed on disk, 'systemctl daemon-reload' recommended. [root@Jolla nemo]# systemctl enable prey-agent [root@Jolla nemo]# |
Re: [WIP] Prey - antitheft system
Wonderful!
A lot is missing still. But, most important is location tracking. So. I can move on and create a first Alpha package for openrepos :) Thanks again buddy for helping. Also. Thank prey guys for making the changes to recignize Jolla on their side. |
Re: [WIP] Prey - antitheft system
After rebooting the phone - 10 seconds Prey found my phone and accurately (+ - 5 meters) showed my location! Nothing in the terminal I typed ...
|
Re: [WIP] Prey - antitheft system
That was the purpose of creating the prey-agent.service ;)
Now. When you set it to missing, you should get a report by email. Containing Location Hardware info Ip adress Wifi networks around And timestamps |
Re: [WIP] Prey - antitheft system
Quote:
|
Re: [WIP] Prey - antitheft system
Not sure what you are asking ?
It definately is supposed to show you location. Set device to missing is for mailing the report, once the device is located. |
Re: [WIP] Prey - antitheft system
Quote:
|
All times are GMT. The time now is 17:27. |
vBulletin® Version 3.8.8