![]() |
Re: [WIP] Prey - antitheft system
Good progress
the way I worked around some dependencies issues in n9[50] is to write small pyside/Qt programs for the missing features. The prey modules were modified to use these instead of the default ones. I had written programs for geolocation, take photo/video, show alert message & play alarm sound if you are interested I can try to port these programs to Sailfish or give you the source code. I cannot do any testing as I don't have a sailfish device. |
Re: [WIP] Prey - antitheft system
Hello!
I have just reinstalled prey after a full reinstall o f my Jolla phone, but prey.service and prey.timer are not present into /etc/systemd/system/ Is it a know issue or not ? |
Re: [WIP] Prey - antitheft system
Quote:
|
Re: [WIP] Prey - antitheft system
Quote:
I updated with zypper, so I didnt see this, but I will look into the issue |
Re: [WIP] Prey - antitheft system
Prey cannot be installed anymore with the SSL update
|
Re: [WIP] Prey - antitheft system
Update version to 0.6.3 released by preyproject
https://openrepos.net/content/nieldk/prey |
Re: [WIP] Prey - antitheft system
I still cant install it
|
Re: [WIP] Prey - antitheft system
you ;still; need my openssl for the perl modules
When I get a bit of time I will recompile my applications that depends on my openssl to work with stock Jolla version, but since this will wreck my phone very likely - it wont happen just now. So, install my openssl (1.0.1g) and it will work for you. |
Re: [WIP] Prey - antitheft system
I already have it installed
|
Re: [WIP] Prey - antitheft system
wonder if I should add a functionality like this
Quote:
|
Re: [WIP] Prey - antitheft system
A small status update on my client. Most likely its coming out in some update after summer holidays (if no major issues are found during testing).
Currently working: - remotelock - remotewipe - remotebrick - screenshot - frontal camera shot - alert message on screen - alarm sound as 100% volume level - GPS location - wifi accesspoints - traceroute - running programs - get addressbook - get battery level - get active connections |
Re: [WIP] Prey - antitheft system
Quote:
|
Re: [WIP] Prey - antitheft system
So how do i install this? :( i have openssl installed but i still get the error about perl-net-ssleay
|
Re: [WIP] Prey - antitheft system
Quote:
https://openrepos.net/content/nieldk/perl-net-ssleay and https://openrepos.net/content/nieldk/perl-io-socket-ssl |
Re: [WIP] Prey - antitheft system
Quote:
|
Re: [WIP] Prey - antitheft system
Quote:
that may just be easier, it will install all the needed stuff (by enabling my repo, which I kinda believe you didnt do) |
Re: [WIP] Prey - antitheft system
Quote:
|
Re: [WIP] Prey - antitheft system
I could not add my device to prey.
In the terminal it says: Got response status 422 Could not add this device to your account. Make sure you have available slots! I have no devices in my prey account. What should i do? |
Re: [WIP] Prey - antitheft system
Quote:
2 check that you entered the correct API key in config file |
Re: [WIP] Prey - antitheft system
I have an account and there are no devices in it.
See picture: http://picload.org/image/lccrpld/prey.jpg I installed prey via warehouse, than preyui via warehouse and than pyotherside via console. I tried it again. But i got response status 503 or 422. |
Re: [WIP] Prey - antitheft system
Same problem here:
Code:
-- Looking for connection... -I verified the API key |
Re: [WIP] Prey - antitheft system
I hope you could help us. what are we doing wrong?
|
Re: [WIP] Prey - antitheft system
well, I will look at this, the culpritt is
"which: no laptop-detect in" I am not sure why you have this issue, I just had to completely reinstall my device, and I didnt have this issue. |
Re: [WIP] Prey - antitheft system
Quote:
@az2111: What message do you get when opening prey.sh via terminal next to response status 422? |
Re: [WIP] Prey - antitheft system
could you try to uninstall prey, and then re-install ?
I have no "laptop-detect" on my system ... |
Re: [WIP] Prey - antitheft system
Just did that (re-install) that and updated the config file with my information. Running /usr/share/prey/prey.sh --check gave back the same "no laptop-detected in..." and 422 status messages like previously.
I wonder if it has to do something with my new Prey account. I set it up just yesterday (didn't have one previously). On Prey Help Center someone with status responce 422 connection error got following answer: "Now, the reason why Prey is having trouble registering your device is because it’s trying to call a function that, for some reason, hasn’t been loaded (full_hardware_params). " Unfortunately I can't do anything with that answer ;) EDIT: I'll try it out on another Sailfish device. Let's see what happens there. EDIT2: Ok, tested it with another Sailfish device (fresh install) and got the same problem. |
Re: [WIP] Prey - antitheft system
1 Attachment(s)
hmm seems they made a few changes serverside.
Can you try to change the device type to "tablet" (se screenshot) |
Re: [WIP] Prey - antitheft system
Thanks again for your answer. The problem is that no new device (Jolla) was added to my profile. So I can't change any configurations. I set up a computer with the official client - that worked well.
The option "Add device" just sends me to a link where I can download various clients (I was hoping to see an option there to manually set up a device). So it indeed seems that due to some server changes, new Prey users can't register a Sailfish device anymore. |
Re: [WIP] Prey - antitheft system
Quote:
Direct link to rpm package (install in terminal) https://openrepos.net/sites/default/...-6.armv7hl.rpm |
Re: [WIP] Prey - antitheft system
Quote:
Code:
>> Registering device under account! |
Re: [WIP] Prey - antitheft system
Quote:
You should be able to 'upgrade' now |
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!
|
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. |
Re: [WIP] Prey - antitheft system
Now it works great.
Thank you very much. az2111 |
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? |
Re: [WIP] Prey - antitheft system
Quote:
2. @nieldk already published a bug fix for the registration problem last night :) |
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... |
Re: [WIP] Prey - antitheft system
Did you use warehouse to install prey?
|
Re: [WIP] Prey - antitheft system
Quote:
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 |
Re: [WIP] Prey - antitheft system
Quote:
|
All times are GMT. The time now is 17:41. |
vBulletin® Version 3.8.8