Notices


Reply
Thread Tools
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#841
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
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!

Last edited by Estel; 2011-11-16 at 02:45.
 
nicholes's Avatar
Posts: 1,103 | Thanked: 368 times | Joined on Oct 2010 @ india, indore
#842
Originally Posted by Estel View Post
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
__________________
N900 gave me a reason to live in this cruel world

get your smooth live wallpaper today
My YouTube videos
 
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#843
Thanks for replying, but...

Originally Posted by Estel View Post
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
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 
Saturn's Avatar
Posts: 1,648 | Thanked: 2,122 times | Joined on Mar 2007 @ UNKLE's Never Never Land
#844
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.
 

The Following User Says Thank You to Saturn For This Useful Post:
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#845
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
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 
Saturn's Avatar
Posts: 1,648 | Thanked: 2,122 times | Joined on Mar 2007 @ UNKLE's Never Never Land
#846
Originally Posted by Estel View Post
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's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#847
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

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.
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!

Last edited by Estel; 2011-11-16 at 21:08.
 
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#848
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
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

The Following User Says Thank You to Estel For This Useful Post:
Saturn's Avatar
Posts: 1,648 | Thanked: 2,122 times | Joined on Mar 2007 @ UNKLE's Never Never Land
#849
Originally Posted by Estel View Post
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..
 

The Following 4 Users Say Thank You to Saturn For This Useful Post:
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#850
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
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 14:41.