maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   [WIP] Prey - antitheft system (https://talk.maemo.org/showthread.php?t=92829)

sandy_locke 2014-11-24 10:38

Re: [WIP] Prey - antitheft system
 
Quote:

Originally Posted by nieldk (Post 1448918)
I don't think this question is out of place at all!

Actually, running the standalone version on own server opens more options.



install standalone version on your server, have a look here:

https://github.com/prey/prey-standal...ster/README.md


Thank you ! So basically the phone will only ping to my server and my server only to handle all Prey features ? I assume that you have to install the standalone version + the control panel for it to work correctly, am I right ?

nieldk 2014-11-24 11:38

Re: [WIP] Prey - antitheft system
 
Quote:

Originally Posted by sandy_locke (Post 1449064)
Thank you ! So basically the phone will only ping to my server and my server only to handle all Prey features ? I assume that you have to install the standalone version + the control panel for it to work correctly, am I right ?

I will do some testing on this.
But yes, install those on your server, and make the changes in prey config file on phone, so that it pings your server.
Given the very positive reply to my fundraiser, I will definately look more into a more complete solution to enable all features, and possibly think of what else could be handy.
I also would like to figure out a way to secure the phone - the services - so that it hopefully can be more 'tricky' for a thief to disable prey.

sandy_locke 2014-11-27 17:50

Re: [WIP] Prey - antitheft system
 
@nieldk : at last, you made those anti-theft systems really interesting for Jolla users. Thanks !

CepiPerez 2015-01-19 16:43

Re: [WIP] Prey - antitheft system
 
Too bad I've missed this app when I had my jolla.
Can you tell me how does it works? How does it checks if the phone is missing?

nodevel 2015-01-19 17:01

Re: [WIP] Prey - antitheft system
 
Quote:

Originally Posted by CepiPerez (Post 1457277)
Too bad I've missed this app when I had my jolla.

Oh, you lost it? :( Sorry to hear that.
I thought you were about to get one around this time. Was it that one?

Quote:

Originally Posted by CepiPerez (Post 1457277)
Can you tell me how does it works? How does it checks if the phone is missing?

See http://preyproject.com/ for more info.

By the way, rainisto has mentioned that Jolla plans to officially integrate it into SailfishOS.

nieldk 2015-01-19 17:13

Re: [WIP] Prey - antitheft system
 
I have just build nodejs. https://build.merproject.org/package...nielsen/nodejs
So, You can now install the newest version (1.3.6) with npm as instructed here:
https://github.com/prey/prey-node-cl...ster/README.md
It still not 100% good, but you can track the device, get reports and more.

CepiPerez 2015-01-19 19:35

Re: [WIP] Prey - antitheft system
 
Thanks for the info.
It was stolen, like my n9 and my old notebook. Yes, I have bad luck in excess.

I know what it does, but I'm wondering if what happen if I sent a signal to phone when it's disconnected from internet.
Does it get the signal when it's connected or I need to send signals til I get it?

I was planing to make an anti-thief app that checks in a web page if it's a stolen phone when active connection, and starts the magic by itself.
Of course, it was before I know there's already an app for this.

J4ZZ 2015-01-19 20:14

Re: [WIP] Prey - antitheft system
 
Quote:

Originally Posted by nieldk (Post 1457283)
I have just build nodejs. https://build.merproject.org/package...nielsen/nodejs
So, You can now install the newest version (1.3.6) with npm as instructed here:
https://github.com/prey/prey-node-cl...ster/README.md
It still not 100% good, but you can track the device, get reports and more.

There is no /usr/share/prey/config when using npm for installing 1.3.6.
Am I missing something? Also no services were installed...

Edit: found /etc/prey/prey.conf but there is no option to set email and smpt server... :(

Any help would be nice... :)

tia

nieldk 2015-01-19 20:31

Re: [WIP] Prey - antitheft system
 
1 Attachment(s)
Quote:

Originally Posted by J4ZZ (Post 1457309)
There is no /usr/share/prey/config when using npm for installing 1.3.6.
Am I missing something?

tia

Yes ;) The new prey uses a commandline configuration script (node)

Code:

[nemo@Jolla ~]$ prey config account

  Usage: cli.js config account [command]

  setup          Starts interactive command-line account setup.
  authorize      Validates auth credentials, and stores API key if authorized.
  verify        Verifies API & Device keys, optionally saving them to config.
  signup        Signs up for a new Prey account.

You can also play with

Code:

[nemo@Jolla ~]$ prey prey console
So, basically,
prey config account setup will ask you for your account credentials, and set up the configuration

J4ZZ 2015-01-19 20:33

Re: [WIP] Prey - antitheft system
 
Brilliant, thanks a lot.

How about the prey service, do I need to make one myself?


All times are GMT. The time now is 03:02.

vBulletin® Version 3.8.8