From 648242da2afdcaa716b6063b2e83877897510015 Mon Sep 17 00:00:00 2001 From: SiloDS Date: Fri, 30 Jul 2021 16:30:32 +0100 Subject: [PATCH] . --- app/routes2.py | 2 +- interfaces | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/routes2.py b/app/routes2.py index 70dc7b3..879d829 100644 --- a/app/routes2.py +++ b/app/routes2.py @@ -62,7 +62,7 @@ def connectwpa(ssid): return render_template("wpa.html", title="WPA Password", form=form) -@app.route("/disconnect/", methods=["GET", "POST"]) +@app.route("/disconnect/", methods=["GET", "POST"]) @login_required def disconnect(ssid): if disconnect_network(): diff --git a/interfaces b/interfaces index 3149d4d..a066930 100644 --- a/interfaces +++ b/interfaces @@ -14,10 +14,10 @@ iface eth0 inet static address 192.168.0.200 netmask 255.255.255.0 -allow-hotplug wlan1 -iface wlan1 inet manual +allow-hotplug wlan0 +iface wlan0 inet dhcp wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf -allow-hotplug wlan0 -iface wlan0 inet manual +allow-hotplug wlan1 +iface wlan1 inet dhcp nohook wpa_supplicant