maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] SMScon (control your device with SMS) (https://talk.maemo.org/showthread.php?t=60729)

Brian_7 2011-01-24 23:18

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by digitalvoid (Post 927699)
Hi Brian_7,

When you did smscon -imsi (with your fathers card inside) you did 'learn' smscon that this card is trusted so after this when ever you insert this card in a later time again is NOT seen as a possible card from a thief.

I don't have a explanation why smscon didn't send a SMS to your mother's card the first time your fathers card was inserted (it should have). Maybe Saturn's remark has some validity...

I always use smscon -del imsi with my sim (so i delete my father's imsi).

Brian_7 2011-01-24 23:27

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by Saturn (Post 927684)
Thanks for the details. It makes absolutely sense now.

One question, is your father's sim able to sent SMSs from your phone?
This is they only way I could think it can fail.

Edit: also forgot to mention the retry will be after 900 seconds for this. did you wait that long?

This time i put my father's sim, turn on my n900 and wait 20 min, and nothing happens. So i type smscon -log:

DAEMON INFO: reading 1 valid IMSI code from "smscon_code" file
DAEMON WARNING: IMSI code has changed to "722070120721501"
DAEMON INFO: added IMSI code (722070120721501) to "smscon_code" file


Then i started smscon-editor. I press the enable botton in smscon on device boot: smscon_boot is already active

So i press the sms botton in test. 15 seconds later i receive the test sms in my mother's phone from my phone (with my father's sim)


I don't know why it happens.

Saturn 2011-01-24 23:42

Re: [Announce] SMScon (control your device with SMS)
 
Brian, based on you previous mail, did you run the del imsi before exchanging the SIM to your fathers? That could also explain your issue.

Brian_7 2011-01-24 23:52

Re: [Announce] SMScon (control your device with SMS)
 
This time i didn't do that (i think that i did it a few days ago). In the log you can see: DAEMON INFO: reading 1 valid IMSI code from "smscon_code" file

if i don't use del imsi, it will said reading 2 valid IMSI code.


I will try it again using del imsi.

Saturn 2011-01-25 00:01

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by Brian_7 (Post 927783)
This time i didn't do that (i think that i did it a few days ago). In the log you can see: DAEMON INFO: reading 1 valid IMSI code from "smscon_code" file

if i don't use del imsi, it will said reading 2 valid IMSI code.


I will try it again using del imsi.

I meant, you should not use the del imsi.

If you want, try it again without running any tests before and checking that the boot is enabled and it is running while you have your card and one imsi code in the smscon_code file.

Please post the complete log after replacing the personal data.

Brian_7 2011-01-25 00:14

Re: [Announce] SMScon (control your device with SMS)
 
This time with my father's sim I use -delete imsi.

I put my sim card. I see the log:

DAEMON INFO: current valid IMSI code (xxxxxxxxxxx) saved to file
DAEMON INFO: authorized IMSI code found
DAEMON INFO: smscon auto-loads at boot


I use again -del imsi (before see your reply), then i use smscon-editor to add my imsi.

I tipe smscon -imsi and i only have 1 imsi code.


I put again my father's sim and now i am waiting the sms.

Brian_7 2011-01-25 00:19

Re: [Announce] SMScon (control your device with SMS)
 
Sorry i didn't see
Quote:

Please post the complete log after replacing the personal data.
Here you have:

Quote:

Nokia-N900:~# smscon -log
SMSCON INFO: smscon_daemon is running (24-01-2011 21:11:22)
DAEMON INFO: successfully loaded "smscon_config" file
DAEMON INFO: SMS message sending is allowed by smscon_daemon
DAEMON INFO: COM_CALL = [Call]
DAEMON INFO: COM_CAMERA = [Camera]
DAEMON INFO: COM_CHECK = [Check]
DAEMON INFO: COM_CUSTOM = [Script]
DAEMON INFO: COM_LOCATION = [Location]
DAEMON INFO: COM_LOCK = [Lock]
DAEMON INFO: COM_POWER = [Power]
DAEMON INFO: COM_POWEROFF = [Poweroff]
DAEMON INFO: COM_REBOOT = [Reboot]
DAEMON INFO: COM_REMOTEOFF = [Remoteoff]
DAEMON INFO: COM_REMOTEON = [Remoteon]
DAEMON INFO: COM_SHELL = [uptime >> /tmp/commandlog]
DAEMON INFO: COM_TRACKOFF = [Trackoff]
DAEMON INFO: COM_TRACKON = [Trackon]
DAEMON INFO: COM_UNLOCK = [Unlock]
DAEMON INFO: reading 1 valid IMSI code from "smscon_code" file
DAEMON WARNING: IMSI code has changed to "here is my father's imsi code"
DAEMON INFO: added IMSI code (here the same imsi code) to "smscon_code" file

Brian_7 2011-01-25 01:27

Re: [Announce] SMScon (control your device with SMS)
 
I wait 1,5 hours and didn't receive the sms. So i go to the smscon-editor and:

smscon_boot is alredy active.

mrt 2011-01-25 08:49

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by BadZad (Post 927506)
But i recognized some little problems when testing it today. my girlfriend sended my the 'Locate' command and got 4 sms with
"-unlock-
phone was already unlocked."
and 3 sms with the "accepted" message which i think is a bit overkill :)
luckily my prepaid card ran out of money before my n900 could send another 50 sms :D

