![]() |
Re: [Announce] SMScon (control your device with SMS)
Quote:
1) I will look in to this. I can try to make it so, that if sending fails, it will try a later time again. 2) I will implement a wipe function (it will run a batch script, if available, where users can put in directories they want to delete. 3) If somebody knows howto do this/has a solution, please mail me. 4) Thecnically it can be implemented, maybe I will. 5) As of v0.5-6 all user settings can be changed by SMSCON (crypted & uncrypted). The command is: smscon -set <name> "<value>", so strictly you don't need SMSCON-editor if you want to (to keep it pure a command-line application) and keep it more hidden. 6) I personnaly think WiFi is unreliable for this; connections easely can be lost (if your phone is moving or coverage is limited). For some 3G Internet maybe costly, but losing a phone will also be costly. If the cell reception is unavailable, well then it over. 7) This is a nice idea, I maybe will try to implement this in a future release. |
Re: [Announce] SMScon (control your device with SMS)
Quote:
|
Re: [Announce] SMScon (control your device with SMS)
Quote:
For debug look at: Code:
/tmp/smscon.log |
Re: [Announce] SMScon (control your device with SMS)
ok guys, i'm gonna need some serious help, i feel like such a noob cause i can't seem to make this awesome app work.... i've downloaded both the app and the editor, i change the default number, and i don't know if it's because i don't live in USA or anything but the test doesn't work, it won't call back....:/ i even tried country prefixes like +58 for venezuela... also it's not mailing me anything even tho i put everything, i'm using hotmail so maybe i got the mail server or the port wrong? i don't know...is "smtp.live.com" right? and what is the SSH for? i know i won't be using it so i don't know what to put there.... i'm not sure if it's a version bug or i'm just dumb so any help would be apprecieted... also, even tho i click the 'update settings' icon its still red, is that normal? :/ thanks in advance :(
|
Re: [Announce] SMScon (control your device with SMS)
Re: Stealth some ideas
remove incoming sms from event db using sqlite3 sqlite3 /home/user/.rtcom-eventlogger/el.db not sure what sql to run. Someone may know how to do it. Will spend some time later on to browse through forums... |
Re: [Announce] SMScon (control your device with SMS)
Very nice app! :)
But for me it is missing two things.. 1. If possible under the maemo OS, SMSCON should be triggered (to send GPS coords and email a mugshot?) whenever someone attempts to unlock the device and fails (enters the wrong unlock code). I have tried myself to monitor for this via D-BUS and it doesn't seem possible. Anyone know a way? 2. It would be very nice if there were a few commands to execute user-defined scripts - This would also save the headache involved in implementing the featue a few others requested - a command to wipe the device. Any user who wants such a thing can write their own script for it and point SMSCON to the correct file. |
Re: [Announce] SMScon (control your device with SMS)
When I try to send a test sms from smscon I get this error:
Code:
[2|user@Nokia-N900|~]/opt/smscon-editor/smscon-editor |
Re: [Announce] SMScon (control your device with SMS)
it's strange. I get a 3-5 replay messages.
|
Re: [Announce] SMScon (control your device with SMS)
I don't get any messages from my N900 when sending an SMS with an specific command but all tests are running fine.
Really don't know what the problem could be. |
Re: [Announce] SMScon (control your device with SMS)
RE: Stealth
To find last sms message from event db we can use sqlite3: sqlite3 /home/user/.rtcom-eventlogger/el.db ( or el-v1.db ) then use command: select * from Events where event_type_id=7 order by -end_time limit 1; to delete it should be something like delete from... not sure about syntax. it is a good program to browse through event db - glogarchive. NOt sure how to disable display received sms in status bar |
Re: [Announce] SMScon (control your device with SMS)
Quote:
1) afaik crontab, or something crontab-like is already installable on N900. So creating a script to trigger notifying owner function, then adding it to crontab if IMSI check is failed (and removing it if smscon gets verified IMSI later or valid stop command received) would work. Then It's all about changing single target number to multiple targets, which I guess is not a hard thing to do. 2) As already said by other users, I think giving them an option to call another script if SMS command received/IMSI check failed (depends on user preference) would be a better idea, so they can add new options to it. (playing a sound, twitting about it via CLI twitter client, wiping data..) 3) @kiwirus suggested a nice solution for it, but I don't know how/or if its even possible to bypass a notification box, anyway I google'd about it and found something, I don't know exactly if it works or even if it's related to this matter but anyway: http://talk.maemo.org/showthread.php?t=62593 I looked at it for a very limited time and it seems like changing some .conf files makes it possible to remove those yellow boxes. So, making an option "If IMSI check is failed, Disable All Notifications" and changing that file according to it maybe could help. Maybe It would be possible to making changes in mce.ini, so blue led notification could be removed too. 5) I think that adding an option to smscon-editor to remove it from menu would be better, so I don't need to install/remove it everytime I want to make changes, with a proper GUI, plus removing a .desktop file looks like an easy thing to do. (again, I don't know anything about details =) 7) Maybe wget or curl could help you about doing it. It's nice to know that you care :) Hope those help you about smscon. |
Re: [Announce] SMScon (control your device with SMS)
I have just installed smscon 0.5-7 and smscon-editor 0.6-1
Some of smscon works well, but other parts not so well! For a start, smscon can be found in /opt/smscon/smscon but the smscon executable is not in the path, and so the command 'smscon' cannot be executed from the command line without prepending '/opt/smscon'. Trying to start smscon from smscon-editor does not work, perhaps because smscon is not in the default path? Issuing the command 'check' to my N900 results in about a dozen SMSs being sent back! All commands the commands I have tried (check, location and camera) result in two acknowledgements. Check also sends a command list which is broken into three separate SMSs, each of which is sent about four or five times! The smscon -log does twice show DAEMON ERROR: failed to send SMS to "+xxxxxxxxxx" after receiving the check command. smscon also failed to send the location details (after GPS position was acquired) to the mobile phone issuing the command, although it did send the command acknowledgment to the same phone and also correctly sent the google map picture to the nominated e-mail address. despite my complaints, this program is really cool! david. |
Re: [Announce] SMScon (control your device with SMS)
I've not tried SMScon yet, and look forward to doing so soon, but I was wondering... I'm sure there used to be another app with the same general idea behind it as this. Infact, I had it installed a while ago, although have since reflashed my device. So, what happened to that?
|
Re: [Announce] SMScon (control your device with SMS)
I foolishly edited the smscon_config file and I can't start the smscon editor anymore - it gives me "fatal error" message.
Will replacing the smscon_config file with the original fix the problem. If so, could someone send me one? |
Re: [Announce] SMScon (control your device with SMS)
Tomorrow I will push a new update (0.5-9) to the auto-builder, which will solve a few problems some users had with SMS sending. (I had made internal changes in the previous code which had more repercussions that I had anticipated).
Quote:
Changelog: 0.5-9
|
Re: [Announce] SMScon (control your device with SMS)
Hey guys,
Theres a small flaw to this app. If you've installed this app on your phone, MAKE SURE YOU DO NOT HAVE A SECURITY LOCK ON YOUR PHONE. My n900 was stolen yesterday :(.. I had a security lock code on my phone. And because of that, i wont be getting my phone back :(. The thing is guys, the thief would take the battery out as soon as possible. Once he reboots the phone with a new sim or no sim at all, then the security lock code appears..hence he is forced to reformat the phone. and thus, the point of this software is gone. If i hadnt put a lock code, the thief would have probably sold it to another person, and in turn, my friend wouldve gotten an sms on the imei number change. I COULDVE CAUGHT THAT M*THERF**KER!! Learn from my mistake guys. You NEVER know when your phone can be stolen. (TRUST ME..I AM ONE OF THE MOST CAREFUL PEOPLE EVER. I CHECK MY POCKETS EVERY 20 MINUTES.I JUST GOT HUSTLED BY THE ROBBER..) Ive been a religious member of this forum. But now, i think its time to say good bye :(..(wont be able to afford a new n900) Its been really nice knowing all of you guys here. the phone always had surprises. Every day a new app would pop up my news feed. Any ways, moral of the story is to make sure you dont have a security lock code if you have this app installed people. It could cancel out the sole purpose of the app. **** this phone was good :( Goodbye guys, Love, Mangal |
Re: [Announce] SMScon (control your device with SMS)
Quote:
Did you try to send an SMSCON command to you phone? For the development of SMSCON I will look if I can think out a scenario in a future release (possible idea: if SIM card has been swapped (different IMSI number) automatically unlock the phone) |
Re: [Announce] SMScon (control your device with SMS)
New update released (v0.5-9)
WARNING: The install package will re-initialize the smscon_config file if you are updating a previous version of SMSCON; due to new SMSCON command (COM_CUSTOM). SMSCON-editor 0.6-1 will not be able to edit this command, so for now use a text editor on your phone or use the Code:
smscon -set Saturn will eventually release a new version of SMSCON-editor which will have a the ability to edit this new user variable. Default value of new SMSCON command: Code:
COM_CUSTOM = "Script" 0.5-9
|
Re: [Announce] SMScon (control your device with SMS)
Quote:
Trackon but my phone was already off by then. And for the message to deliver, it needs to be switched on, on the same sim card, which is sort of impossible. atleast I would have gotten the imsi number if i hadnt locked my phone :(. any ways, is there a way to get my phone back through my IMEI number? the imei number is printed on the box that comes with the phone. Can you help me please? I really love my phone! |
Re: [Announce] SMScon (control your device with SMS)
Quote:
PS: What you wrote (in red) is not true, if phone is unlocked and swapped with other SIM card, this SIM cards phone connection is used to send you a SMS with it's number, IMSI number & telecom operator. |
Re: [Announce] SMScon (control your device with SMS)
Quote:
damn, that means that my LOCK code messed me up.. how ironic huh? just let me know what i should do with my imei number. i have all my files from my phone backed up. anything useful? the worst part is, i KNEW that the lock code would prevent smscon from working completely, but i never thought that my PHONE would ever be stolen. anyways, please advise. You can use this opportunity as an "on the job" training for your app :P and you would save my life too! imei number? i really dont wanna give up. |
Re: [Announce] SMScon (control your device with SMS)
Quote:
Is your phone insured? |
Re: [Announce] SMScon (control your device with SMS)
Quote:
i bought my phone from Dubai. ( i live there.) but now i live in scotland, (my university) and it got stolen here in scotland. theres NOTHING you can do with the imei number?? |
Re: [Announce] SMScon (control your device with SMS)
Quote:
It might not be of any help now, but for future reference you can insure a phone in another country. |
Re: [Announce] SMScon (control your device with SMS)
You can go to the police. They can ask vodafone and the other operators if your IMEI has been used and get the number and name from the person who is using it. Other thing is that they have time to do it. Unfortunately a stolen phone is not top priority :(
|
Re: [Announce] SMScon (control your device with SMS)
Quote:
|
Re: [Announce] SMScon (control your device with SMS)
Quote:
if i report my imei number to the police they can get that done through service providers?? i will do that STRAIGHT AWAY THEN! btw, im in scotland, so will that help? |
Re: [Announce] SMScon (control your device with SMS)
Where i live if you want to have a sim card you have to provide your name, you are right, in Scotland may be different.
If you report it has been stolen they CAN do that, but i am not so sure they will actually DO it. |
Re: [Announce] SMScon (control your device with SMS)
Quote:
im getting my imei number most probably by tomorrow. ill give that to the police too.. lets see what happens. ill keep you guys updated! |
Re: [Announce] SMScon (control your device with SMS)
Remind them it was a £500 device, so it's not that insignificant a crime...
|
Re: [Announce] SMScon (control your device with SMS)
Quote:
They said that they would call me for my imei number in a day or two. What do you guys say? would i get it back? |
Re: [Announce] SMScon (control your device with SMS)
@ Zimon:
Is the new version (0.5-9) working for you? |
Re: [Announce] SMScon (control your device with SMS)
Hi digitalvoid,
I was reading the source code of smscon_daemon to learn about receiving and sending sms, and I found a possibly bug: In the function SMSreceive, the index that you use to trim the PDUMessage (19) depends on the length of the sender's number that is before the sms message in the array, I made a test with that function sending an sms to my phone from a web page, and the sender number was shorter so the message was not decoded correctly. I suggest to calculate the begin index as follow: Code:
n=int(PDUmessage[1]) |
Re: [Announce] SMScon (control your device with SMS)
@ NerdKnight:
I didn't develop the SMSreceive code myself (It found it on maemo.org). Could you explain to more? In The Netherlands we use a 10 digit number: 06-12345678 (locally used, 06 is prefix for mobile number) In international format this is: 0031-612345678 or +31-612345678 |
Re: [Announce] SMScon (control your device with SMS)
Quote:
Here is the full specifications of the PDU messages: http://www.dreamfabric.com/sms/ It seems that the tree first parts are not used on n900, so at 2nd. position in the array is the length of the senders number (in decimal digits, 2 digits per octet) Code:
n=int(PDUmessage[1]) Code:
n=n//2+n%2+13 To support different sender number lengths, I suggest the function should be like this: Code:
def SMSreceive(PDUmessage, MessageCenter, SomeString, Number): |
Re: [Announce] SMScon (control your device with SMS)
@ NerdKnight:
Thanks for explaining. I will put this in release 0.5-10. |
Re: [Announce] SMScon (control your device with SMS)
ok, on 1.3 firmware, using smscon editor, I am trying to enter details into the encrypted fields, eg username and password and nothings being shown in the fields. Any ideas?
|
Re: [Announce] SMScon (control your device with SMS)
Find the new version of the SMSCON Editor v. 0.6-3 in extras-devel
http://maemo.org/packages/view/smscon-editor/ This version brings an a new field to rename the command to initiate the execution of the script and all needed changes with the new QT of PR1.3. Because of the new version of the QT libraries some things will work better but differently. One important change is that on the fields requiring numbers it is not needed anymore to press the fn button before entering. The selection of numbers or characters is done already for you. Please check and report possible omissions/problems. |
Re: [Announce] SMScon (control your device with SMS)
Quote:
|
Re: [Announce] SMScon (control your device with SMS)
Thanks - it has.
Now, question, any additional settings I need to alter by using gmails smtp server settings smtp.gmail.com port:465 as so far no emails working. Scott |
All times are GMT. The time now is 18:23. |
vBulletin® Version 3.8.8