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)

Saturn 2010-09-18 19:43

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

Originally Posted by WhiteWolf (Post 819870)
It always gives me error when trying to install "smscon-editor." I've tried every update and the installation always fails.

Error message:

dpkg: error processingsmscon-editor (- configure): subprocess post-installation script returned error exit status 255
Errors Were Encountered while processing: sms-editor
E: Sub-process / usr / bin / dpkg returned an error code (1)

Could you please do in xterm as root:
Code:

apt-get remove --purge smscon-editor
apt-get update
apt-get install smscon-editor

If that doesn't work, do then:
Code:


apt-get remove --purge smscon-editor
find / -name smscon*

and post here the result?

WhiteWolf 2010-09-18 20:28

Re: [Announce] SMScon (control your device with SMS)
 
/etc/sudoers.d/smscon.sudoers
/etc/event.d/smscon_boot
/opt/var/cache/apt/archives/smscon_0.4.4-4_armel.deb
/opt/var/cache/apt/archives/smscon_0.4.4-2_armel.deb
/opt/var/cache/apt/archives/smscon-editor_0.4.4-9_armel.deb
/opt/var/cache/apt/archives/smscon-editor_0.4.4-6_armel.deb
/opt/var/cache/apt/archives/smscon_0.4.4-3_armel.deb
/opt/var/cache/apt/archives/smscon-editor_0.4.4-8_armel.deb
/tmp/smscon.log
/var/lib/dpkg/info/smscon.list
/usr/bin/smscon_config
/home/opt/var/cache/apt/archives/smscon_0.4.4-4_armel.deb
/home/opt/var/cache/apt/archives/smscon_0.4.4-2_armel.deb
/home/opt/var/cache/apt/archives/smscon-editor_0.4.4-9_armel.deb
/home/opt/var/cache/apt/archives/smscon-editor_0.4.4-6_armel.deb
/home/opt/var/cache/apt/archives/smscon_0.4.4-3_armel.deb
/home/opt/var/cache/apt/archives/smscon-editor_0.4.4-8_armel.deb
/root/captura-smscon-file.txt

WhiteWolf 2010-09-18 20:47

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

/etc/sudoers.d/smscon.sudoers
/etc/sudoers.d/smscon-editor.sudoers
/etc/event.d/smscon_boot
/opt/usr/share/icons/hicolor/scalable/apps/smscon.png
/opt/usr/share/icons/hicolor/scalable/apps/smscon-editor.png
/opt/usr/share/icons/hicolor/64x64/apps/smscon.png
/opt/usr/share/icons/hicolor/64x64/apps/smscon-editor.png
/opt/usr/share/icons/hicolor/26x26/smscon.png
/opt/usr/share/icons/hicolor/26x26/apps/smscon-editor.png
/opt/usr/share/icons/hicolor/48x48/apps/smscon.png
/opt/usr/share/icons/hicolor/48x48/apps/smscon-editor.png
/opt/var/cache/apt/archives/smscon_0.4.4-4_armel.deb
/opt/var/cache/apt/archives/smscon_0.4.4-2_armel.deb
/opt/var/cache/apt/archives/smscon-editor_0.4.4-9_armel.deb
/opt/var/cache/apt/archives/smscon-editor_0.4.4-6_armel.deb
/opt/var/cache/apt/archives/smscon_0.4.4-3_armel.deb
/opt/var/cache/apt/archives/smscon-editor_0.4.4-8_armel.deb
/opt/smscon-editor
/opt/smscon-editor/smsconGUIelements.py
/opt/smscon-editor/smscon-editor.py
/opt/smscon-editor/smsconGUIelements.pyo
/tmp/smscon.log
/var/lib/dpkg/info/smscon-editor.postinst
/var/lib/dpkg/info/smscon-editor.conffiles
/var/lib/dpkg/info/smscon.list
/var/lib/dpkg/info/smscon.md5sums
/var/lib/dpkg/info/smscon.conffiles
/var/lib/dpkg/info/smscon-editor.list
/var/lib/dpkg/info/smscon-editor.md5sums
/var/lib/dpkg/info/smscon.postinst
/usr/bin/smscon_daemon
/usr/bin/smscon_config
/usr/bin/smscon
/usr/share/applications/hildon/smscon-editor.desktop
/usr/share/applications/hildon/smscon.desktop
/home/opt/usr/share/icons/hicolor/scalable/apps/smscon.png
/home/opt/usr/share/icons/hicolor/scalable/apps/smscon-editor.png
/home/opt/usr/share/icons/hicolor/64x64/apps/smscon.png
/home/opt/usr/share/icons/hicolor/64x64/apps/smscon-editor.png
/home/opt/usr/share/icons/hicolor/26x26/smscon.png
/home/opt/usr/share/icons/hicolor/26x26/apps/smscon-editor.png
/home/opt/usr/share/icons/hicolor/48x48/apps/smscon.png
/home/opt/usr/share/icons/hicolor/48x48/apps/smscon-editor.png
/home/opt/var/cache/apt/archives/smscon_0.4.4-4_armel.deb
/home/opt/var/cache/apt/archives/smscon_0.4.4-2_armel.deb
/home/opt/var/cache/apt/archives/smscon-editor_0.4.4-9_armel.deb
/home/opt/var/cache/apt/archives/smscon-editor_0.4.4-6_armel.deb
/home/opt/var/cache/apt/archives/smscon_0.4.4-3_armel.deb
/home/opt/var/cache/apt/archives/smscon-editor_0.4.4-8_armel.deb
/home/opt/smscon-editor
/home/opt/smscon-editor/smsconGUIelements.py
/home/opt/smscon-editor/smscon-editor.py
/home/opt/smscon-editor/smsconGUIelements.pyo
/home/user/captura-smscon-file.txt