Hi,

this also appears to me. If I use the test-function in SMSCon-Editor for the location feature (not the Trackon!) it seems, that it keeps sending me sms as long as I not push the test finish button. But it sends only one e-Mail (which is correct).

I also tested the "real" situation by sending sms from another Mobile Phone with the "check" command and I received 11 SMS (the first one twice and the following three sms I received three times each).

Quote:

Originally Posted by Brian_7
I solve that. You have to edit the smscon_daemon file (i use vi). Where is GSMmodem, change Maxretry to 1 (default 3).

There is a option in SMSCon Editor. General -> GPRS-Settings: The field beside the timeout-field. Is this the maxretry-option? I set this to "1", but when I use the test-Function, I got the same behavior than before.

Thanks in advance for your help!

T.

BadZad 2011-01-25 09:04

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by Brian_7 (Post 927634)
I solve that. You have to edit the smscon_daemon file (i use vi). Where is GSMmodem, change Maxretry to 1 (default 3).

thank you for that tip brian, i will try that!

Saturn 2011-01-25 09:49

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by Brian_7 (Post 927832)
I wait 1,5 hours and didn't receive the sms. So i go to the smscon-editor and:

smscon_boot is alredy active.

For the moment i ran out of ideas. will check on mine and come back if you want to test it more.
Just a comment, you should check if it is running (i.e press the "start" button and the message should be "smscon_deamon is already active") and not if it is enabled on the boot.

Saturn 2011-01-25 09:59

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by mrt (Post 927979)
Hi,

this also appears to me. If I use the test-function in SMSCon-Editor for the location feature (not the Trackon!) it seems, that it keeps sending me sms as long as I not push the test finish button. But it sends only one e-Mail (which is correct).

I also tested the "real" situation by sending sms from another Mobile Phone with the "check" command and I received 11 SMS (the first one twice and the following three sms I received three times each).

As it was said, there is some people that have this issue. As developers we have not seen this and haven't been able to reproduce. Thus, it's tough to fix it.

In the next version, the "retry on failed message" will be configurable from the editor. This should be bad for reliability but will minimize the issue on the people affected.

Quote:

There is a option in SMSCon Editor. General -> GPRS-Settings: The field beside the timeout-field. Is this the maxretry-option? I set this to "1", but when I use the test-Function, I got the same behavior than before.
Actually no. If you read it again it says GPS settings. The value signifies the number of samples to take for the coordinates to be send. For me it gives best location with 4 and default is 3.

HIH

digitalvoid 2011-01-25 10:47

Re: [Announce] SMScon (control your device with SMS)
 
In the next release (0.8) there will be a possibility to 'disable' the resend function if it gives people trouble...

The whole routine in 'smscon_daemon' script to make the resend, in case of send failure, possible is still somewhat experimental as stated in the wiki (as of release 0.5-9).

mrt 2011-01-25 11:04

Re: [Announce] SMScon (control your device with SMS)
 
Thank you for your quick reply!

Quote:

Originally Posted by Saturn (Post 928024)
As it was said, there is some people that have this issue.

I didn't found that before, but to be honest, I did not read through all 60 pages of this thread. Some parts of the text I only "scanned" through. Sorry, for asking again. ;)

Quote:

Originally Posted by Saturn (Post 928024)
In the next version, the "retry on failed message" will be configurable from the editor. This should be bad for reliability but will minimize the issue on the people affected.

