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)

Dante 2010-10-10 15:38

Re: [Announce] SMScon (control your device with SMS)
 
hi. the new password is just letters and a space. and yes. i remember changing the password,exiting the app, reentering and it worked. is there a way to delete the password file and start over?

editing/deleting files in opt/smscon-editor?

Saturn 2010-10-10 16:06

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

Originally Posted by Dante (Post 837749)
hi. the new password is just letters and a space. and yes. i remember changing the password,exiting the app, reentering and it worked. is there a way to delete the password file and start over?

editing/deleting files in opt/smscon-editor?

If you added a space in the password then the update never happened.
Can you try 12345

Sorry, I will add some protection in a future version (I really didn't expect people to use passwords with spaces - stupid of me.)

Edit: just for info, the password stored is short of unbreakable (i.e. md5sum). There are several ways (not gonna start mentioning them here) to bypass it and open the editor but your password is safe :)

zimon 2010-10-10 18:51

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

Originally Posted by digitalvoid (Post 837665)
New version of smscon is released to Extra-devel (v0.5-6)

Changelog:
....[*] CHANGE / FIX: if USER & PASSWORD setting is empty, email sending to smtp server is done without user & password authentication. /* UNTESTED */
....[/LIST]

Seems to work now. At least the test from SMSCON-Editor with front camera came through OK.

When I tried to send Location test after that, smscon_daemon stopped for some reason. The log:
Code:

DAEMON INFO: internet connection behaviour already set to "GPRS"
DAEMON INFO: starting GPS device in location mode
DAEMON INFO: start collecting GPS coordinates
DAEMON INFO: GPS coordinate acquired (#1, xx.183901, xx.954931, 99.8 m.)
DAEMON INFO: GPS coordinate acquired (#2, xx.183787, xx.954807, 43.0 m.)
DAEMON INFO: most accurate GPS coordinate (xx.183787, xx.954807, 43.0 m.)
DAEMON INFO: created GPS coordinate map
DAEMON INFO: (EMAIL) trying to connect to "smtp.xxxx.xx"
DAEMON INFO: (EMAIL) trying to send email to "smtp.xxxx.xx"
DAEMON INFO: send email GPS coordinate map to "zimon@xxxx"
DAEMON INFO: (EMAIL) mailserver connection closed
DAEMON INFO: restoring saved GPRS network (<OPERATOR> WAP 2.0)
DAEMON INFO: GPRS network (<OPERATOR> WAP 2.0) already connected
DAEMON INFO: smscon_daemon has stopped

It somehow tells it would be using WAP 2.0 IAP, although I don't think it is using that IAP but the correct full internet IAP. At least all the time I have had ssh connection active, so I do not think it is using that WAP IAP although the log says it would.

After this I restarted smscon_daemon and tried to send Location test email again with SMSCON-Editor, but same thing:
DAEMON INFO: smscon_daemon has stopped

Edit:
I tried again, just to send FrontCamera test email. It sent it, I also received it, but after that smscon_daemon stopped again:
....
DAEMON INFO: internet connection behaviour not used
DAEMON INFO: smscon_daemon has stopped

The location test mails never came, so it does not send them.

PontusOhman 2010-10-10 20:12

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

Originally Posted by digitalvoid (Post 837665)
[*] FIX: smscon can, in specific case, send to wrong phone number when activated & receives hereafter a non-SMSCON command SMS message from another phone number.

I'm glad to hear that this is fixed :D And I'm glad to contribute with my bughunt to fix this app *hehe*

Will purge the one I got installed and update to the new one and try it out =)

Cheers

Saturn 2010-10-10 20:33

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

Originally Posted by PontusOhman (Post 837904)
I'm glad to hear that this is fixed :D And I'm glad to contribute with my bughunt to fix this app *hehe*

Will purge the one I got installed and update to the new one and try it out =)

Cheers

Thanks for testing.

No need to purge, just update.

digitalvoid 2010-10-10 21:23

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

Originally Posted by zimon (Post 837852)
Seems to work now. At least the test from SMSCON-Editor with front camera came through OK.

When I tried to send Location test after that, smscon_daemon stopped for some reason. The log:
Code:

