1 = Update unbound Installation ('/opt/var/lib/unbound/')
2 = Update unbound Installation Advanced Mode ('/opt/var/lib/unbound/')
3 = Advanced Tools
e = Exit Script
E:Option ==> s
***ERROR unbound NOT running! - option unavailable
unbound (pid 11424) is running... uptime: 0 Days, 00:02:25 version: 1.9.6 # rgnldo Github Version=v1.06 Martineau update (Date Loaded by unbound_manager Sun Mar 1 12:40:08 MEZ 2020)
1 = Update unbound Installation ('/opt/var/lib/unbound/')
2 = Update unbound Installation Advanced Mode ('/opt/var/lib/unbound/')
3 = Advanced Tools
e = Exit Script
E:Option ==> sgui
Do you want to add router GUI TAB to display stats?
Reply 'y' or press [Enter] to skip
y
Installing @juched's GUI TAB to display unbound stats.....
unbound_stats.sh downloaded successfully
unboundstats_www.asp downloaded successfully
Mounting Unbound_Stats.sh WebUI page as user1.asp
/jffs/addons/unbound/unbound_stats.sh: line 305: p: not found
sed: /tmp/menuTree.js: No such file or directory
grep: /tmp/menuTree.js: No such file or directory
grep: /tmp/menuTree.js: No such file or directory
sed: invalid option -- 1
BusyBox v1.25.1 (2020-02-11 07:40:58 MSK) multi-call binary.
Usage: sed [-inrE] [-f FILE]... [-e CMD]... [FILE]...
or: sed [-inrE] CMD [FILE]...
-e CMD Add CMD to sed commands to be executed
-f FILE Add FILE contents to sed commands to be executed
-i[SFX] Edit files in-place (otherwise sends to stdout)
Optionally back files up, appending SFX
-n Suppress automatic printing of pattern space
-r,-E Use extended regex syntax
If no -e or -f, the first non-option argument is the sed command string.
Remaining arguments are input files (stdin if none).
grep: /tmp/menuTree.js: No such file or directory
sed: /tmp/menuTree.js: No such file or directory
sed: /tmp/menuTree.js: No such file or directory
mount: mounting /tmp/menuTree.js on /www/require/modules/menuTree.js failed: No such file or directory
Router Configuration recommended pre-reqs status:
[✔] Swapfile=1048572 kB
[✔] DNS Filter=ON
[✔] DNS Filter=ROUTER
[✔] WAN: Use local caching DNS server as system resolver=NO
[✔] Enable local NTP server=YES
[✔] Enable DNS Rebind protection=NO
[✔] Enable DNSSEC support=NO
Options:
[✔] unbound Logging
[✔] unbound CPU/Memory Performance tweaks
[✔] Router GUI statistics TAB installed
unbound (pid 11424) is running... uptime: 0 Days, 00:02:41 version: 1.9.6 # rgnldo Github Version=v1.06 Martineau update (Date Loaded by unbound_manager Sun Mar 1 12:40:08 MEZ 2020)
1 = Update unbound Installation ('/opt/var/lib/unbound/')
2 = Update unbound Installation Advanced Mode ('/opt/var/lib/unbound/')
3 = Advanced Tools
e = Exit Script
E:Option ==>
Yes, unbound should start automatically after a REBOOT;I started unbound_manager now it says this
Strange...Code:1 = Update unbound Installation ('/opt/var/lib/unbound/') 2 = Update unbound Installation Advanced Mode ('/opt/var/lib/unbound/') 3 = Advanced Tools e = Exit Script E:Option ==> s ***ERROR unbound NOT running! - option unavailable
Doesn't unbound automatically start after a router reboot?
Unfortunately there is a typo in @juched's script, the intended copy command 'cp' is incorrectI tried to reinstall the GUI, but these errors appeared:
Code:unbound (pid 11424) is running... uptime: 0 Days, 00:02:25 version: 1.9.6 # rgnldo Github Version=v1.06 Martineau update (Date Loaded by unbound_manager Sun Mar 1 12:40:08 MEZ 2020) 1 = Update unbound Installation ('/opt/var/lib/unbound/') 2 = Update unbound Installation Advanced Mode ('/opt/var/lib/unbound/') 3 = Advanced Tools e = Exit Script E:Option ==> sgui Do you want to add router GUI TAB to display stats? Reply 'y' or press [Enter] to skip y Installing @juched's GUI TAB to display unbound stats..... unbound_stats.sh downloaded successfully unboundstats_www.asp downloaded successfully Mounting Unbound_Stats.sh WebUI page as user1.asp /jffs/addons/unbound/unbound_stats.sh: line 305: p: not found sed: /tmp/menuTree.js: No such file or directory grep: /tmp/menuTree.js: No such file or directory grep: /tmp/menuTree.js: No such file or directory sed: invalid option -- 1 BusyBox v1.25.1 (2020-02-11 07:40:58 MSK) multi-call binary. Usage: sed [-inrE] [-f FILE]... [-e CMD]... [FILE]... or: sed [-inrE] CMD [FILE]... -e CMD Add CMD to sed commands to be executed -f FILE Add FILE contents to sed commands to be executed -i[SFX] Edit files in-place (otherwise sends to stdout) Optionally back files up, appending SFX -n Suppress automatic printing of pattern space -r,-E Use extended regex syntax If no -e or -f, the first non-option argument is the sed command string. Remaining arguments are input files (stdin if none). grep: /tmp/menuTree.js: No such file or directory sed: /tmp/menuTree.js: No such file or directory sed: /tmp/menuTree.js: No such file or directory mount: mounting /tmp/menuTree.js on /www/require/modules/menuTree.js failed: No such file or directory Router Configuration recommended pre-reqs status: [✔] Swapfile=1048572 kB [✔] DNS Filter=ON [✔] DNS Filter=ROUTER [✔] WAN: Use local caching DNS server as system resolver=NO [✔] Enable local NTP server=YES [✔] Enable DNS Rebind protection=NO [✔] Enable DNSSEC support=NO Options: [✔] unbound Logging [✔] unbound CPU/Memory Performance tweaks [✔] Router GUI statistics TAB installed unbound (pid 11424) is running... uptime: 0 Days, 00:02:41 version: 1.9.6 # rgnldo Github Version=v1.06 Martineau update (Date Loaded by unbound_manager Sun Mar 1 12:40:08 MEZ 2020) 1 = Update unbound Installation ('/opt/var/lib/unbound/') 2 = Update unbound Installation Advanced Mode ('/opt/var/lib/unbound/') 3 = Advanced Tools e = Exit Script E:Option ==>
if [ ! -f "/tmp/menuTree.js" ]; then
p -f "/www/require/modules/menuTree.js" "/tmp/"
fi
RunThanks, I installed uiDivStats and uiScribe, but the "Addons" button does not reappear... *sad*
uiDivStats startup
I wanted to install uiDivStats, but this happend:RunCode:uiDivStats startup
I've just hotfixed the reason why it didn't appear after install....my bad
Enter option j5
_____________________________________________
This installs uiDivStats - WebUI for Diversion statistics
on your router.
Author: Jack Yaz
https://www.snbforums.com/threads/uidivstats-webui-for-diversion-statistics.56393/
_____________________________________________
Continue? [1=Yes e=Exit] 1
uiDivStats: Welcome to uiDivStats v1.3.1, a script by JackYaz
uiDivStats: Checking your router meets the requirements for uiDivStats
Downloading http://bin.entware.net/armv7sf-k2.6/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/entware
Package grep (3.3-1) installed in root is up to date.
/jffs/scripts/uiDivStats: line 1256: can't open /jffs/addons/uiDivStats.d/uidivstats_www.asp: no such file
sed: /tmp/menuTree.js: No such file or directory
uiDivStats: New version of uidivstats_www.asp downloaded
uiDivStats: Mounting uiDivStats WebUI page as user2.asp
uiDivStats: Starting Diversion statistic generation...
Does unbound_manager 'sgui' command now correctly add the unbound statistics GUI TAB?The Addons button is back again!
FYI,
e = Exit Script
A:Option ==> sgui uninstall
I am running RT-AC86U 384.16_alpha1-ga40d2d5f30 and when developing/testing unbound_manager, I regularly need to REBOOT, and unbound always starts automatically.I asked because have experienced problems with unboung starting after reboot with alpha build. When downgrade to 384.15 stable biuld No problems at all.
Please post this on the appropriate thread now, thanks!I wanted to install uiDivStats, but this happend:
Code:Enter option j5 _____________________________________________ This installs uiDivStats - WebUI for Diversion statistics on your router. Author: Jack Yaz https://www.snbforums.com/threads/uidivstats-webui-for-diversion-statistics.56393/ _____________________________________________ Continue? [1=Yes e=Exit] 1 uiDivStats: Welcome to uiDivStats v1.3.1, a script by JackYaz uiDivStats: Checking your router meets the requirements for uiDivStats Downloading http://bin.entware.net/armv7sf-k2.6/Packages.gz Updated list of available packages in /opt/var/opkg-lists/entware Package grep (3.3-1) installed in root is up to date. /jffs/scripts/uiDivStats: line 1256: can't open /jffs/addons/uiDivStats.d/uidivstats_www.asp: no such file sed: /tmp/menuTree.js: No such file or directory uiDivStats: New version of uidivstats_www.asp downloaded uiDivStats: Mounting uiDivStats WebUI page as user2.asp uiDivStats: Starting Diversion statistic generation...
But thanks! The Addons button is back again!
NEW: Add commandline option to restart unbound i.e. 'unbound_manager restart'
@juched unbound_manager will retrieve the GUI TAB files from your Github, so you no longer need to tediously create unnecessary external Pull-requests.
If you agree, I will modify unbound_manager to also retrieve the Ad Block files from your repository?
Not for me. I get the followingDoes unbound_manager 'sgui' command now correctly add the unbound statistics GUI TAB?
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!