User:Marcus/Prey
m (Reverted edits by 191.101.217.31 (Talk) to last revision by sixwheeledbeast) |
|||
(14 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
+ | ==Forum topic== | ||
+ | http://talk.maemo.org/showthread.php?p=1021829 | ||
+ | |||
==Prey== | ==Prey== | ||
- | + | [[:wikipedia:Prey_(software)|Prey article at Wikipedia]] | |
Prey is a free and open source laptop tracking software developed by Fork Ltd, that helps recover computers by tracing their location through the remote retrieval of information. The software is activated from the outside by using a URL as a checking method, and phones home by sending a detailed report either to a centralized control panel or directly to the computer owner's mailbox. | Prey is a free and open source laptop tracking software developed by Fork Ltd, that helps recover computers by tracing their location through the remote retrieval of information. The software is activated from the outside by using a URL as a checking method, and phones home by sending a detailed report either to a centralized control panel or directly to the computer owner's mailbox. | ||
Line 9: | Line 12: | ||
The application was originally released for Linux and Mac OS X on March 24, 2009, and on April 19, 2009 the Windows port was released as well. The current stable release is 0.5.3. | The application was originally released for Linux and Mac OS X on March 24, 2009, and on April 19, 2009 the Windows port was released as well. The current stable release is 0.5.3. | ||
+ | |||
+ | ==General== | ||
+ | Basically I've modified the source of Prey to make most of its features work for the N900. | ||
+ | Since it's been a little trial-and-error procedure, I might have forgot some dependencies. But you will figure out when you run into errors! | ||
+ | |||
+ | ==Dependencies== | ||
+ | * fcron | ||
+ | * curl | ||
+ | * traceroute | ||
+ | * wireless-tools | ||
+ | * imagemagick | ||
+ | * espeak | ||
+ | |||
+ | ==Download Link== | ||
+ | http://www.mediafire.com/?u4ytvcid49f8cmi | ||
==What's working== | ==What's working== | ||
Line 16: | Line 34: | ||
* List of running programs | * List of running programs | ||
* Take picture with front camera | * Take picture with front camera | ||
- | |||
- | |||
* Alarm feature | * Alarm feature | ||
* Alert feature | * Alert feature | ||
* Lock feature | * Lock feature | ||
+ | |||
+ | ===Alarm feature=== | ||
+ | Uses the default Maemo 5 media player to start the alarm sound. Hopefully this won't be necassary later on. | ||
+ | |||
+ | ===Alert feature=== | ||
+ | Puts up a notification and if espeak is installed it will say it out aloud as well. | ||
+ | |||
+ | ===Lock feature=== | ||
+ | Uses the default Maemo 5 lock system, so please remember your lock code if you are using this. | ||
+ | |||
+ | ==What's not working at the moment== | ||
* Secure feature | * Secure feature | ||
==Installation== | ==Installation== | ||
- | + | MUST BE DONE AS ROOT! | |
- | + | ||
- | INSTALLER.sh should install Prey on the N900 for you | + | ===Manual (RECOMMENDED)=== |
+ | * Download the MAEMOPREY folder here: http://www.mediafire.com/?u4ytvcid49f8cmi | ||
+ | * Make sure dependencies are installed | ||
+ | * Copy all of the contents within the prey folder (the folder with the core, modules etc. folders inside) to the folder <code>/usr/share/prey</code> | ||
+ | * Add /usr/share/prey/prey.sh to fcron with this code:<pre>(fcrontab -l | grep -v prey; echo "*/20 * * * * /usr/share/prey/prey.sh > /var/log/prey.log") | crontab -</pre> | ||
+ | |||
+ | ===Automatic=== | ||
+ | * Download the MAEMOPREY folder here: http://www.mediafire.com/?u4ytvcid49f8cmi | ||
+ | * Run <code>INSTALLER.sh</code> as root | ||
+ | |||
+ | <code>INSTALLER.sh</code> should install Prey on the N900 for you automatically. If any problem occurs or you simply want to do it manually learn from the file instead of running it. | ||
==Configuration== | ==Configuration== | ||
Line 38: | Line 74: | ||
===Prey=== | ===Prey=== | ||
- | Edit config at /usr/share/prey/config | + | Edit config at <code>/usr/share/prey/config</code> |
+ | |||
+ | ==FAQ== | ||
+ | * Why fcron and not cron? | ||
+ | ** It seems that cron is not supported by Maemo 5. | ||
+ | |||
+ | [[Category:Software]] | ||
+ | [[Category:N900]] |
Latest revision as of 15:20, 17 July 2022
Contents |
[edit] Forum topic
http://talk.maemo.org/showthread.php?p=1021829
[edit] Prey
Prey is a free and open source laptop tracking software developed by Fork Ltd, that helps recover computers by tracing their location through the remote retrieval of information. The software is activated from the outside by using a URL as a checking method, and phones home by sending a detailed report either to a centralized control panel or directly to the computer owner's mailbox.
Prey is almost purely written in Bash, and runs on various versions of GNU/Linux, Mac OS X and Microsoft Windows. Its source code is hosted on GitHub and is free software, released under the GNU GPLv3.
Latest Prey features include Wi-Fi autoconnect, an alarm system, remote messaging, screenshot grabbing, screen locking, data securing, hardware scanning and webcam capturing, if the computer includes one. All of these functions are managed as modules, which can be activated on demand by the user, and new functions can be added by adding new modules.
The application was originally released for Linux and Mac OS X on March 24, 2009, and on April 19, 2009 the Windows port was released as well. The current stable release is 0.5.3.
[edit] General
Basically I've modified the source of Prey to make most of its features work for the N900. Since it's been a little trial-and-error procedure, I might have forgot some dependencies. But you will figure out when you run into errors!
[edit] Dependencies
- fcron
- curl
- traceroute
- wireless-tools
- imagemagick
- espeak
[edit] Download Link
http://www.mediafire.com/?u4ytvcid49f8cmi
[edit] What's working
- Geolocation info
- Network info
- Take screenshot
- List of running programs
- Take picture with front camera
- Alarm feature
- Alert feature
- Lock feature
[edit] Alarm feature
Uses the default Maemo 5 media player to start the alarm sound. Hopefully this won't be necassary later on.
[edit] Alert feature
Puts up a notification and if espeak is installed it will say it out aloud as well.
[edit] Lock feature
Uses the default Maemo 5 lock system, so please remember your lock code if you are using this.
[edit] What's not working at the moment
- Secure feature
[edit] Installation
MUST BE DONE AS ROOT!
[edit] Manual (RECOMMENDED)
- Download the MAEMOPREY folder here: http://www.mediafire.com/?u4ytvcid49f8cmi
- Make sure dependencies are installed
- Copy all of the contents within the prey folder (the folder with the core, modules etc. folders inside) to the folder
/usr/share/prey
- Add /usr/share/prey/prey.sh to fcron with this code:
(fcrontab -l | grep -v prey; echo "*/20 * * * * /usr/share/prey/prey.sh > /var/log/prey.log") | crontab -
[edit] Automatic
- Download the MAEMOPREY folder here: http://www.mediafire.com/?u4ytvcid49f8cmi
- Run
INSTALLER.sh
as root
INSTALLER.sh
should install Prey on the N900 for you automatically. If any problem occurs or you simply want to do it manually learn from the file instead of running it.
[edit] Configuration
[edit] Control Panel
I do not know if this is too important, but this is what I did. Add a new device and use these settings:
- Device type: Laptop
- Operating System: Debian
- OS Version: Squeeze (6.0)
[edit] Prey
Edit config at /usr/share/prey/config
[edit] FAQ
- Why fcron and not cron?
- It seems that cron is not supported by Maemo 5.
- This page was last modified on 17 July 2022, at 15:20.
- This page has been accessed 18,146 times.