onasre 2010-09-18 21:09

Re: [Announce] SMScon (control your device with SMS)
 
this is one of the best App for n900 Shuld Have been Built in for n900 ..

Pigro 2010-09-18 21:12

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

Originally Posted by digitalvoid (Post 819922)
@ Pigo:

SMSCON authenticates the login with a password. Before smscon was developed I couldn't get the ssh thing working with the keys file method. My server side machine is a Windows machine were "OpenSSH for Windows v4.2p1-1" is installed. Visited many tutorials on this but I gave up on the key auth. Password auth. worked right away.

yes, but my point is that anyone who already has reverse ssh tunnelling working with pubkey auth should (AFAIKj be able to take advntage of it regardless of your own experience, as long as all you do when processing "remote on" is to run ssh -R ... I can't think of a scenario where if your app ran that cmd on my phone, back to my own server, where it wouldn't use my existing, valid keys.

this is more a question for the guy enquiring whether it could use pub key than it is for you as the app developer - i just don't see why he'd need YOU to support pub key, as I think it will already be inherently supported by ssh itself as long as you config your phone & home ssh servers correctly? ... but I may have misunderstood (are you maybe calling ssh via a software library rather than as a straight shell coomand? If so, I guess that may allow you to force p/w auth only?)

mihapodb 2010-09-18 21:41

Re: [Announce] SMScon (control your device with SMS)
 
What are the correct email settings for gmail?

I think they are:
SMTP server: smtp.gmail.com
Port: 465
username: miha.podbevsek@gmail.com
password: hehe

And I do not get any mail when i test it. The recievers mail is the same: miha.podbevsek@gmail.com

zimon 2010-09-18 21:53

Re: [Announce] SMScon (control your device with SMS)
 
If you want to improve SMScon, a few feature requests:

1) settable (GUI) password to all SMS commands. Can be, and is initially empty.

I know, as previously discussed, one can now change all commands and for example put "mypassword_" prefix to every command, but when if SMS commands are added in the future, it would be nice just to be able to change this password in one field and not in every N fields.

2) SirenOn and SirenOff SMS commands. When got, the phone will set volume to the max and play preconfigured audio file over and over. Optionally could have a parameter which would set the audio volume 1 - 10.

3) All SMS commands which give reply to email/phone-number/*, could have an optional parameter where the result is to be sent.
For example:
<password> Location mynewemail@foo.bar.invalid
<password> Location +3101234567
This can be usefull for example if you are abroad and your phone is stolen. You may not be able to get into your emai account, neither the phone number in the settings is useful for some reason. If you buy a prepaid SIM-card and a cheap phone, or lend one, you can control your stolen phone immediately.

The different type of parameters can be easily recognized by their syntax: "starting with +" means phone number, having "*@*" means email address, having "*@*:*" means username+host+portnumber.

For these parameters the feature request 1), the settable password, is a MUST, for obvious reasons. Initially when SMScon is installed and password is not set, feature 3) should be disabled.

Other example of having a parameter:
<password> RemoteOn newuser@some.host.invalid:2222
<password> TrackOn mynewemail@foo.bar.invalid

Later, if those would be implemented, also SMTP-server, a port number and a password could follow the email-type-parameter.
<password> TrackOn mynewemail@foo.bar.invalid smtp.netcafe.invalid 25 passwordForNetcafeSMTP

Also why not having ...
<password> netuser/password@some.host.invalid:2222
...type of parameters for RemoteOn, so the password is there also.

Without parameters in the SMS message SMScon would work as it now works, according the settings in the init-file.

mrbiggzz79 2010-09-18 22:47

Re: [Announce] SMScon (control your device with SMS)
 
hey guys which email services work with this. and how do you vote for this app this is awsome

Saturn 2010-09-18 23:08

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

Originally Posted by mrbiggzz79 (Post 820130)
hey guys which email services work with this. and how do you vote for this app this is awsome

Thanks, you can vote for promotion to extras:
SMSCON
SMSCON Editor

But read first here on voting, if you haven't already.

I'm sorry that I can't help you on the email service question.

Saturn 2010-09-18 23:12

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

Originally Posted by mihapodb (Post 820094)
What are the correct email settings for gmail?

I think they are:
SMTP server: smtp.gmail.com
Port: 465
username: miha.podbevsek@gmail.com
password: hehe

And I do not get any mail when i test it. The recievers mail is the same: miha.podbevsek@gmail.com

As you can read in the wiki:
Quote:

at the moment SMSCON can only connect to a smtp server (for sending email) without secure authentication. (will be solved in the future I hope).
gmail requires authentication, so it won't work.


All times are GMT. The time now is 18:24.

vBulletin® Version 3.8.8