Notices


Reply
Thread Tools
Posts: 268 | Thanked: 75 times | Joined on Jan 2011
#641
Originally Posted by digitalvoid View Post
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).
 
Posts: 268 | Thanked: 75 times | Joined on Jan 2011
#642
Originally Posted by Saturn View Post
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's Avatar
Posts: 1,648 | Thanked: 2,122 times | Joined on Mar 2007 @ UNKLE's Never Never Land
#643
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.
 
Posts: 268 | Thanked: 75 times | Joined on Jan 2011
#644
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's Avatar
Posts: 1,648 | Thanked: 2,122 times | Joined on Mar 2007 @ UNKLE's Never Never Land
#645
Originally Posted by Brian_7 View Post
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.
 
Posts: 268 | Thanked: 75 times | Joined on Jan 2011
#646
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.
 
Posts: 268 | Thanked: 75 times | Joined on Jan 2011
#647
Sorry i didn't see
Please post the complete log after replacing the personal data.
Here you have:

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

Last edited by Brian_7; 2011-01-25 at 00:39.
 
Posts: 268 | Thanked: 75 times | Joined on Jan 2011
#648
I wait 1,5 hours and didn't receive the sms. So i go to the smscon-editor and:

smscon_boot is alredy active.

Last edited by Brian_7; 2011-01-25 at 02:58.
 
Posts: 32 | Thanked: 6 times | Joined on Jun 2010
#649
Originally Posted by BadZad View Post
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
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).

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.
 
Posts: 2 | Thanked: 0 times | Joined on Jan 2011
#650
Originally Posted by Brian_7 View Post
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!
 
Reply


 
Forum Jump


All times are GMT. The time now is 16:50.