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)

Estel 2011-11-15 01:50

Re: [Announce] SMScon (control your device with SMS)
 
I got strange problem with smscon. Everytime I try to start smscon-editor, it prompts me for password - ho ever, nor root password or user one (I've password set for user) is accepted.

In fact, I've installed smscon "centuries" ago, as one of first program after acquiring N900, so it's quite likely, that I missed something on that point (i.e. created password upon installation, that I don't remember now).

I've tried apt-get purge + manual deletion of "remnant" files, to no avail. Is there any way for me to "unlock" it? I would like to - finally - be able to set tuned and correct parameters... Better safe than sorry.

/Estel

nicholes 2011-11-15 14:52

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

Originally Posted by Estel (Post 1123702)
I got strange problem with smscon. Everytime I try to start smscon-editor, it prompts me for password - ho ever, nor root password or user one (I've password set for user) is accepted.

In fact, I've installed smscon "centuries" ago, as one of first program after acquiring N900, so it's quite likely, that I missed something o nthat point (i.e. created password upon installation, that I don't remember now).

I've tried apt-get purge + manual deletion of "remnant" files, to no avail. Is there any way for me to "unlock" it? I would like to - finally - be able to set tuned and correct parameters... Better safe than sorry.

/Estel

try to uninstall first and then delete as root the
/opt/smscon-editor folder

when you re-install you will need to setup all and the pass will be the default

Estel 2011-11-15 20:38

Re: [Announce] SMScon (control your device with SMS)
 
Thanks for replying, but...

Quote:

Originally Posted by Estel (Post 1123702)
I've tried apt-get purge + manual deletion of "remnant" files, to no avail.

So, of course, I've already tried it - with /opt/smscon/ , /opt/smscon-editor/ , and something in /home/user/ related to sms too.

So, I'm still waiting for some suggestion, cause every attempt failed. To the level, that my N900 hanged during [i]n[/n] installation of smscon, to the point that I needed to hold power button, to disable it hard way, after 30 minutes or so. Of course, hanging during installing was critical for optfs, and even fsck wasn't able to restore it (journal was trashed), so I ended up restoring backup (via backupmenu) - my second situation, when I was "forced" to recover backup, up to date ;)

/Estel

Saturn 2011-11-15 23:12

Re: [Announce] SMScon (control your device with SMS)
 
I Haven't seen this ever happening and i develop in my device!
Cannot also think how it could get trigger such a behaviour unless you have some corrupted system libraries.

My proposal is to reinstall, then UNinstal, reboot and delete the smscon-editor folder.

Good luck, let me know if you need more help.

Estel 2011-11-16 02:46

Re: [Announce] SMScon (control your device with SMS)
 
thanks Saturn, will try. BTW, normally, "which" password should be accepted, to start up smscon? root one, user one, or some "internal" password of smscon? I'm asking, cause I would like to know correct behavior (i.e. what I'm trying to achieve) while trying to fix my problematic one ;)

/Estel

Saturn 2011-11-16 18:29

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

Originally Posted by Estel (Post 1124182)
thanks Saturn, will try. BTW, normally, "which" password should be accepted, to start up smscon? root one, user one, or some "internal" password of smscon? I'm asking, cause I would like to know correct behavior (i.e. what I'm trying to achieve) while trying to fix my problematic one ;)

/Estel

since when did you become lazy and cant read the wiki? :)

it is 12345

Estel 2011-11-16 19:05

Re: [Announce] SMScon (control your device with SMS)
 
Yea, figured it out already - was in way to write about it here, but You were faster. Shame on me, ash on head etc. Really :o

I've managed to get it working - thanks for Your suggestion. I also noticed, that using *any* method of deinstallation (regular, purge, whatever) apt-get report about *not* being able to delete things in /opt/, due to "folder not empty". Still, I haven't put any files on it manually - everything there was created during installation, or by smscon/smscon-editor. As result, everything is left instact there (files created during installation also) This error occurs, when trying to "purge" - which, essentially, makes automatically purging it impossible. Need to delete everything manually.

---

