From d493926823449b24061e1388d78889ea7abffdc7 Mon Sep 17 00:00:00 2001 From: Jed Reynolds Date: Tue, 26 May 2020 14:13:26 -0700 Subject: [PATCH] connectTest: check for radio, more reliable that station thats easy to erase --- connectTest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/connectTest.py b/connectTest.py index de6610f3..34058b46 100755 --- a/connectTest.py +++ b/connectTest.py @@ -66,13 +66,13 @@ def removeCX(mgrURL, cxNames): jsonReq(mgrURL,"cli-json/rm_cx", data) print("Checking for LANforge Client") -response = getJsonInfo(mgrURL, 'port/1/1/wlan0') +response = getJsonInfo(mgrURL, 'port/1/1/wiphy0') timeout = 0 while response == None and timeout != 300: print("LANforge Client not found sleeping 5 seconds") timeout += 5 time.sleep(5) - response = getJsonInfo(mgrURL, 'port/1/1/wlan0') + response = getJsonInfo(mgrURL, 'port/1/1/wiphy0') #print(response) if timeout == 300: print("Could not connect to LANforge Client")