prey / prey-node-client

Node.js client for the Prey anti-theft software.
http://preyproject.com
GNU General Public License v3.0
330 stars 76 forks source link

Please add distro to known OS's #94

Closed nieldk closed 9 years ago

nieldk commented 9 years ago

Please add the Jolla phone, It works quite well if I fake Debian release. But spits out wrong OS by default: {~]$ lsb_release -ri Distributor ID: Mer Release: 0.2011

mauricioschneider commented 9 years ago

Hello @nieldk,

Not long ago we were contacted by the Jolla phone guys because they were porting our Android app to Sailfish OS. Does the Jolla phone has some sort of app store? If so, have you checked in there for the Prey app?

nieldk commented 9 years ago

I am aware that Jolla is working on a solution for antitheft. Possibly Prey. It is ~ a year ago I first started working on Prey for the Jolla phone. At the same time one of the Jolla engineers announced they were also working on a solution (not which) one. Since then, I have had a somewhat working implementation pushed (to openrepos.net) that another community member helpe by creating a GUI for (also published on openrepos.net). Now, Prey have moved on from the initial bash client, to this version based on nodejs. I have then crosscompiled nodejs to Jolla phone, and have (as said) this new version also partly working (can track phone location and a bare HW information). To answer your question. Jolla have their store, yes. They also support Android - somwhat limited, Android does not fully support all HW access of the device. So, while there is the Jolla store. There really are no core functionality to enable tracking of a stolen device available. At least native to the O/S (Sailfish OS, based on MER). This is why I am working on this, to create a native solution for Jolla phone (and the upcoming tablet). While I could temporarily change /etc/mer-release and fool a successfull registration of the device. This is not the way to go ;)

EDIT: added a screenshot to show it does somewhat work (at least for location)

image

mauricioschneider commented 9 years ago

It's great to know you're working on using Prey as a native anti-theft solution, we really appreciate it. I'll forward the request to our web panel developers and let you know as soon as the support for Mer has been added.

nieldk commented 9 years ago

Thanks. I (and I am sure many more) appreciate that.

ghost commented 9 years ago

@lemavri: We need to manage this better. There's no use in having to add each distro as they're reported.

Anything not listed should just be saved as "Linux." I can't see any problem with this approach. What do you think, @michelson?

mauricioschneider commented 9 years ago

@fanuneza I agree on a more advanced and automatic way of handling this, but I think this should be discussed in the proper repo.

michelson commented 9 years ago

Hola @fanuneza

This issue is scheduled to be fixed tomorrow, and is at the top of the queue :)

best

ghost commented 9 years ago

That's great news! Thanks, @michelson.

@lemavri: Absolutely. I just wanted @nieldk to know the status of the problem, and that's beyond Mer and Jolla :)

nieldk commented 9 years ago

Thanks all of You. This is indeed great news.

I can say one member of our community forum for Maemo and SailfishOS already had two devices stolen..... If he had ony had this solution, I believe he would have had a much better time :)

Best Regards Niel

On Wed, Mar 4, 2015 at 5:09 PM, Fabián Núñez notifications@github.com wrote:

That's great news! Thanks, @michelson https://github.com/michelson.

@lemavri https://github.com/lemavri: Absolutely. I just wanted @nieldk https://github.com/nieldk to know the status of the problem, and that's beyond Mer and Jolla :)

— Reply to this email directly or view it on GitHub https://github.com/prey/prey-node-client/issues/94#issuecomment-77187088 .

mauricioschneider commented 9 years ago

@nieldk, this was fixed a couple of minutes ago. Could you please verify if it's working and let us know how it goes? Thanks in advance!

nieldk commented 9 years ago

Super. I will do some testing the next days.

Thanks once more guys

Niel On Mar 6, 2015 5:59 PM, "Mauricio Schneider" notifications@github.com wrote:

@nieldk https://github.com/nieldk, this was fixed a couple of minutes ago. Could you please verify if it's working and let us know how it goes? Thanks in advance!

— Reply to this email directly or view it on GitHub https://github.com/prey/prey-node-client/issues/94#issuecomment-77593963 .

nieldk commented 9 years ago

