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)

SaintGermain 2010-09-18 13:04

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

Thanks for this useful app.
Here are a few feedbacks:
  1. After receiving a 'Lock' command, if the device is unlocked with the correct password, smscon continues to send updates about the Keyboard being opened or closed. I don't know if it is an intended behavior or not.
  2. A "Wipe device" feature would be very interesting (I think that the chances of finding your device when lost/stolen are quite slim...)
  3. My openSSH server use public key authentification as it is more secure. Can you add an option to use this kind of connection ?
  4. I haven't managed to make the reverse-SSH connection works, though I can manage to connect directly by using "ssh -p port_number user@ip_address". Is there a way for me to debug the connection problem ? Using smscon -log, I can see that the GPRS connection is successful but the connection to the SSH server is refused (DAEMON ERROR: ssh connection failure). Server side, I didn't see anything coming from the N900.

dragly 2010-09-18 14:52

Re: [Announce] SMScon (control your device with SMS)
 
I have been trying this application a couple of times now, without luck. I have sent messages with commands like "Check", "Lock" and "Location" to my cell phone number without anything happening.

I have set the phone number to my own phone, and am sending messages from my own phone (but I have tried to send from someone else's as well). All other settings are left as default (i.e. SSH and E-mail are still xxxxxxxx since I just wanted to test the sms features first). Could any of this be the issue? I have both tried to set the settings manually and using the editor.

I was wondering if there is any way I could debug this. Is there supposed to be any log messages about recieved sms messages in smscon? If there is nothing else wrong with my configuration I'm starting to wonder if there is something wrong with my device. I've earlier had some trouble with the Qt mobility libraries in terms of reacting to recieved SMS messages.

digitalvoid 2010-09-18 15:26

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

Originally Posted by SaintGermain (Post 819738)
Hello,

Thanks for this useful app.
Here are a few feedbacks:
  1. After receiving a 'Lock' command, if the device is unlocked with the correct password, smscon continues to send updates about the Keyboard being opened or closed. I don't know if it is an intended behavior or not.
  2. A "Wipe device" feature would be very interesting (I think that the chances of finding your device when lost/stolen are quite slim...)
  3. My openSSH server use public key authentification as it is more secure. Can you add an option to use this kind of connection ?
  4. I haven't managed to make the reverse-SSH connection works, though I can manage to connect directly by using "ssh -p port_number user@ip_address". Is there a way for me to debug the connection problem ? Using smscon -log, I can see that the GPRS connection is successful but the connection to the SSH server is refused (DAEMON ERROR: ssh connection failure). Server side, I didn't see anything coming from the N900.

Thank for your feedback!

1) it is intended (but maybe I will change it to only once).

2) A Wipe feature could be done, but It's very destructive.

3) I tried to use it with public key authentification but somehow I couldn't get it to work.

4) I will add in future release more log on seting up ssh connection.

digitalvoid 2010-09-18 15:29

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

Are you sure that smscon is running?

In X-terminal as root:
Code:

smscon -status

WhiteWolf 2010-09-18 16:20

Re: [Announce] SMScon (control your device with SMS)
 
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)

joshv06 2010-09-18 16:47

Re: [Announce] SMScon (control your device with SMS)
 
^Same here.

Pigro 2010-09-18 16:49

Re: [Announce] SMScon (control your device with SMS)
 
re the reverse ssh and public key - surely, if you have already got public kays set up on N900 and openSSH then when the ssh -R command is run on N900 in response to the SMSCON command, it will use the public key in preference to a password (as long as you have enabled both methods in your sshd_config file, and your N900's public key is in your server's authorized_keys file)?

I have that setup (with password auth disabled) and when I connect to my remote tunnel it first tries using public key auth before it drops back to password. I may have msunderstood how SMSCON sets up the remote SSH - but IIRC there is no option to send a password in the ssh command itself, so as long as your keys are present & correct, it *should* just use the keys without any need for SMSCON to provide a password?

I am thinking of installing SMSCON as an alternative to an "always on" reverse ssh session, so please advise if there's some reason why public key auth couldn't work with it's present setup.

dragly 2010-09-18 17:24

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

Originally Posted by digitalvoid (Post 819841)
@ dragly:

Are you sure that smscon is running?

In X-terminal as root:
Code:

smscon -status

I get the following output:

Code:

# smscon -status
smscon_daemon is running.

So I suppose it is running.

digitalvoid 2010-09-18 17:26

Re: [Announce] SMScon (control your device with SMS)
 
@ 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.

digitalvoid 2010-09-18 17:28

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

Originally Posted by dragly (Post 819917)
I get the following output:

Code:

# smscon -status
smscon_daemon is running.

So I suppose it is running.

It is, please post you log (XXXXX out the sensitive information).


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

vBulletin® Version 3.8.8