Reply
Thread Tools
Posts: 299 | Thanked: 557 times | Joined on Aug 2012
#51
Originally Posted by student4life View Post
still both are not available/correct in the control panel report?
Partly correct.
Picture is black screen with status bar only and map position is ~ 3 kilometres offset (tried several times).
 
Posts: 55 | Thanked: 123 times | Joined on Oct 2012 @ India
#52
Originally Posted by brkn View Post
Partly correct.
Picture is black screen with status bar only and map position is ~ 3 kilometres offset (tried several times).
The picture you are seeing seems to be screenshot of ur mobile screen, and not captured from the cam. Can you check the log once again and see if the following msg appears when taking photo
id:1, error:1, errormsg:Camera not ready
if that error is still there, can you edit the script /opt/prey/bin/takePhoto and change '2000' in line 36 to 5000

to sent a report immediately, you can run following in bash as root
/opt/prey/run

regarding map position, does the log file contain the correct coordinates? can you click on map in control panel and verify the coordinates are matching with that in log file?
 

The Following User Says Thank You to student4life For This Useful Post:
Posts: 299 | Thanked: 557 times | Joined on Aug 2012
#53
Originally Posted by student4life View Post
The picture you are seeing seems to be screenshot of ur mobile screen, and not captured from the cam. Can you check the log once again and see if the following msg appears when taking photo
id:1, error:1, errormsg:Camera not ready
if that error is still there, can you edit the script /opt/prey/bin/takePhoto and change '2000' in line 36 to 5000

to sent a report immediately, you can run following in bash as root
/opt/prey/run

regarding map position, does the log file contain the correct coordinates? can you click on map in control panel and verify the coordinates are matching with that in log file?
Running
Code:
/opt/prey/run
as root results in
Code:
~ # /opt/prey/run 
netstat: invalid option -- 'p'
BusyBox v1.20.0.git (MeeGo 3:1.20-0.2+0m8) multi-call binary.

Usage: netstat [-ral] [-tuwx] [-en]

Permission denied: opening file /home/user/.omap3cam
Staring camera without viewfinder available 
Permission denied: opening file /home/user/.omap3cam
/opt/prey/modules/webcam/platform/linux/functions: Zeile 8:  5376 Segmentation fault      $takePhoto 1 $webcam__picture

Report is sent.
+ GPS is fine now. Map and logfile coordinates are the same.
- frontcam picture not working
- wifi scan not working
- trace route not working

EDIT: changed line 36 from 2000 to 5000 and I am getting
Code:
/opt/prey/modules/webcam/platform/linux/functions: /opt/prey/bin/takePhoto: /usr/bin/env: bad interpreter: Operation not permitted

Last edited by brkn; 2012-12-03 at 13:36.
 
Posts: 55 | Thanked: 123 times | Joined on Oct 2012 @ India
#54
Originally Posted by brkn View Post
Running

Report is sent.
+ GPS is fine now. Map and logfile coordinates are the same.
- frontcam picture not working
- wifi scan not working
- trace route not working
wifi scan and trace route have not been tested/fixed, so you can disable them for the time being. first priority was to get geo and cam modules working.

do you have any other camera softwares installed? my script should not be accessing /home/user/.omap3cam. so that error message is strange for me
 

The Following User Says Thank You to student4life For This Useful Post:
Posts: 299 | Thanked: 557 times | Joined on Aug 2012
#55
Originally Posted by student4life View Post
wifi scan and trace route have not been tested/fixed, so you can disable them for the time being. first priority was to get geo and cam modules working.
Ok.

Originally Posted by student4life View Post
do you have any other camera softwares installed? my script should not be accessing /home/user/.omap3cam. so that error message is strange for me
Only one additional photo application: Front Camera
 
Posts: 55 | Thanked: 123 times | Joined on Oct 2012 @ India
#56
Originally Posted by brkn View Post
Only one additional photo application: Front Camera
that could be a problem.

to verify that we can try back camera. can u try replacing '1' with '0' in line 43 of the file?
/opt/prey/modules/webcam/platform/linux/functions
but i think aegis will give permission problems for modified scripts

i will try to make a package for u that uses back camera to verify this.
 

The Following User Says Thank You to student4life For This Useful Post:
Posts: 299 | Thanked: 557 times | Joined on Aug 2012
#57
Originally Posted by student4life View Post
that could be a problem.

to verify that we can try back camera. can u try replacing '1' with '0' in line 43 of the file?
/opt/prey/modules/webcam/platform/linux/functions
but i think aegis will give permission problems for modified scripts

i will try to make a package for u that uses back camera to verify this.
Purge Front Camera. Retried. Failed.
Changed file as suggested and retried. Failed.

Code:
Permission denied: opening file /home/user/.omap3cam
Staring camera without viewfinder available 
Permission denied: opening file /home/user/.omap3cam
/opt/prey/modules/webcam/platform/linux/functions: Zeile 8: 13131 Segmentation fault      $takePhoto 0 $webcam__picture
 
Posts: 55 | Thanked: 123 times | Joined on Oct 2012 @ India
#58
the folder/file /home/user/.omap3cam does not exists on my n950
can you mv it to some other place and try again?
 
Posts: 299 | Thanked: 557 times | Joined on Aug 2012
#59
Originally Posted by student4life View Post
the folder/file /home/user/.omap3cam does not exists on my n950
can you mv it to some other place and try again?
Code:
/ $ ls -l /home/user/.omap3cam
ls: /home/user/.omap3cam: No such file or directory
Doesn't exist here either.

EDIT: after having found this thread/post I read the following posts and tried using develsh as well like that
Code:
develsh
bash /opt/prey/prey.sh > /home/user/MyDocs/Downloads/prey.log
Worked!

Last edited by brkn; 2012-12-03 at 15:46.
 

The Following 2 Users Say Thank You to brkn For This Useful Post:
Posts: 299 | Thanked: 557 times | Joined on Aug 2012
#60
By the way I installed traceroute from here and it works like a charm. Maybe you could bundle it with Prey?
 

The Following User Says Thank You to brkn For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 14:23.