看板 Python 關於我們 聯絡資訊
應該是在交換控制訊息中 發生中斷的現象 請問有人有解決的方法嗎 tn.set_debuglevel(2) tn.read_until("Login:") tn.write(user + "\n") tn.read_until("Password:") tn.write(pswd + "\n") 以下是錯誤訊息 Telnet(192.168.10.1,23): recv '\xff\xfc\x01' Telnet(192.168.10.1,23): IAC WONT 1 Telnet(192.168.10.1,23): recv '\xff\xfb\x01\xff\xfb\x03\xff\xfd\x18\xff\xfb\x18\ xff\xfd\x1f\xff\xfb\x1f\xff\xfb"\xff\xfb\x05Login:' Telnet(192.168.10.1,23): IAC WILL 1 Telnet(192.168.10.1,23): IAC WILL 3 Telnet(192.168.10.1,23): IAC DO 24 Telnet(192.168.10.1,23): IAC WILL 24 Telnet(192.168.10.1,23): IAC DO 31 Telnet(192.168.10.1,23): IAC WILL 31 Telnet(192.168.10.1,23): IAC WILL 34 Telnet(192.168.10.1,23): IAC WILL 5 Telnet(192.168.10.1,23): send 'admin\n' Telnet(192.168.10.1,23): recv 'a' Telnet(192.168.10.1,23): recv 'dmin' -- ※ 發信站: 批踢踢實業坊(ptt.cc) ※ 編輯: glenman 來自: 140.115.152.232 (03/23 03:28)
cobrasgo:你是不是登入會顯示中文的站? 03/23 23:30
glenman:是實驗室買的一套設備 想要使用批次檔 來管理 03/24 05:11