Notices


Reply
Thread Tools
Marcus's Avatar
Posts: 173 | Thanked: 72 times | Joined on Mar 2010 @ Denmark
#21
What does your crontab -l return?
 
Posts: 236 | Thanked: 223 times | Joined on Apr 2011 @ switzerland
#22
fcrontab -l gives:

*/20 * * * * /usr/share/prey/prey.sh > /var/log/prey.log

But i have a question. Does it should send a report even when the phone is idle? Or does it need the phone to be used for at least 20 minutes before it will send a report?

Because yesterday in evening, while i was going home, it created a report by itself... I was not able to reproduce that so i don't understand.

thanks for your help
 
Marcus's Avatar
Posts: 173 | Thanked: 72 times | Joined on Mar 2010 @ Denmark
#23
Do you have an active internet connection?

I have not tried it with 3G etc., so that might be a problem.
 
Posts: 236 | Thanked: 223 times | Joined on Apr 2011 @ switzerland
#24
Yes i have an active connection, but i never use wifi, i am always connected via 2/3g.

My connection stays up as long as i don't disconnect it manually.
 
Posts: 55 | Thanked: 14 times | Joined on Dec 2011
#25
hmm, im trying to get this to run in N9

are any of the required Dependencies in n9 By Default?

im getting these errors when trying to run the prey.sh

line161, shopt not found /opt/share/prey/core/setup

Code:
set_aliases(){
	shopt -s expand_aliases
	alias getter="curl $curl_options -s \"$user_agent\""
	alias mailsender="sendEmail"
}
so i suppose that some curl stuff is missing.

line78, Syntax error: Bad Substitution /opt/share/prey/core/functions

Code:
]get_var(){
	HASH="$1[*]"
	local ${!HASH} - line78
	eval 'echo ${'"${2}"'}'
}
 
Marcus's Avatar
Posts: 173 | Thanked: 72 times | Joined on Mar 2010 @ Denmark
#26
Originally Posted by Lovsan View Post
hmm, im trying to get this to run in N9

are any of the required Dependencies in n9 By Default?

im getting these errors when trying to run the prey.sh

line161, shopt not found /opt/share/prey/core/setup

Code:
set_aliases(){
	shopt -s expand_aliases
	alias getter="curl $curl_options -s \"$user_agent\""
	alias mailsender="sendEmail"
}
so i suppose that some curl stuff is missing.

line78, Syntax error: Bad Substitution /opt/share/prey/core/functions

Code:
]get_var(){
	HASH="$1[*]"
	local ${!HASH} - line78
	eval 'echo ${'"${2}"'}'
}
I'm afraid that I do not have any access to a N9, so I can't help you out there buddy - but yes, seems that shopt is missing.

After new years eve, I'll most likely optimize all of this, to see what I can do better.

Last edited by Marcus; 2011-12-31 at 11:42.
 

The Following User Says Thank You to Marcus For This Useful Post:
Posts: 55 | Thanked: 14 times | Joined on Dec 2011
#27
Originally Posted by Marcus View Post
I'm afraid that I do not have any access to a N9, so I can't help you out there buddy - but yes, seems that shopt is missing.

After new years eve, I'll most likely optimize all of this, to see what I can do better.
cheers, it would be great if this was ported to n9 and well, working version for n900 also.

maybe great simple gui for the Settings so its easier for novices like me

1 of Prey devs said that if this project gets started they are willing to help, will see about it but hopefully.

 
nicholes's Avatar
Posts: 1,103 | Thanked: 368 times | Joined on Oct 2010 @ india, indore
#28
can i use both SMSCON and prey??? can they confilct each other?
__________________
N900 gave me a reason to live in this cruel world

get your smooth live wallpaper today
My YouTube videos
 
Marcus's Avatar
Posts: 173 | Thanked: 72 times | Joined on Mar 2010 @ Denmark
#29
Originally Posted by nicholes View Post
can i use both SMSCON and prey??? can they confilct each other?
I don't see how they would conflict, so yes you can.
 
Posts: 201 | Thanked: 57 times | Joined on May 2010
#30
+1 for porting this to the N9.
 
Reply


 
Forum Jump


All times are GMT. The time now is 03:56.