From 0ef31d13a5025b91db652e5a40a3545f137bc95b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Aime?= Date: Tue, 12 Jan 2021 17:10:24 +0100 Subject: [PATCH] Changes regarding hostapd errors --- server/frontend/app/classes/network.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/server/frontend/app/classes/network.py b/server/frontend/app/classes/network.py index f0f763b..d32e0eb 100644 --- a/server/frontend/app/classes/network.py +++ b/server/frontend/app/classes/network.py @@ -242,7 +242,6 @@ class Network(object): with open("/tmp/hostapd.log", "r") as f: log = f.read() err = ["Could not configure driver mode", - "Could not connect to kernel driver", "driver initialization failed"] if not any(e in log for e in err): if "AP-ENABLED" in log: @@ -302,9 +301,6 @@ class Network(object): This enable interfaces, with a simple check. :return: bool if everything goes well """ - sh = sp.Popen(["ifconfig", iface], - stdout=sp.PIPE, stderr=sp.PIPE) - sh = sh.communicate() if b"