Personal tools
Document Actions

remote tux operation

Up to General discussion

remote tux operation

Posted by eFfeM at April 01. 2008

Hi,




I am wondering if it is possible to remotely control my tux. E.g. what I would like to do is to start the tux gadget manager on a different PC than the one that is running the daemon. Guess this requires a change in the gadget manager (to enter the destination IP address).


Would that be all? Is this easy for a python n00b?


FM


Re: remote tux operation

Posted by Snouffelaire at April 01. 2008

I don't know exactly how to do this (meaning I don't know which modules you'll have to use) but the idea is nice and there is a simple way to achieve that... All you need is two scripts. One on each computer.


On the one with tux your script should watch a certain port on the ethernet adapter.


On the other one your script should send things through the same port to the right IP.





Now, if you really wanna use the gagdet manager, this may be a little bit harder 'cause you'd have to rewrite it... If I were you I'd just write two little scripts... Then, when you will have understood how this all works maybe you can try yourself at modifying the gadget manager.


Re: remote tux operation

Posted by eFfeM at April 01. 2008

Well my understanding is that the gadget manager talks to the daemon using tcp/ip (on port 5000), so I was hoping to get away with it by adding the ip address of the system the daemon runs on.


Powered by Ploneboard
You are here: Home Forum General discussion remote tux operation

Powered by Plone CMS, the Open Source Content Management System