I was able to use it, and daemon/startup on boot/configuring via smscon-editor works. Testing via "test" tab also. Ho ever, I noticed few glitches:

1. Prefix (commands tab) - this option seems to be non-working at all. Saving setting (with "Prefix" set) doesn't write at all to smscon config. After closing and re-opening smscon-editor, prefix field is also empty.

2. Despite testing/initializing etc being working great, I can't use sms commands, that I've set. No matter what I'm doing, SMS is received normally, and no defined action is taken by device. I use space inside my commands (checked in wiki that it's ok), and filtered out possible typos. Tried both with prefix (that seems to be non-working anyway), and without. Overall, "Wasted" many sms'es trying to test any possible scenario (including normal sms'es and flash sms'es) - to no avail.

The only thing I can think of, is that I'm using smsend - but, it should not matter, as SMS'es are received normally, saved in conversation etc.

Also, for testing purposes, number "authorized" to send sms commands, is same numer, that is currently inside my N900 - i.e. I'm sending sms'es to myself (for testing purposes). Common sense tells me that it should not matter, but, should I test it from other phone?

Any ideas greatly appreciated.

/Estel

// Edit

Another bug found - there is no setting (in smscon-editor) to disable reverse ssh possibility, but if user delete values from writeable fields (host, port etc), it's possible to save settings. Then, on next start of smscon-editor, a "Critical failure in user config" is reported, and smscon-editor refuses to start. I've fixed it, by manually editing smscon config, and adding random value to reverse ssh fields.

Estel 2011-11-17 19:30

Re: [Announce] SMScon (control your device with SMS)
 
Something else is also not all-right. Since configuration and testing, my phone is - on it's own - connecting to cellular data (3,5G or 2G, depending on what is available). It's doing it *only*, when I'm not connected to wifi.

I'm absolutely sure, that option "remote host" (this one responsible for checking state of file on remote host, and interpreting it as command) is turned "off" - both in smscon editor, and in smscon config file.

Of course, after testing I've used "tests done", I've also tried disabling and enabling again smscon_daemon - to no avail. Even restoring (both reset and initialize) + setting my own commands again, doesn't fix this issue.

As I don't have "unlimited" data plan, I'm "forced" to uninstall smscon, due to it being eating bandwidth from my data plan - not to mention battery life - when random connection occur.

Any hints greatly appreciated.

/Estel

Saturn 2011-11-17 21:59

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

Originally Posted by Estel (Post 1125145)
Something else is also not all-right. Since configuration and testing, my phone is - on it's own - connecting to cellular data (3,5G or 2G, depending on what is available). It's doing it *only*, when I'm not connected to wifi.

I'm absolutely sure, that option "remote host" (this one responsible for checking state of file on remote host, and interpreting it as command) is turned "off" - both in smscon editor, and in smscon config file.

Of course, after testing I've used "tests done", I've also tried disabling and enabling again smscon_daemon - to no avail. Even restoring (both reset and initialize) + setting my own commands again, doesn't fix this issue.

As I don't have "unlimited" data plan, I'm "forced" to uninstall smscon, due to it being eating bandwidth from my data plan - not to mention battery life - when random connection occur.

Any hints greatly appreciated

/Estel

Goto internet settings and choose your preference.
After being activated once this has been set to GPRS. Most probably you had it to WLAN.


BTW, a new much improved version is on its way..

Estel 2011-11-18 00:25

Re: [Announce] SMScon (control your device with SMS)
 
Oh f***, could checked that myself. Still, I haven't idea that it could overwrite it - there was no sign of such behavior, nor any mentioning about it in wiki (or I missed something again?), so I've been messing only with smscon config purging (manually)

It's great to hear, that improved version is coming, thanks, Saturn. I hope my bug reports were of any help :)

I don't know if it is relevant now, but, while "fighting" with auto-connection - after using "Initialize" option, notification about clearing config etc. appear, stating that program will now exit. Ho ever, after closing notif., it doesn't - it just hang up totally, need to kill it from Maemo. Happen every time this option is used, 100% reproduceable.

/Estel


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

vBulletin® Version 3.8.8