.
This commit is contained in:
@@ -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/<ssid>", methods=["GET", "POST"])
|
||||
@login_required
|
||||
def disconnect(ssid):
|
||||
if disconnect_network():
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user