This would be O.K. for me. I will test it, soon as you bring out the new version. Thank you.

Just an idea: If the "retry on failed message" function works with a failure message that it gets from the mobile network, it might be a regional problem with some providers?

Quote:

Originally Posted by Saturn (Post 928024)
Actually no. If you read it again it says GPS settings. The value signifies the number of samples to take for the coordinates to be send. For me it gives best location with 4 and default is 3.

Sorry again. My mistake. That makes sense. I switched back to "4". :D

T.

Brian_7 2011-01-25 15:18

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by mrt (Post 927979)
Hi,



There is a option in SMSCon Editor. General -> GPRS-Settings: The field beside the timeout-field. Is this the maxretry-option? I set this to "1", but when I use the test-Function, I got the same behavior than before.

Thanks in advance for your help!

T.


The maxretry isn't in the smscon editor. You have to edit /opt/smscon/smscon_daemon in this part:


def GSMmodem(Number, Message, Log):
"""
Send message to GSM modem.
"""

Delay = 4 # in sec.
MaxRetry = 3 # number of retries to re-activate GSMm
Retry = 0


Change MaxRetry to 1.

Brian_7 2011-01-25 23:26

Re: [Announce] SMScon (control your device with SMS)
 
I use delete imsi and add my imsi.

I change the sim card and it added again the new imsi.


I start smscon-editor and:

smscon_boot is already active

But also:

smscon_daemon started