DAEMON INFO: internet connection behaviour already set to "GPRS"
DAEMON INFO: starting GPS device in location mode
DAEMON INFO: start collecting GPS coordinates
DAEMON INFO: GPS coordinate acquired (#1, xx.183901, xx.954931, 99.8 m.)
DAEMON INFO: GPS coordinate acquired (#2, xx.183787, xx.954807, 43.0 m.)
DAEMON INFO: most accurate GPS coordinate (xx.183787, xx.954807, 43.0 m.)
DAEMON INFO: created GPS coordinate map
DAEMON INFO: (EMAIL) trying to connect to "smtp.xxxx.xx"
DAEMON INFO: (EMAIL) trying to send email to "smtp.xxxx.xx"
DAEMON INFO: send email GPS coordinate map to "zimon@xxxx"
DAEMON INFO: (EMAIL) mailserver connection closed
DAEMON INFO: restoring saved GPRS network (<OPERATOR> WAP 2.0)
DAEMON INFO: GPRS network (<OPERATOR> WAP 2.0) already connected
DAEMON INFO: smscon_daemon has stopped

It somehow tells it would be using WAP 2.0 IAP, although I don't think it is using that IAP but the correct full internet IAP. At least all the time I have had ssh connection active, so I do not think it is using that WAP IAP although the log says it would.

After this I restarted smscon_daemon and tried to send Location test email again with SMSCON-Editor, but same thing:
DAEMON INFO: smscon_daemon has stopped

Edit:
I tried again, just to send FrontCamera test email. It sent it, I also received it, but after that smscon_daemon stopped again:
....
DAEMON INFO: internet connection behaviour not used
DAEMON INFO: smscon_daemon has stopped

The location test mails never came, so it does not send them.

The test options, when finished, always stop the daemon. This is intended behaviour (it's only a partial simulation to test the connection & selected function).

Could you send me your output from:

Code:

gconftool -R /system/osso/connectivity/IAP | grep IAP
I would like to see wat is causing your problem. Are you using multiple SIM cards?

Dante 2010-10-10 21:29

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

Originally Posted by Saturn (Post 837767)
If you added a space in the password then the update never happened.
Can you try 12345

Sorry, I will add some protection in a future version (I really didn't expect people to use passwords with spaces - stupid of me.)

that was the second one that i tried. still no luck. is there seriously no way to just delete the thing? wouldnt the editor start over then?

EDIT: got it working! i just uninstalled it. deleted the smscon-editor folder in home/user/ and reinstalled. all my settings were still there and the password has been reset to 12345. this time i changed it for one that doesnt have spaces =D thanks anyway.

zimon 2010-10-10 22:47

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

Originally Posted by digitalvoid (Post 837956)
The test options, when finished, always stop the daemon. This is intended behaviour (it's only a partial simulation to test the connection & selected function).

Ah ok, so one has to restart daemon then after each test.
Hmm...this is maybe stupid question, but why it has to stop daemon after the test?

digitalvoid 2010-10-11 07:20

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

Originally Posted by zimon (Post 838009)
Ah ok, so one has to restart daemon then after each test.
Hmm...this is maybe stupid question, but why it has to stop daemon after the test?

To switch back to the previous connected data connection (WLAN, GPRS or no connection) and to set the Internet Connection behaviour back to it original setting (ASK, ANY, WLAN or GPRS) after the connection & function test.

zimon 2010-10-11 13:28

Re: [Announce] SMScon (control your device with SMS)
 
From: http://wiki.maemo.org/SMSCON#Commands
Quote:

detect SIM card change and sends new SIM card phonenumber, IMSI code & telecom operator name to other known mobile number (returns SMS message); if somebody has stolen your phone and put his/hers own SIM card in it.
Haven't tested this (all these should be testable from SMSCON-Editor IMO), but I guess it sends only the latest IMSI-code back?
It wouldn't hurt to send ALL IMSI-codes it finds somehow (from gconf IAPs for example) in time decending order, as much what can be fit to 160 (SMS) characters at least.
Also, why not getting back all WLAN-MACs it finds from gconf with some SMSCON command.


All times are GMT. The time now is 12:10.

vBulletin® Version 3.8.8