LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Enterprise (https://www.linuxquestions.org/questions/linux-enterprise-47/)
-   -   Question about controlling linux box through a mobile phone (https://www.linuxquestions.org/questions/linux-enterprise-47/question-about-controlling-linux-box-through-a-mobile-phone-191384/)

Etxeberia 06-09-2004 02:46 AM

Question about controlling linux box through a mobile phone
 
Hi everyone, I am dealing with Redhat Linux since Redhat 5.0 and recently with Debian which I find much interesting. I hold a Linux server and because of possible problems happening there I thought to make an interactive system through Linux and a mobile phone. My thought is to establish an interactive communication, for example when a service is stopped a sms notify me and I reply with a new sms to Linux server to fix the problem, for example a sms could be for restarting the apache, /etc/rc.d/init.d/httpd restart and so on.
I have made some simple scripts through cron but its role is only for information, its one way communication and my goal is to send bash commands through sms.
Has anyone make any effort to do something like this?
Any help, info sites could be welcomed.

Thanks.

MS3FGX 06-09-2004 09:20 PM

Bash through SMS? That would be like controlling a Mars rover...

You would be better off using SSH on your phone and using SMS only for data from the server. Only a few phones have a working port of SSH though. I know you can get it for Sony Ericsson phones, which is good because you can get the chatboard for it.

I suppose if you really wanted to, you could create some scripts to go through an incoming email and pass the text inside it to Bash, but man, that would be brutal.

Etxeberia 06-14-2004 02:53 AM

I have made some scripts but I am searching for an overall good solution. Anyway recently I discovered this one http://www.wordhord.co.uk/pysms.html and I am going to try it if it's worth about.

Thanks for quick answer.
Cu.


All times are GMT -5. The time now is 02:35 AM.