Your EasyBox supports the industry-wide WiFi standards, enabling easy wireless connection of your devices.
-
Setup
-
-
+
+ General WiFi Settings
+ Your EasyBox supports the industry-wide WiFi standards, enabling easy wireless connection of your devices.
+
+
+
+
+
+
+
+
+
+
+ Setup
+
-
-
-
-
- Apply
- Cancel
-
-
-
+
+ Apply
+ Cancel
+
+
diff --git a/luciexpress/htdocs/plugins/wifi/pages/wifi.mac_filter.html b/luciexpress/htdocs/plugins/wifi/pages/wifi.mac_filter.html
index 47f228b16..36d47e7be 100644
--- a/luciexpress/htdocs/plugins/wifi/pages/wifi.mac_filter.html
+++ b/luciexpress/htdocs/plugins/wifi/pages/wifi.mac_filter.html
@@ -1,5 +1,20 @@
- Mac filter
+
+ MAC Filter
+ To make your wireless network more secure, you can specify which devices are allowed to connect. The devices are identified by their MAC address. You can manage up to 32 devices.
+
+ str.main.wifi
+
+
+
+ str.guest.wifi
+
+
+
+ Apply
+ Cancel
+
+
diff --git a/luciexpress/htdocs/plugins/wifi/pages/wifi.mac_filter.js b/luciexpress/htdocs/plugins/wifi/pages/wifi.mac_filter.js
index fe725484e..be6fec4a5 100644
--- a/luciexpress/htdocs/plugins/wifi/pages/wifi.mac_filter.js
+++ b/luciexpress/htdocs/plugins/wifi/pages/wifi.mac_filter.js
@@ -1,4 +1,43 @@
$juci.module("wifi")
-.controller("WifiMacFilterPageCtrl", function($scope){
+.controller("WifiMacFilterPageCtrl", function($scope, $uci){
+ $scope.guest_wifi = { };
+ $scope.main_wifi = {};
+ function load(){
+ $uci.show("wireless").done(function(interfaces){
+ var list = Object.keys(interfaces)
+ .map(function(x){ return interfaces[x]; });
+ $scope.devices = list.filter(function(x) { return x[".type"] == "wifi-device"; });
+ $scope.interfaces = list.filter(function(x) { return x[".type"] == "wifi-iface"; });
+
+ $scope.main_wifi = $scope.interfaces[0]; //$scope.interfaces.filter(function(x) { return x[".name"] == "main"; })[0] || {};
+ $scope.guest_wifi = $scope.interfaces[1]; //$scope.interfaces.filter(function(x) { return x[".name"] == "guest"; })[0] || {};
+
+ $scope.$apply();
+ });
+ } load();
+
+ $scope.onApply = function(){
+ async.series([
+ function(next){
+ $uci.set("wireless."+$scope.main_wifi[".name"], $scope.main_wifi).done(function(){
+
+ }).always(function(){ next(); });
+ },
+ function(next){
+ $uci.set("wireless."+$scope.guest_wifi[".name"], $scope.guest_wifi).done(function(){
+
+ }).always(function(){ next(); });
+ }
+ ], function(){
+ $uci.commit("wireless").done(function(){
+ console.log("Saved wifi settings!");
+ }).fail(function(){
+ console.log("Failed to save wifi settings!");
+ });
+ });
+ }
+ $scope.onCancel = function(){
+ load();
+ }
});
diff --git a/luciexpress/htdocs/plugins/wifi/pages/wifi.schedule.html b/luciexpress/htdocs/plugins/wifi/pages/wifi.schedule.html
index 8d6e664da..8c903ef97 100644
--- a/luciexpress/htdocs/plugins/wifi/pages/wifi.schedule.html
+++ b/luciexpress/htdocs/plugins/wifi/pages/wifi.schedule.html
@@ -1,20 +1,15 @@
-
Schedule
- Schedule the times when your WiFi should be turned on or off automatically. Note: If WiFi is turned off, both Main and Guest WiFi are disabled
-
-
-
- Schedule Function
-
-
-
-
-
- Apply
- Cancel
-
-
-
+
+ Schedule
+ Schedule the times when your WiFi should be turned on or off automatically. Note: If WiFi is turned off, both Main and Guest WiFi are disabled
+
+
+
+
+
+ Apply
+ Cancel
+
diff --git a/luciexpress/htdocs/plugins/wifi/pages/wifi.settings.html b/luciexpress/htdocs/plugins/wifi/pages/wifi.settings.html
index 995a12afa..088ab69d0 100644
--- a/luciexpress/htdocs/plugins/wifi/pages/wifi.settings.html
+++ b/luciexpress/htdocs/plugins/wifi/pages/wifi.settings.html
@@ -1,5 +1,16 @@
- Settings
+
+
+ Settings
+ Below you can change parameters for the two WiFi frequencies 2.4 GHz and 5 GHz.
+
+
+
+
+ Apply
+ Cancel
+
+
diff --git a/luciexpress/htdocs/plugins/wifi/pages/wifi.wps.html b/luciexpress/htdocs/plugins/wifi/pages/wifi.wps.html
index 680da25f9..8723b8fd7 100644
--- a/luciexpress/htdocs/plugins/wifi/pages/wifi.wps.html
+++ b/luciexpress/htdocs/plugins/wifi/pages/wifi.wps.html
@@ -1,20 +1,17 @@
-
WPS
- Using WPS it is possible to easily connect wireless devices with EasyBox on an encrypted channel. Below, you can choose and configure different connection methods.
-
-
-
- WPS Function
-
-
-
-
-
- Apply
- Cancel
-
-
-
+
+
+ WPS
+ Using WPS it is possible to easily connect wireless devices with EasyBox on an encrypted channel. Below, you can choose and configure different connection methods.
+
+
+
+
+
+ Apply
+ Cancel
+
+
diff --git a/luciexpress/share/menu.d/wifi.json b/luciexpress/share/menu.d/wifi.json
index 6d30ba754..fae0d461d 100644
--- a/luciexpress/share/menu.d/wifi.json
+++ b/luciexpress/share/menu.d/wifi.json
@@ -16,7 +16,7 @@
"view": "wifi.schedule",
"index": 20
},
- "wifi/WPS": {
+ "wifi/wps": {
"title": "WPS",
"acls": [ ],
"view": "wifi.wps",