문제

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:

올바른 솔루션이 없습니다

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top