Reputation: 31
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:
Upvotes: 1
Views: 1859