l Message-
From: tutor-bounces+evosweet=hotmail@python.org
[mailto:tutor-bounces+evosweet=hotmail@python.org] On Behalf Of Rayon
Sent: 19 November 2011 08:41
To: 'James Chapman'; tutor@python.org
Subject: Re: [Tutor] python telnet
Thanks but still not working, I am wonderin
: 19 November 2011 08:23
To: tutor@python.org
Subject: Re: [Tutor] python telnet
traceback has:
child = winspawn('telnet 192.168.0.55:210')
When using telnet from CLI (on windows), you would type:
telnet 192.168.0.55 210
Note the space between the IP and port number and not a :colon.
Behalf Of Steven
> D'Aprano
> Sent: 19 November 2011 07:04
> To: tutor@python.org
> Subject: Re: [Tutor] python telnet
>
> Rayon wrote:
> > I installed the telnet client but still the same error.
>
> How did you install it? Windows includes a
tutor@python.org
Subject: Re: [Tutor] python telnet
Rayon wrote:
> I installed the telnet client but still the same error.
How did you install it? Windows includes a telnet application, but it has to
be enabled first:
http://windows.microsoft.com/en-AU/windows-vista/Telnet-frequently-asked-qu
Rayon wrote:
I installed the telnet client but still the same error.
How did you install it? Windows includes a telnet application, but it
has to be enabled first:
http://windows.microsoft.com/en-AU/windows-vista/Telnet-frequently-asked-questions
If you run "telnet" from the Windows shell (
Thank you I think I understand now, thank you very much.
-Original Message-
From: tutor-bounces+evosweet=hotmail@python.org
[mailto:tutor-bounces+evosweet=hotmail@python.org] On Behalf Of Steven
D'Aprano
Sent: 17 November 2011 19:52
To: tutor@python.org
Subject: Re: [Tutor] p
On Behalf Of Steven
D'Aprano
Sent: 17 November 2011 19:52
To: tutor@python.org
Subject: Re: [Tutor] python telnet
Rayon wrote:
> I am trying to use winpexpect to connect a telnet session.
> I keep getting this error.
>
>
>
> raise ExceptionPexpect, 'Command not
Rayon wrote:
I am trying to use winpexpect to connect a telnet session.
I keep getting this error.
raise ExceptionPexpect, 'Command not found: %s' % self.command
ExceptionPexpect: Command not found: telnet
Please copy and paste the entire traceback, not just the last couple of
lines.
From: Rayon [mailto:ra...@gtt.co.gy]
Sent: 17 November 2011 14:04
To: 'tutor@python.org'
Subject: python telnet
I am trying to use winpexpect to connect a telnet session.
I keep getting this error.
raise ExceptionPexpect, 'Command not found: %s' % self.command
ExceptionPex
Tutor] python telnet
Rayon wrote:
> Well what I am doing is connecting to a telnet session sending some
> commands, exiting and returning some data.
> What I would to do is send the commands and return the data without
> exiting the session.
> I would like to keep the same s
Rayon wrote:
Well what I am doing is connecting to a telnet session sending some
commands, exiting and returning some data.
What I would to do is send the commands and return the data without exiting
the session.
I would like to keep the same session and just send commands and return
data.
e(create_date+","+log_type+","+log_data+","+str(ip_address)+'\r
'+'\n')
log_file.close()
except Exception,error:
pass
-Original Message-
From: tutor-bounces+evosweet=hotmail@
Rayon wrote:
Can I connect to a telnet session and return data without disconnecting the
data session.
Isn't this the same question you asked back in June?
We tried to answer your question then, did you see our responses, and
were they useful?
At the time, you were complaining that the t
Take a look at pyexpect. I have used this mod to ssh into juniper firewalls,
excute a command, save results and exit. Instead of exiting you can drop
down to interactive mode.
On Oct 22, 2011 3:40 PM, "Rayon" wrote:
> ** **
>
> ** **
>
> ** **
>
> *From:* Rayon [mailto:ra...@gtt.co.gy]
> *Sent:*
From: Rayon [mailto:ra...@gtt.co.gy]
Sent: 21 October 2011 18:53
To: 'tutor@python.org'
Subject: python telnet
Can I connect to a telnet session and return data without disconnecting the
data session.
Regards Rayon
___
Tutor mailli
Hi I need help with a some telnet automation I am trying build.
I need to login to a Nortel switch and send a table dump command capture
that data and send it to I file.
I have the code it, works and does all that I need my problem is that when I
try to dump a table later than 4 mega the it can t
How are you running it?This usually happens when you have an error in your
connection, and then you try to re-run it, and the previous connection
attempt has not released the port yet.
Are you having an error between subsequent runs, or do you have an error the
first time you run it after a fresh r
using python telnet lib to connect to a Nortel switch, and dump some tables.
My problem is that every now and then the connection is reset by peer .
Telnet Error : (10054, Connection reset by peer)
I need to know why, I have it in a loop so it will download after a few tries
but I need to know
18 matches
Mail list logo