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!


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

vBulletin® Version 3.8.8