From 2735114cb5ec2528d9e3b43c4e59f3ef03699f23 Mon Sep 17 00:00:00 2001 From: Chuck SmileyRekiere Date: Wed, 30 Sep 2020 15:58:45 -0600 Subject: [PATCH] timing adjustments on login --- cisco_wifi_ctl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cisco_wifi_ctl.py b/cisco_wifi_ctl.py index bb55ce7c..4e6beb8c 100755 --- a/cisco_wifi_ctl.py +++ b/cisco_wifi_ctl.py @@ -400,9 +400,9 @@ def main(): while logged_in_9800 == False and loop_count <= 2: loop_count += 1 logg.info("9800 establishing Telnet egg {} ".format(egg)) - sleep(5) + sleep(2) egg.sendline(CR) - sleep(3) + sleep(0.4) try: i = egg.expect_exact(["Escape character is '^]'.","WLC>","WLC#","User:","Password:","WLC(config)#","Bad secrets",pexpect.TIMEOUT],timeout=2) except pexpect.EOF as e: