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-03-18 10:51

Re: [WIP] Prey - antitheft system
 
Quote:

Originally Posted by juiceme (Post 1417398)
Well, PREY is not your normal "userland application", it is more a feature of the OS, so no wonder it is run over when core OS is updated :D

That will happen in the future again, too, unless Prey is made into integral part of the OS... :D

May well be so, at least sources were asked for.

But yes, you will need to re-install prey and related packages again after upgrade.

Even though my repo is 'down' until further, you are still able to download packages manually and install locally using zypper.

solbrit 2014-03-18 11:17

Re: [WIP] Prey - antitheft system
 
And after downloading and installing said packages you can try the ui I made:

openrepos.net/content/solbrit/preyui

It's a basic settings ui for those afraid of config file editing in dark, scary terminal windows.

- It requires pyotherside.
- At the moment registration takes a while (because prey.sh pauses for x seconds). Ideally a progressbar should be put in there.
- The status output is raw console output and could be cleaned up and displayed differently to be easier to read. I'll get around to that.

EDIT - rpm is moved to OpenRepos

droll 2014-03-18 11:19

Re: [WIP] Prey - antitheft system
 
is it? i have a custom file in /etc/systemd/system - see http://talk.maemo.org/showthread.php?t=92736

and it still works after i updated my phone this morning.

rainisto 2014-03-18 12:08

Re: [WIP] Prey - antitheft system
 
Update does not remove any packages. My quess is that you accidentally removed it, or the package had some depencies that were conflicting on system update.

And, yes, integrated version is beeing tested internally, so it is coming at some point.

pizzulicchio 2014-03-18 13:28

Re: [WIP] Prey - antitheft system
 
Good day Nieldk!
I hope that you re-up your repo soon.

I have too many dependecies failed for reinstalling prey using zypper
(libcrypto.so.1.0.0 missing.. )

nieldk 2014-03-18 13:43

Re: [WIP] Prey - antitheft system
 
Quote:

Originally Posted by pizzulicchio (Post 1417433)
Good day Nieldk!
I hope that you re-up your repo soon.

I have too many dependecies failed for reinstalling prey using zypper
(libcrypto.so.1.0.0 missing.. )

You need these packages:
openssl-1.0.1f-1.armv7hl.rpm (https://openrepos.net/sites/default/files/packages/500/openssl-1.0.1f-1.armv7hl.rpm)
net-ssleay-1.58-2.armv7hl.rpm (https://openrepos.net/sites/default/...-2.armv7hl.rpm)
io-socket-ssl-1.967-2.armv7hl.rpm (https://openrepos.net/sites/default/...-2.armv7hl.rpm)
fbcat-0.3-0.armv7hl.rpm (https://openrepos.net/sites/default/...-0.armv7hl.rpm)
imagemagick-6.8.8-7.armv7hl.rpm (https://openrepos.net/sites/default/...-7.armv7hl.rpm)
prey-0.6.2-6.armv7hl.rpm (https://openrepos.net/sites/default/files/packages/not%20yet%20assigned/prey-0.6.2-6.armv7hl.rpm)

solbrit 2014-03-19 03:08

Re: [WIP] Prey - antitheft system
 
Updated the ui:

v0.1-2

- Added start/stop button for prey.service

- Moved settings and registration buttons to pulldown menu

- No buttons except status work without setting correct root password first

openrepos.net/content/solbrit/preyui

nieldk 2014-03-19 05:09

Re: [WIP] Prey - antitheft system
 
Quote:

Originally Posted by solbrit (Post 1417580)
Updated the ui:

v0.1-2

- Added start/stop button for prey.service

- Moved settings and registration buttons to pulldown menu

- No buttons except status work without setting correct root password first

openrepos.net/content/solbrit/preyui



Very good work, and many thanks for making this a more complete solution :) Love You :)

solbrit 2014-03-19 09:56

Re: [WIP] Prey - antitheft system
 
Hmm, I somehow lost track of prey.timer when updating the ui. I'm adding it to the start/stop button to enable/disable .timer and .service simultaneously. This should make more sense seeing as how disabling .service only won't keep it from running when called by timer, right? Correct me if I'm wrong...

HolgerN 2014-03-19 11:09

Re: [WIP] Prey - antitheft system
 
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.


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

vBulletin® Version 3.8.8