Home > Archive > Home Automation > June 2006 > Sending commands between Linux and Windows









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Sending commands between Linux and Windows
Renoir

2006-05-07, 11:21 pm

I run all my X10 hardware on my PC, and alot of other applications on my
dedicated Linux server (Fedora Core 3).

What I want to be able to do is have scripts run commands on the other
machine in response to events. For instance, if my Apache server goes down,
the Linux server tells the PC to ring an X10 chime and turn on a light. Or
if I get frontdoor motion, the PC tells the Linux server to log the event in
a secured web directory.

The problem is that, as obvious as the issue seems to be, I can find no
solutions. I'm thinking something like rsh would do the trick, but I can't
find any decent and free rsh stuff for Windows/XP. I found some choppy
source codes for a Windows port of rshd that I couldn't compile, but I
couldn't find any ready solution.

Does anybody have good solutions for this? And does anybody have a good rsh
client and server for a Windows XP machine?

Thanks
Curtis


przemek klosowski

2006-06-03, 1:21 am

On Mon, 08 May 2006 00:34:02 +0000, Renoir wrote:

> I run all my X10 hardware on my PC, and alot of other applications on my
> dedicated Linux server (Fedora Core 3).
>
> What I want to be able to do is have scripts run commands on the other
> machine in response to events. For instance, if my Apache server goes


I'd try via web CGI type interfaces---you don't have to install additional
services, deal with firewalls, etc. On Linux, it's as simple as having
a file in the cgi-bin directory that is executed by the server when the
URL mentioning it is given to the server.
LinkBot





Other archives available: Cellular phones topics archive | Web Design forum archive | Software help archive | Hardware reviews archive | Programming topics archive

Copyright 2004 - 2008 homeownerschat.com