Just wanted to let you know. First tests going well. Device registers. Service starts location working Report when missing sends: location, hw info, network info (ip and wifi)

Next steps

Packaging

Then make alerts, screenshots, camera - not necessarily in that order :)

Thanks again guys

/Niel On Mar 6, 2015 5:59 PM, "Mauricio Schneider" notifications@github.com wrote:

@nieldk https://github.com/nieldk, this was fixed a couple of minutes ago. Could you please verify if it's working and let us know how it goes? Thanks in advance!

— Reply to this email directly or view it on GitHub https://github.com/prey/prey-node-client/issues/94#issuecomment-77593963 .

explit7 commented 8 years ago

Please Add new Sailfish Versions to supported OS list:

https://github.com/prey/prey-node-client/issues/224

javo commented 8 years ago

Hello @explitit, We just have added Sailfish to the list of the supported OS's. Could you please verify if it's working properly and let us know how it goes? Thanks!

explit7 commented 8 years ago

Thanks, it works on the Jolla Tablet JT-1501 with Sailfish OS 2.0.2.48 (i486) now, but not on Fairphone 2 with Sailfish 2.0.2.48 (armv7hl) I get the same Invalid os: does not exist. Maybe you need additional information?

explit7 commented 8 years ago

lsb_release -ri gives me that:

Distributor ID: #Thisfileiscopiedashw-release(analogoustoos-release) Release: n/a [root@Sailfish nemo]#

explit7 commented 8 years ago

lsb_release (without -ri) gives me that:

LSB Version: :core-3.1-arm:core-3.1-noarch:core-3.2-arm:core-3.2-noarch:core-4.0-arm:core-4.0-noarch:desktop-3.1-arm:desktop-3.1-noar ch:desktop-3.2-arm:desktop-3.2-noarch:desktop-4.0-arm:desktop-4.0-noarch [root@Sailfish nemo]#

javo commented 8 years ago

@explitit, could you run the same command in your Jolla Tablet too? I believe that you're not able to install Prey in your device because that OS it's a modified version from the original and in order to achieve the installation you could directly modify the Kernel or I could parse this step in the client specially for this case, but I have to review this in more detail.

explit7 commented 8 years ago

Hm strange. This is the output from the Jolla Tablet:

lsb_release -ri Distributor ID: #Thisfileiscopiedashw-release(analogoustoos-release) Release: n/a [root@Sailfish nemo]# lsb_release LSB Version: :core-3.1-ia32:core-3.1-noarch:core-3.2-ia32:core-3.2-noarch:core-4.0-ia32:core-4.0-noarch:desktop-3.1-ia32:des ktop-3.1-noarch:desktop-3.2-ia32:desktop-3.2-noarch:desktop-4.0-ia32:desktop-4.0-noarch [root@Sailfish nemo]#

looks the same way. SailfishOS on the Fairphone 2 is not very modified version. Only the Hardware Adaptation is different, but all release dependig settings should be the same. unfortunately, i don't have the jolla C / intex Aquafish at the moment, but i can ask the guys on the talk.maemo.org forum to test ist on Jolla C.

explit7 commented 8 years ago

Ok. now i tested it again. i removed the Jolla Tablet from the prey add tryed to add it again from the comman line. And it didn't work! it worked the first time because i tryed to add the device with the android app! Adding a device from the command line doesn't work on tablet and on phone!

explit7 commented 8 years ago

Any news javo?

Thanks

javo commented 8 years ago

Hey @explitit Sorry, not yet. I'll let you know as soon as we got something.

explit7 commented 8 years ago

Thanks for the Info, javo. I will wait. Just say, if i can help you anyhow....

Thanks

Kind regards / Mit freundlichen Grüßen Pawel Radomychelski ExPLIT IT Solutions

On 24 August 2016 at 19:56, javo notifications@github.com wrote:

Hey @explitit https://github.com/explitit Sorry, not yet. I'll let you know as soon as we got something.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/prey/prey-node-client/issues/94#issuecomment-242153752, or mute the thread https://github.com/notifications/unsubscribe-auth/ALTaPEn2YPGOqkyzfF2TaNLlLs0prMMcks5qjIXWgaJpZM4DorJz .