By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,035 Members | 1,555 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,035 IT Pros & Developers. It's quick & easy.

Remote Command a Python Script

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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.