![]() |
Re: Prey antitheft for Jolla
Quote:
Quote:
My Jolla Phone JP-1301 with Sailfish 2.0.2.45 runs well with Prey, but the same OS Version on the Tablet don't..... It must be something very small to change.... |
Re: Prey antitheft for Jolla
Quote:
I had them add this for Jolla 1, by submitting on their github pages. |
Re: Prey antitheft for Jolla
Quote:
Maybe you can be our hero again, Niel? Thank you! |
Re: Prey antitheft for Jolla
Quote:
After registration, restore to original. |
Re: Prey antitheft for Jolla
Quote:
I replaced /etc/mer-release on My Tablet with /etc/mer-release from my Jolla Phone (where the installation run fine) - but get the same error: Invalid os.... does not exist..... |
Re: Prey antitheft for Jolla
The girl from the prey customer support answered, that she would forward my request to the development team. I don't know if the help us and how long it would take, but its at least better as nothing....
|
Re: Prey antitheft for Jolla
Some news here? Somebody activated prey on Jolla C / Tablet / FP2 or other devices ?
I can confirm: Installation not working on: Jolla Tablet / SF 2.0.2.48 i486 Fairphone 2 / SF 2.0.2.48 armv7hl So the problem is NOT the i486 Architecture, its a mer or Sailfish Version, which is not supported.... Error! Invalid os: does not exist. |
Re: Prey antitheft for Jolla
Found on a prey forum, that the command lsb_release can have something to do with our problem. I made an request on github, no idea, if it is the right place, and if some prey developer will see it there....
|
Re: Prey antitheft for Jolla
Quote:
|
Re: Prey antitheft for Jolla
https://github.com/prey/prey-node-client/issues/224
I made a new issue on prey github here. Feel free to edit or change it, if this is needed. Lets hope, they will react... |
Re: Prey antitheft for Jolla
I installed prey last week on a Jolla phone, recently cleared and reinstalled. The installation of Prey worked like a charm.
But today it appeared Prey did not see my Jolla for 4 days. I opened the terminal, and entered "prey". Unknown command. So I did the installation process again (and it worked like a charm again). But strange it is... |
Re: Prey antitheft for Jolla
Quote:
2.0.1.11 worked for me 2.0.2.4x and 2.0.3.1x - not working |
Re: Prey antitheft for Jolla
On 2.0.3.14 here it's working
|
Re: Prey antitheft for Jolla
Quote:
On my Jolla 1 it also working on 2.0.3.14 but if you try to install it on fresh device with 2.0.2 or 2.0.3 it will fail. |
Re: Prey antitheft for Jolla
Well, I'm still on Taalojarvi 2.01.11. It is working now.
|
Re: Prey antitheft for Jolla
I figured a workaround out. The issue is really not with Prey, but with Jolla lsb_release files are not correct
specifically, we need to change the file Code:
/etc/hw-release Code:
Mer release 02011 Jolla |
Re: Prey antitheft for Jolla
btw, what the status of missing features? i am interested in implementing em.
|
Re: Prey antitheft for Jolla
Quote:
Should also return oinfo on connected networks (wlan). |
Re: Prey antitheft for Jolla
Quote:
Thank you very much, Niel! The solution was only one line away.... |
Re: Prey antitheft for Jolla
1 Attachment(s)
Quote:
Added a screenshot of a report that is send when device is set as missing |
Re: Prey antitheft for Jolla
1 Attachment(s)
I have updated nodejs.
And, Prey have updated their nodejs version. There are some small things to be aware of, when trying to update Prey to the latest version thru npm with the new version. Primarily, they now are using Sqlite for some things. So, in order to get new version of Prey installed, here is a smmall how-to: First, uninstall prey. Code:
sudo npm remove prey -g --unsafe-perm Either download, and use rpm, pkcon install-local or, add my repository. Update npm to latest version: Code:
sudo npm install npm@latest -g Code:
sudo npm install nan -g --unsafe-perm Code:
sudo npm install prey -g --unsafe-perm Add systemd services, if you want to enable it by default Code:
sudo nano /etc/systemd/system/prey-agent.service Code:
[Unit] Code:
sudo nano /etc/sudoers.d/50_prey_switcher Code:
prey ALL = NOPASSWD: /bin/su [A-z]*, !/bin/su root*, !/bin/su -*, /usr/sbin/iwlist Code:
sudo systemctl daemon-reload Code:
sudo systemctl enable prey-agent |
Re: Prey antitheft for Jolla
Hi Neil,
I've got so much trust in the stuff you make for us, I'm happy to install things unsafe. :) Things worked well up to the point of installing prey itself: Code:
[root@Sailfish nemo]# sudo npm install prey -g --unsafe-perm |
Re: Prey antitheft for Jolla
Rob: its trying to build the binaries.
you need to install make, gcc and g++ |
Re: Prey antitheft for Jolla
So pkcon install make, pkcon install gcc, pkcon install g++?
|
Re: Prey antitheft for Jolla
Quote:
make gcc gcc-c++ |
Re: Prey antitheft for Jolla
Perhaps time has come to gather all updated instructions for installation in one, clear and accurate document.
|
Re: Prey antitheft for Jolla
Or a installation file that does/have everything in it/gets it and installs it. :)
|
Re: Prey antitheft for Jolla
I'm asking, how to do this on Jolla Tablet...
The new Nodejs Version is only armv7hl |
Re: Prey antitheft for Jolla
Quote:
After holidays i will try to get this to build on i486. Posibly i will make an rpm package of prey. |
Re: Prey antitheft for Jolla
Quote:
Code:
[root@Sailfish nemo]# pkcon install gcc Thanks, Rob |
Re: Prey antitheft for Jolla
pkcon install make gcc gcc-c++
|
Re: Prey antitheft for Jolla
Hi,
I have installed Prey, it shows up in my account correctly. Afterwards in the control panel it tells me i am unable to reach the device. Looking at the log PREY 1.6.6 spreads its wings! Current time: Sat Mar 18 2017 20:10:08 GMT+0800 (PHT) Running with PID 3676 as prey over Node.js v4.2.2 on a arm linux system (undefined) info Sat, 18 Mar 2017 12:10:08 GMT [actions] Starting action: geofencing info Sat, 18 Mar 2017 12:10:09 GMT [actions] Running: geofencing info Sat, 18 Mar 2017 12:10:09 GMT Plugin loaded: control-panel info Sat, 18 Mar 2017 12:10:09 GMT 1 plugins loaded with 0 errors. info Sat, 18 Mar 2017 12:10:09 GMT Initialized. info Sat, 18 Mar 2017 12:10:09 GMT [triggers] Watching: connection, network, power info Sat, 18 Mar 2017 12:10:09 GMT [actions] Starting trigger: connection info Sat, 18 Mar 2017 12:10:09 GMT [actions] Running: connection info Sat, 18 Mar 2017 12:10:09 GMT [actions] Starting trigger: network info Sat, 18 Mar 2017 12:10:09 GMT [actions] Starting trigger: power error Sat, 18 Mar 2017 12:10:09 GMT Error: Network seems to be down. Check your connection and try again. info Sat, 18 Mar 2017 12:10:09 GMT [actions] Stopped: geofencing warn Sat, 18 Mar 2017 12:10:09 GMT [control-panel] Unable to sync settings. error Sat, 18 Mar 2017 12:10:09 GMT [network] Connection error: Error: getaddrinfo ENOTFOUND solid.preyproject.com solid.preyproject.com:443 info Sat, 18 Mar 2017 12:10:09 GMT [actions] Failed: network -> ENOENT - Command not found: /usr/bin/dbus-monitor error Sat, 18 Mar 2017 12:10:09 GMT Error: ENOENT - Command not found: /usr/bin/dbus-monitor info Sat, 18 Mar 2017 12:10:09 GMT [control-panel] Posting response info Sat, 18 Mar 2017 12:10:09 GMT [actions] Failed: power -> ENOENT - Command not found: /usr/bin/dbus-monitor error Sat, 18 Mar 2017 12:10:09 GMT Error: ENOENT - Command not found: /usr/bin/dbus-monitor info Sat, 18 Mar 2017 12:10:09 GMT [control-panel] Posting response info Sat, 18 Mar 2017 12:10:09 GMT [control-panel] Got error: Network seems to be down. Check your connection and try again. info Sat, 18 Mar 2017 12:10:09 GMT [control-panel] Got error: Network seems to be down. Check your connection and try again. error Sat, 18 Mar 2017 12:10:24 GMT [network] Connection error: Error: getaddrinfo ENOTFOUND solid.preyproject.com solid.preyproject.com:443 error Sat, 18 Mar 2017 12:10:40 GMT [network] Connection error: Error: getaddrinfo ENOTFOUND solid.preyproject.com solid.preyproject.com:443 error Sat, 18 Mar 2017 12:10:55 GMT [network] Connection error: Error: getaddrinfo ENOTFOUND solid.preyproject.com solid.preyproject.com:443 error Sat, 18 Mar 2017 12:11:10 GMT [network] Connection error: Error: getaddrinfo ENOTFOUND solid.preyproject.com solid.preyproject.com:443 error Sat, 18 Mar 2017 12:11:25 GMT [network] Connection error: Error: getaddrinfo ENOTFOUND solid.preyproject.com solid.preyproject.com:443 error Sat, 18 Mar 2017 12:11:40 GMT [network] Connection error: Error: getaddrinfo ENOTFOUND solid.preyproject.com solid.preyproject.com:443 error Sat, 18 Mar 2017 12:11:55 GMT [network] Connection error: Error: getaddrinfo ENOTFOUND solid.preyproject.com solid.preyproject.com:443 error Sat, 18 Mar 2017 12:12:10 GMT [network] Connection error: Error: getaddrinfo ENOTFOUND solid.preyproject.com solid.preyproject.com:443 error Sat, 18 Mar 2017 12:12:25 GMT [network] Connection error: Error: getaddrinfo ENOTFOUND solid.preyproject.com solid.preyproject.com:443 error Sat, 18 Mar 2017 12:12:40 GMT [network] Connection error: Error: getaddrinfo ENOTFOUND solid.preyproject.com solid.preyproject.com:443 error Sat, 18 Mar 2017 12:12:55 GMT [network] Connection error: Error: getaddrinfo ENOTFOUND solid.preyproject.com solid.preyproject.com:443 error Sat, 18 Mar 2017 12:13:10 GMT [network] Connection error: Error: getaddrinfo ENOTFOUND solid.preyproject.com solid.preyproject.com:443 this is regardless if i use wlan or wan, If i visit solid.preyproject.com/test everything comes back green Any thoughts would be appreciated. |
Re: Prey antitheft for Jolla
Did you follow steps from here ?
http://talk.maemo.org/showpost.php?p...4&postcount=61 |
Re: Prey antitheft for Jolla
Quote:
The requested URL /obs/home:/nielnielsen/sailfish_latest_armv7hl/armv7hl/nodejs-6.9.2-10.2.1.jolla.armv7hl.rpm was not found on this server. |
Re: Prey antitheft for Jolla
Quote:
|
Re: Prey antitheft for Jolla
Not Found
The requested URL /obs/home:/nielnielsen/sailfish_latest_armv7hl/armv7hl/nodejs-6.9.2-10.3.1.jolla.armv7hl.rpm was not found on this server. => http://repo.merproject.org/obs//home...la.armv7hl.rpm (not working, by the way: npm command is missing) |
Re: Prey antitheft for Jolla
Hi :)
On Sailfish X i get Code:
info Tue, 13 Feb 2018 14:09:27 GMT [reports] Report gathered: specs |
Re: Prey antitheft for Jolla
Quote:
|
Re: Prey antitheft for Jolla
Quote:
http://talk.maemo.org/showpost.php?p...4&postcount=61 |
Re: Prey antitheft for Jolla
Quote:
Running it as root user works, but is not what is intended. Running as prey user via systemd or manuall will result in no network. The user prey doesn't have network access as testet with ping as user prey: Code:
bash-4.4$ ping 8.8.8.8 EDIT: added user prey to group inet via: gpasswd -a prey inet and now user prey has network connection.. Testing again ;) Edit: Tested: devie is now conneted in Webinterface.. seems to work.. But location is just plain wrong. I have GPS activated an poormaps open which has right Location, but Prey always thinks im in Kassel, germany.. Adding user prey to group gps didn't fixed this.. sad :( Prey console with : get location doesn't output anything.. so it can't set the location.. .. BTW: tested sudo with user prey and it still requests me to type a password for iwlist, but i created the file under sudoers.d as you said. :( |
All times are GMT. The time now is 11:39. |
vBulletin® Version 3.8.8