![]() |
Re: [Announce] SMScon (control your device with SMS)
Quote:
In my opinion checking an extra condition (on SIM change detection, on receiving any command, ...) would make things even more complicated than they are. What about a straight forward solution to have COM_ENABLE/COM_DISABLE commands that allow to modify settings remotely. So its explicitly up to the regular owner when he/she begins being interested in getting notifications about what happened with the phone. This would be analogous to the GPS location/tracking feature which also requires explicit command to make the phone sending notifications and when to stop. |
Re: [Announce] SMScon (control your device with SMS)
Quote:
|
Re: [Announce] SMScon (control your device with SMS)
Quote:
Now, discussing further the proposals my opinion would be to: - Remove completely the separate battery level messages. Include the state (i.e. charging/discharging) and value (i.e. % left) of the battery with any communication made. The idea is I would like to know if I have enough juice left to continue searching for the phone intensively or back off a little to allow longer period of activity. I don't need to know the battery level on 'normal' occasions. - Remove completely the separate slider open/close messages. In the case I ask for a front cam picture take it and send it after a second from the next keyboard slide open. Then I would get more/better chances of a picture with a face included (normally when one opens the keyboard moves the phone close and directed to the face in order to type and watch the screen). In the future, let's say in version 2.0 of SMSCON, I would like to see each action been executed in a separate thread/process. Then I could send a trackOn command and just after a front cam picture request. Each process will execute and return results when they complete. As usual my opinions only and open for discussion. |
Re: [Announce] SMScon (control your device with SMS)
Quote:
|
Re: [Announce] SMScon (control your device with SMS)
Quote:
If you mean how to replace the 1st password by the 2nd then the answer is: open SMSCON editor with 1st password. Then open the application-main-menu (the one located just left hand side of close button) and select "Change password". Enter the new password, click "Update". This "erases" the old password and replaces it by the new one. To be on save side, in versions before 0.9 passwords should consist of only 0-9, a-z or A-Z, BUT NO punctuation chars nor blanks or quotes. Let me know if you if you got it working now. ... and merry christmas! |
Re: [Announce] SMScon (control your device with SMS)
Quote:
|
Re: [Announce] SMScon (control your device with SMS)
Quote:
Why did you decide to go back to 0.7? |
Re: [Announce] SMScon (control your device with SMS)
Since I got no response to http://talk.maemo.org/showpost.php?p...&postcount=893 I wanted to look in the code myself.
But the program itself is compiled python an there is no source code available. Perhaps it is because of security reasons, but it makes tracking problems not that easy. Is it possible to get some levels of debug logging available instead? Just the message "ERROR: Daemon smscon_daemon failed to start." in the log doesn't give me a clue... |
Re: [Announce] SMScon (control your device with SMS)
Quote:
First, let me know which version you are using. In xterm please enter Code:
$ sudo smscon -version |
Re: [Announce] SMScon (control your device with SMS)
Quote:
My installed version is: 0.9.6 |
Re: [Announce] SMScon (control your device with SMS)
Quote:
Code:
$ smscon -stop Since we manage source in repository, we've been lazy in uploading packages to garage, sorry. Source for 0.9.6 can be found here: http://maemo.org/packages/source/vie...mscon/0.9.6-2/ |
Re: [Announce] SMScon (control your device with SMS)
Quote:
- The code is delivered in human readable/normal python format and is being compiled during installation. So extracting the deb files will give the full code. - The tar files you can find them (similar case for all of the free distribution packages) in http://maemo.org/packages/view/smscon/ - The SVN in Garage is set to open/anonymous access. I hope it is clear the source code has always been open and available. Merry Christmas to all |
Re: [Announce] SMScon (control your device with SMS)
[QUOTE=yablacky;1141687]OK, please in xterm enter following (as normal user):
Code:
$ smscon -stop Code:
user:~# smscon -stop Thanks for the link to the code, maybe it gives me a clue. |
Re: [Announce] SMScon (control your device with SMS)
@ade,
Do you have a SIM card in? And why you don't post your log? |
Re: [Announce] SMScon (control your device with SMS)
I do have a simcard inserted.
The log does not provide much extra information: Code:
2011-12-25 14:39:29[DAEMON] INFO: (EMAIL) Mailserver connection closed successful. |
Re: [Announce] SMScon (control your device with SMS)
Quote:
So we have to find out why the detection of specific processes in the process list does not work on your device. Could you please do the following: check if ps shows a process like "python /opt/smscon/smscon_daemon". Then enter (as normal user) Code:
$ pidof /opt/smscon/smscon_daemon |
Re: [Announce] SMScon (control your device with SMS)
Quote:
|
Re: [Announce] SMScon (control your device with SMS)
Quote:
When I add "-ef" to ps, I get: Code:
root 17181 1 2 15:22 pts/1 00:00:00 python /opt/smscon/smscon_daemon |
Re: [Announce] SMScon (control your device with SMS)
Quote:
Have fixed it for the next release. |
Re: [Announce] SMScon (control your device with SMS)
Quote:
I have installed bash and gnu tools, maybe that has overwritten the ps symlink, because I am not aware I have replaced ps for a non busybox one. Merry Christmas for the remainer of the day :) |
Re: [Announce] SMScon (control your device with SMS)
CHRISTMAS VERSION OF SMSCON AVAILABLE: 0.9.7
smscon 0.9.7-1 has been queued for loading into fremantle extras-devel repository CHANGES:
Enjoy it! |
Re: [Announce] SMScon (control your device with SMS)
No more error messages for me, thanks.
Just one minor thing: the pid now has the value if "root" instead of the pid number itself (INFO: Daemon smscon_daemon started [PID=root].). That must be because the busybox and gnu ps have a different order in output. No showstopper whatsover, just a cosmetic thing. Ehh, correction, it also influences the stop of smscon: Code:
user:~# smscon -stop |
Re: [Announce] SMScon (control your device with SMS)
Quote:
|
Re: [Announce] SMScon (control your device with SMS)
yablacky and Saturn - thanks for Your quick responses! I generally agree with all ideas You both have written, so just some highlights:
Quote:
Quote:
If we add it to my assumption (seems to be confirmed in logs), that program "think" first message sending failed, and immediately try to sending it again, we may have found reason. In later part of posted log, You can find something, going like "sending message failed" and following it "trying to re-send message after 15 min", but both executed in 1-2 seconds interval. Also, I'm 100% sure, that every click on "test" resulted in message send and received properly, so there should be none indication of "sending message failed", yet there is in logs. It seems, that smscon send message properly, then, for unknown reason, think it failed, and try to re-send it - immediately, instead of 15 minutes later (ignoring 15 min interval, again for reasons unknown). Successful sending of second message is acknowledged by smscon properly, so no other attempts are made. --- Just notified something - while e-mail account is encrypted in settings file properly, in smscon.log, it's written in plain text (if updating settings, where value of updated thing is also stored). Last time I posted log, I almost published it with my e-mail account data and password inside ;) I think it should be encrypted also, like in settings file (If it is possible), or at least people warned, to delete it from logs, after updating in settings. Let leave posting logs alone - it's just not very wise, to have e-mail account data and password written in plain text file, on '/opt/smscon/smscon.log' yablacky, thanks for such extensive work on this wonderful program, and Saturn, thanks for implementing controlling new features in Editor so quickly. I'm glad You both weren't scarred by my wall-of-text report ;) /Estel |
Re: [Announce] SMScon (control your device with SMS)
5 Attachment(s)
Quote:
I have kernel 48. Please I need your help. |
Re: [Announce] SMScon (control your device with SMS)
Quote:
Code:
$ sudo smscon -version Code:
$ smscon -init! |
Re: [Announce] SMScon (control your device with SMS)
NEW RELEASE OF SMSCON AVAILABLE SOON: 0.9.8-1
smscon 0.9.8-1 has been queued for loading into fremantle extras-devel repository Changes:
|
Re: [Announce] SMScon (control your device with SMS)
1 Attachment(s)
Quote:
|
Re: [Announce] SMScon (control your device with SMS)
Quote:
so that output means that the smscon application installation is broken (or might not be installed regularly et all?? :D ). An installation via application manager or dpkg would have make sure that a password is not asked from user. So how to proceed in your case? I recommend to de-install both, first smscon-editor then smscon via application manager. Then, when both apps are removed, enter xterm, become root and execute following commands: Code:
rm -rf /opt/smscon This is rigorous but may bring you back on the the track! Let me know your experience. |
Re: [Announce] SMScon (control your device with SMS)
Quote:
Thanks for reply, I did exactly your advice, but my problem continue.... I have the same images of post 946 :( |
Re: [Announce] SMScon (control your device with SMS)
Quote:
Code:
$ sudo smscon -version Then you might abort the story and follow the steps explained in post #905 |
Re: [Announce] SMScon (control your device with SMS)
3 Attachment(s)
Quote:
Hi. I had follow post #905 but with devel repositories and I have last version. Now I see version, but when I change password, this is not change. Do you recommend a reflash? |
Re: [Announce] SMScon (control your device with SMS)
Quote:
When I look in the code, there is a small chance that just the error message "The new password could not be stored." is wrong and that indeed the new password was stored correctly. Can you confirm the new password is active? Nevertheless I will fix that the error message could be wrong. So thank you for leading us to that potential problem. What happens if executing this as normal user in xterm: Code:
$ sudo /opt/smscon-editor/smsconEditorCreatePass "your_password_here" /opt/smscon-editor/smsconEditorPass |
Re: [Announce] SMScon (control your device with SMS)
1 Attachment(s)
Quote:
Only work with 12345 and each time that I do enter to smscon is the same that the first time :( Please I need help. |
Re: [Announce] SMScon (control your device with SMS)
Quote:
You have missed something or typed it wrongly. Report any errors and output you will see while executing. best is to copy/paste. |
Re: [Announce] SMScon (control your device with SMS)
Quote:
|
Re: [Announce] SMScon (control your device with SMS)
2 Attachment(s)
Quote:
Hi I followed instructions but after " 6. become root " I have a problem. Please see images. Also I can't open Ad. Aplications |
Re: [Announce] SMScon (control your device with SMS)
Quote:
|
Re: [Announce] SMScon (control your device with SMS)
Quote:
|
Re: [Announce] SMScon (control your device with SMS)
Quote:
To correct this "by hand", you need to become root. I guess you tried gainroot and as this didn't work, you tried to reinstall gainroot with the appmanager and this doesn't work either. If it happened like this I tend to say you need to get a fresh operating system on your phone ("reflash"). But this SMScon discussion is not the right thread to help you doing this. And in any case its on your own risk. If you have a backup then you might consider to install it (and I hope this is possible with broken sudo....). I'm sorry. PS: If you ever managed to become root without reflash, and the /etc/sudoers file is stil empty. Tell me. I can provide you a /etc/sudoers file that could work |
All times are GMT. The time now is 05:55. |
vBulletin® Version 3.8.8