Question

I am trying to telnet into a altusen power KVM and reboot a computer. when doing this using the windows telnet it works great. but when I use python's telnetlib, all read commands fail (not immediately but on timeout) again when using the windows telnet everything works fine, and I can see the login message

the following is the code I use: [on python 2.7.3]

import telnetlib
tn = telnetlib.Telnet("11.11.11.11")
print tn.read_all()//timeout fail,windows telnet does get a response

okay to clearify:

python No user input gets nothing read_all() times out normal windows telnet client No user input gets the following:



** ALTUSEN -- PN9108 Configuring Through Telnet **



Login:

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top