diff --git a/htdocs/luci-static/resources/view/status/include/00_internet.js b/htdocs/luci-static/resources/view/status/include/00_internet.js index 57c03a8..01d4710 100644 --- a/htdocs/luci-static/resources/view/status/include/00_internet.js +++ b/htdocs/luci-static/resources/view/status/include/00_internet.js @@ -6,11 +6,14 @@ return L.Class.extend({ hosts: [ '8.8.8.8', + '2a00:1450:4010:c05::71', '1.1.1.1', - '8.8.4.4', + '2606:4700::6811:b055', + //'8.8.4.4', + //'2a00:1450:4010:c09::66', ], - checkInterval: 11, // 5 x 11 = 55 sec. + checkInterval: 6, // 5 x 6 = 30 sec. load: async function() { window.internetDetectorCounter = ('internetDetectorCounter' in window) ? diff --git a/root/usr/share/rpcd/acl.d/luci-app-internet-detector.json b/root/usr/share/rpcd/acl.d/luci-app-internet-detector.json index c5f7a76..5f04c4e 100644 --- a/root/usr/share/rpcd/acl.d/luci-app-internet-detector.json +++ b/root/usr/share/rpcd/acl.d/luci-app-internet-detector.json @@ -3,7 +3,7 @@ "description": "Grant access to internet-detector procedures", "read": { "file": { - "/bin/ping -c 1 -W 1 [0-9.]*": [ "exec" ] + "/bin/ping -c 1 -W 1 [a-z0-9:.]*": [ "exec" ] } } }