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)

impeham 2010-09-24 17:18

Re: [Announce] SMScon (control your device with SMS)
 
Sms commands not working for me:
i tried smscon -status and got:
smscon_daemon is running.
smscon -log shows nothing about the SMSs i sent to the device. it ignored all commands i sent - Camera, Lock etc.
using the "Test" emails worked fine, but it currently seems that the application is not processing the SMS messages i send to the phone.

Any idea?

digitalvoid 2010-09-24 17:39

Re: [Announce] SMScon (control your device with SMS)
 
Which version are you using? (use latest: 0.4.4-6)

impeham 2010-09-24 19:24

Re: [Announce] SMScon (control your device with SMS)
 
yes the command line shows v0.4.4-6

zerocool2k 2010-09-25 01:47

Re: [Announce] SMScon (control your device with SMS)
 
This is kinda feature requests: Can you put password to access SMScon Editor? Just to protect those commands more effectively.

Also, can you configure it so that it tries wifi first and then if it's not available, switches to cellular data network?

DojwqIO 2010-09-25 02:56

Re: [Announce] SMScon (control your device with SMS)
 
Hi. I'm using version v0.4.4-6 and most things I've tried seem to work fine, including check, reboot, location, camera (have to test in daylight), and lock.

Not sure what 'power' does since I haven't tried it. Does it power on the device from an off state? I guess power off turns it off?

Does trackon continuously record the gps location?

However, even though I have set KEYBOARDDETECT = 'yes'
in the config file, I am not getting any notifications of keyboard use.
Any suggestions?

Also, for the ssh reverse tunnel, can I change the port in my server to which I connect to the N900? I already have a proxy server running on port 8080 on my home server. How about something like 12000 to connect to the N900 via:
ssh -p 12000 localhost -l root

Thanks for a great application.

DojwqIO 2010-09-25 06:25

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

Originally Posted by fnordianslip (Post 793202)
Actually, a potentially good idea might be to set up an 'smscon' user on the server machine, with no privileges and no login shell.

Then, in the N900's /home/user/.ssh/config, specify for the server host the specific private key (with IdentityFile) to be used to connect to the server, and specify the User as smscon. You would then need to generate a special key pair for the smscon user, with no passphrase.

That way, your normal private keys can have passphrase protection, but the one used by SMScon to make the ssh connection to the server can't compromise accounts on other machines, but should be able to set up the tunnels.

I've not actually tried this, but I think it could work in practice.

This would work great, I think. Do you know how to create an ssh user with no privileges and, especially, no login shell?
I tried reading about chroot jail and rssh, but these options still give the user some type of limited shell, don't they? I googled but did not find how to allow only tunnelling with no shell access. Any pointers?

Thanks,

digitalvoid 2010-09-25 07:51

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

Saturn is busy with the password access for SMSCON-editor, so I will come in near future.

"Also, can you configure it so that it tries wifi first and then if it's not available, switches to cellular data network?
"

To implement this not as easy as it sound and makes things quite complicated, but I think in theory it can be done.

@ DojwqIO:

COM_POWER show you the current battery charge percentage (returns SMS).

COM_TRACKON will continiously send the GPS coordinates with SMS or email to you.

The port can be adjusted in the smscon_daemon file (look at "LocalPort" under "variables")

Keyboard use is opening/closing the keyboard slider.

zerocool2k 2010-09-25 09:10

Re: [Announce] SMScon (control your device with SMS)
 
Thanks for the reply. I don't know what happened but when I upgraded SMScon Editor earlier (when newer SMScon wasn't up), it automatically uninstalled SMScon. Is this normal?

Saturn 2010-09-25 09:24

Re: [Announce] SMScon (control your device with SMS)
 
Find the new version of the SMSCON Editor v. 0.4.4-12 in extras.
http://maemo.org/packages/view/smscon-editor/

Cumulative updates since previous version:
* Added support for new option to send GPS coordinates to both email and sms.
* Increased the size of the username fields - useful with gmail and such.
* Removed smscon from the dependencies (to allow promotion in extras)

Some more information and screenshots in the wiki page of SMSCON Editor (needs work still!)

Feel free to report issues.

On other news:
-I have found how to password protect the startup of the editor in a simple and nice way. It needs still quite some work to be fully integrated but will come in a future version eventually.

- Don't forget to vote in testing for the packages promotion. Here are the links:
SMSCON ,
SMSCON-Editor

n900testa 2010-09-25 13:28

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

Originally Posted by impeham (Post 825400)
Sms commands not working for me:
i tried smscon -status and got:
smscon_daemon is running.
smscon -log shows nothing about the SMSs i sent to the device. it ignored all commands i sent - Camera, Lock etc.
using the "Test" emails worked fine, but it currently seems that the application is not processing the SMS messages i send to the phone.

Any idea?

Same for me. None of the commands trigger a reply (sms or email). The "test" works just fine for gps, call and picture...
Version: 0.4.4-6
Status: Daemon is running
Log: No incoming (received) sms commands are listed

Any ideas what this might be up to?


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

vBulletin® Version 3.8.8