471,336 Members | 1,253 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,336 software developers and data experts.

Remote Command a Python Script

Hello,

I've installed Python 2.5 on my WRT54G Linksys Router. On this router
a script is executed. This script write a little Pickle database in
the router memory.

I would like to write another Python script which will be able to :

1. Stop and start the remote script from my Windows Computer. At
present I use Putty to connect to the router by the SSL, then I
manually kill the python process.

2. Retrieve the little database located in router memory and backup it
on my Window PC. At present I use WinSCP (like FTP) to get the pickle
file.

Can you help me with that (modules to use, useful code snippets)

Thank a lot,

Maxime

Sep 21 '07 #1
2 3252
Ulysse wrote:
Hello,

I've installed Python 2.5 on my WRT54G Linksys Router. On this router
a script is executed. This script write a little Pickle database in
the router memory.

I would like to write another Python script which will be able to :

1. Stop and start the remote script from my Windows Computer. At
present I use Putty to connect to the router by the SSL, then I
manually kill the python process.

2. Retrieve the little database located in router memory and backup it
on my Window PC. At present I use WinSCP (like FTP) to get the pickle
file.

Can you help me with that (modules to use, useful code snippets)
Check out pyro.

Diez
Sep 21 '07 #2
Ivo
Ulysse wrote:
Hello,

I've installed Python 2.5 on my WRT54G Linksys Router. On this router
a script is executed. This script write a little Pickle database in
the router memory.

I would like to write another Python script which will be able to :

1. Stop and start the remote script from my Windows Computer. At
present I use Putty to connect to the router by the SSL, then I
manually kill the python process.

2. Retrieve the little database located in router memory and backup it
on my Window PC. At present I use WinSCP (like FTP) to get the pickle
file.

Can you help me with that (modules to use, useful code snippets)

Thank a lot,

Maxime
or SPyRO
Sep 21 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by student | last post: by
16 posts views Thread by diffuser78 | last post: by
1 post views Thread by diffuser78 | last post: by
4 posts views Thread by Tom | last post: by
3 posts views Thread by joja15 | last post: by
reply views Thread by srinivasan srinivas | last post: by
4 posts views Thread by Keith Hughitt | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.