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)

nieldk 2014-05-28 20:30

Re: [WIP] Prey - antitheft system
 
Quote:

Originally Posted by caprico (Post 1427077)
Good one :) That worked! Device is registered and shows up as Jolla on Prey profile. "No laptop-detect" still appears, but doesn't seem to influence the registration.

Code:

>> Registering device under account!

 -- Gathering system and hardware information...
which: no laptop-detect in (/bin:/sbin:/usr/bin:/usr/sbin:/sbin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/nemo/bin:/usr/share/prey/platform/linux/bin)
 -- Sending request to Control Panel...
 -- Got response status 201.
 -- Device succesfully registered! Applying configuration...
 -- All set. Assigned key is xxxxxx.
 -- Checking URL...

 == Verifying status...

...


good. Then at least we have a work-around, until I find a solution.
You should be able to 'upgrade' now

caprico 2014-05-28 20:35

Re: [WIP] Prey - antitheft system
 
I did that and everything works fine now. I've just sent you a thank-you donation. Keep up the great work!

nieldk 2014-05-28 22:29

Re: [WIP] Prey - antitheft system
 
Updated version avalable on openrepos which provides missing laptop-detect which caused an issue when registering first time.
Also, added requirement for fcron due to changes in the prey server supplied functions.

az2111 2014-05-29 00:01

Re: [WIP] Prey - antitheft system
 
Now it works great.
Thank you very much.

az2111

az2111 2014-05-29 09:04

Re: [WIP] Prey - antitheft system
 
I have installed version 0.6.2-6 from your post and register my device on prey succesfully.
could i now install version 0.6.3-2 from warehouse above?

caprico 2014-05-29 09:46

Re: [WIP] Prey - antitheft system
 
Quote:

Originally Posted by az2111 (Post 1427191)
I have installed version 0.6.2-6 from your post and register my device on prey succesfully.
could i now install version 0.6.3-2 from warehouse above?

1. Yes you can update your installed version - it won't erase registration

2. @nieldk already published a bug fix for the registration problem last night :)

parasemic 2014-05-29 11:39

Re: [WIP] Prey - antitheft system
 
Could anyone give me step by step instructions on how to install prey? I worked fine until last jolla patch and every dependance gives a different error...

prey requires sslney thingy, which requires libcrypto thingy which i cant even find...

az2111 2014-05-29 16:42

Re: [WIP] Prey - antitheft system
 
Did you use warehouse to install prey?

az2111 2014-05-29 16:50

Re: [WIP] Prey - antitheft system
 
Quote:

Originally Posted by HolgerN (Post 1417643)
I did some changed to the code of prey. You can found them here: https://github.com/holgern/prey-bash-client

Now Changing of excution intervall is possible! between 10min, 15min, 20min, 30min, 40min, 50min and 1 h.

This is done by 7 different timer files. prey-10min.timer, ... and prey-hourly.timer.


If the device is set to missing, then the excution is set to one of these time :10min, 15min, 20min, 30min, 40min, 50min. This can be done by setting Frequency of reports/actions in the prey control website.

After setting the device status to ok, the interval changes back to hourly.

I fixed a small bug with the screenshot, as it was not working for me.

To register my device i installed version 0.6.2-6 and than I installed version 0.6.3-2 from warehouse above.

How can i use the timers from quoted poste above?
Is it enough to create the new timer files and delete the old one or must i change some other files?

Thanks in advance.
Greets az2111

parasemic 2014-05-29 21:24

Re: [WIP] Prey - antitheft system
 
Quote:

Originally Posted by az2111 (Post 1427247)
Did you use warehouse to install prey?

yes i did and i have repo enablec etc...


All times are GMT. The time now is 17:43.

vBulletin® Version 3.8.8