(so it wasn't enable? It was enable before i change the sim card)

Saturn 2011-01-26 00:13

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by Brian_7 (Post 928607)
I use delete imsi and add my imsi.

I change the sim card and it added again the new imsi.


I start smscon-editor and:

smscon_boot is already active

But also:

smscon_daemon started

(so it wasn't enable? It was enable before i change the sim card)

Yes, it seems to have crashed before or while sending the SMS.

What does it give this command if you put it in xterm?
Code:

dpkg -l *gobject*
note: the "l" is a small "L".

Brian_7 2011-01-26 02:01

Re: [Announce] SMScon (control your device with SMS)
 
Now i am using my sim card.

I type dpkg -l gobject in the x-terminal:

No packages found matching gobject.

Saturn 2011-01-26 08:15

Re: [Announce] SMScon (control your device with SMS)
 
Brian, Sorry the command I asked you to check was wrong. Could you check again please?

also what is the result of this?
Code:

cat /opt/smscon/smscon_config |grep DISABLESMS

Brian_7 2011-01-26 16:02

Re: [Announce] SMScon (control your device with SMS)
 
Here you have:

Quote:

Nokia-N900:~# dpkg -l *gobject*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii python-gobject 2.16.1-1maemo2 Python bindings for the GObject library
un python-gobject <none> (no description available)
un python2.5-gobj <none> (no description available)
Nokia-N900:~# cat /opt/smscon/smscon_config |grep DISABLESMS
DISABLESMS = 'no'
(I type this with my sim card)

sander010587 2011-01-29 11:04

Re: [Announce] SMScon (control your device with SMS)
 
Hello people,

I have the same problem as Brian7 stated. Everything works fine: sending location, camera photo etc triggered by text msg. But when I enter a new sim I don't receive the sms containing the new nember.

I also noticed that sending text messages to the new number (i know what the number is because it is my friends sim), it didn't trigger anything.

I have SMSCCON editor and deleted IMSI after I Added my IMSI. I pressed start and enable on boot, both were already active.

Can someone please instruct me how to fix this?

Would be a great program if sending the sim number works :)

Thanks in advance.

Sander

Saturn 2011-01-29 17:40

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by Brian_7 (Post 929113)
Here you have:
...
(I type this with my sim card)

Hi Brian,

The info you gave doesn't show any problem in the libraries or the settings..
I will try to check again if I can find where the issue might be.

Cheers.

Brian_7 2011-01-29 20:06

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by Saturn (Post 931413)
Hi Brian,

The info you gave doesn't show any problem in the libraries or the settings..
I will try to check again if I can find where the issue might be.

Cheers.

OK, thanks.

ronpachgon 2011-01-30 19:05

Re: [Announce] SMScon (control your device with SMS)
 
I'm living in Venezuela, using a sim card from the Movilnet cellphone company.
Just initiating tests. So far so good.

Test Phone Funtions: Call and SMS.
only that the SMS are sent more than 3 or 4 time each. But it looks like a problem that several people have encounter.

Send Test Email: status Email and Picture Email. Both fine.

Only issue, is when i tried from another cellphone number, it disconnects from the wifi and connects to the modem. For obvious reasons it has to try to connect to the modem in case of theft. The thief is not going to be logging to a wifi network just like that.
The app should be able to see if it's already connected to any network, and use it, and leave the modem option as a last resort option.

but the real issue is that when connected to the modem, can't finish sending any kind of emails, with or without pictures. Maybe is a problem with the service provider. i'll keep trying in the following days, to see what happens

Bottom line, excellent app, and really useful

impeham 2011-01-31 10:23

Re: [Announce] SMScon (control your device with SMS)
 
I have an improvement suggestion for this application.
Currently, using it requires the device and sim card to be unlocked which I believe is not a typical scenario (am I wrong? I sure lock mine to prevent a thief from making calls on my expense…). If the sim card is locked then this application as it is now is useless.

So assuming the device itself is unlocked and my sim card is, a thief would probably replace the sim card with his. In such case, if the SMSCON would start using the email for message sending will be great - for example - send me an email which contains the new sim card's number, a photo from camera and coordinates every 15 minutes for example.
This method will be great because the thief will surely connect to the internet sometime and somehow (from 3G or WiFi connection) and when that happens he will expose himself.

If this application can support this, it can really become a problem for the thieves of this device.


In any case, I see the method of sending back information by email to be much better than SMS as most people don't even have 2 sim cards.

This application has great potential - great work!

sander010587 2011-01-31 14:07

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by impeham (Post 932443)
I have an improvement suggestion for this application.
Currently, using it requires the device and sim card to be unlocked which I believe is not a typical scenario (am I wrong? I sure lock mine to prevent a thief from making calls on my expense…). If the sim card is locked then this application as it is now is useless.

So assuming the device itself is unlocked and my sim card is, a thief would probably replace the sim card with his. In such case, if the SMSCON would start using the email for message sending will be great - for example - send me an email which contains the new sim card's number, a photo from camera and coordinates every 15 minutes for example.
This method will be great because the thief will surely connect to the internet sometime and somehow (from 3G or WiFi connection) and when that happens he will expose himself.

If this application can support this, it can really become a problem for the thieves of this device.


In any case, I see the method of sending back information by email to be much better than SMS as most people don't even have 2 sim cards.

This application has great potential - great work!

Of course you want to send the sms commands to someone else therefore you need to fill in the trusted phone number or use someone else 's phone to send the check command

impeham 2011-01-31 16:41

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by sander010587 (Post 932574)
Of course you want to send the sms commands to someone else therefore you need to fill in the trusted phone number or use someone else 's phone to send the check command

I think that there might not be a need for that for many people - it would be great if the email could have been used instead - if the SIM was replaced to a non trusted one.

This way you don't need another card at all - you can trust that sooner or later (if not immediately - through 3G network) you will start getting emails from the device that will send important info about the thief.

Such an option in the application will make it a lot more powerful i think.

sander010587 2011-02-01 12:11

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by impeham (Post 932653)
I think that there might not be a need for that for many people - it would be great if the email could have been used instead - if the SIM was replaced to a non trusted one.

This way you don't need another card at all - you can trust that sooner or later (if not immediately - through 3G network) you will start getting emails from the device that will send important info about the thief.

Such an option in the application will make it a lot more powerful i think.

True.

Too bad mine still doesn't send text message when new sim is entered...

nicholes 2011-02-02 16:37

Re: [Announce] SMScon (control your device with SMS)
 
how and where to put mobile no for sms if stolen??info for a noob plz...

Brian_7 2011-02-02 17:06

Re: [Announce] SMScon (control your device with SMS)
 
Put the mobile number for sms in "mobile number to contact" (put the internacional number). It will change if you receive a command from a diferent number.

nicholes 2011-02-02 17:26

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by Brian_7 (Post 934366)
Put the mobile number for sms in "mobile number to contact" (put the internacional number). It will change if you receive a command from a diferent number.

wow there is no icon in the menu to use smscon !!!is it normal? if yes then tell me in detail how and where to put mobile no?(asuming it is controled by xterminal)

Brian_7 2011-02-02 18:05

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by nicholes (Post 934376)
wow there is no icon in the menu to use smscon !!!is it normal? if yes then tell me in detail how and where to put mobile no?(asuming it is controled by xterminal)

Install smscon-editor.

nicholes 2011-02-03 07:18

Re: [Announce] SMScon (control your device with SMS)
 
smscon editor does not open says "incorrect password"

i know my password(i created it when i installed smscon) but i do not know why it is not accepting my password now!!plz help.

Saturn 2011-02-03 12:08

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by nicholes (Post 934769)
smscon editor does not open says "incorrect password"

i know my password(i created it when i installed smscon) but i do not know why it is not accepting my password now!!plz help.

check here: http://talk.maemo.org/showpost.php?p...&postcount=633
or read the wiki: http://wiki.maemo.org/SMSCON_Editor

nicholes 2011-02-03 12:40

Re: [Announce] SMScon (control your device with SMS)
 
@Saturnok
i got it thanks man!
and now smscon could not send mail ..actually i do not know what is my mail server!!and the port what should i use?

i want to ask a few question if u kindly answer me

1>what should i type in email address?(full eamilxxxx@xxx.co.in)or .com mine email ends with @yahoo.co.in??

2>what email server should i use for yahoo mail smtp.yahoo.com or .co.in or imap or any other ???

3> in the last if yahoo mail does not work what e mail server should i use for google??

4> what kind of password is needed by smscon for email? my email id's password?

Brian_7 2011-02-03 14:53

Re: [Announce] SMScon (control your device with SMS)
 
I use gmail:

Mail server: smtp.gmail.com

Port: 587

(works great for me)

In password put your email password.

Brian_7 2011-02-07 02:09

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by Saturn (Post 931413)
Hi Brian,

The info you gave doesn't show any problem in the libraries or the settings..
I will try to check again if I can find where the issue might be.

Cheers.

Hi Saturn, did you find where is the issue?.

Brian_7 2011-02-09 02:50

Re: [Announce] SMScon (control your device with SMS)
 
Maybe you could use smssend (send sms via command line). Maybe that would help you.

OperationNT 2011-02-09 09:00

Re: [Announce] SMScon (control your device with SMS)
 
Hello everybody,

I installed SMSCon (with its editor) on my device and try it little bit. I have one issue and 3 questions (requests).

My issue is that when my front camera starts, the image is very dark and it takes about 3 seconds to become "viewable" (I can see this when I start video calls). When I try to use the functionality in SMSCon for send a picture from the front camera, it seems that it starts camera and take a picture without any wait time. So the image I get from e-mail is only a black rectangle. Is it possible to set a wait timer at camera start before the picture is token ?

My 3 questions are for a steal case :
- Is it possible to add a functionality to delete all personnal information (contacts, received SMS and calls, registered accounts and e-mail addresses) ?
- Is it possible to add a functionality to get by SMS all information saved on phone (thief's contacts and called numbers) by SMS and e-mail ?
- To be more discrete with the "Call Me" functionality (avoid callings proof when the thief receive its bill), is it possible to add a functionality which automatically answer to next call without ringing ? (when you have unlimited calls on another phone, it could be useful and the thief couldn't know he is spied)

Thank you for your answers ;).

nicholes 2011-02-09 11:20

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by OperationNT (Post 939751)
Hello everybody,

I installed SMSCon (with its editor) on my device and try it little bit. I have one issue and 3 questions (requests).

My issue is that when my front camera starts, the image is very dark and it takes about 3 seconds to become "viewable" (I can see this when I start video calls). When I try to use the functionality in SMSCon for send a picture from the front camera, it seems that it starts camera and take a picture without any wait time. So the image I get from e-mail is only a black rectangle. Is it possible to set a wait timer at camera start before the picture is token ?

My 3 questions are for a steal case :
- Is it possible to add a functionality to delete all personnal information (contacts, received SMS and calls, registered accounts and e-mail addresses) ?
- Is it possible to add a functionality to get by SMS all information saved on phone (thief's contacts and called numbers) by SMS and e-mail ?
- To be more discrete with the "Call Me" functionality (avoid callings proof when the thief receive its bill), is it possible to add a functionality which automatically answer to next call without ringing ? (when you have unlimited calls on another phone, it could be useful and the thief couldn't know he is spied)

Thank you for your answers ;).

these features must be included
great ideas for new update i like you!!!!!!


All times are GMT. The time now is 02:10.

vBulletin® Version 3.8.8