syntax is everything.The error continues
It worked now. Download with wget. Run do2linux
I think you need to fix the installer name in line 83 since it is currently named with beta.
im beta tester.
https://pastebin.com/jumj7TB2Pushed v1.05 to Pastebin
Pushed v1.05
no-negcache
cache-size=1500
min-port=4096
domain-needed
The dnsmasq.postconf file is generated by the script, but needs permission to change the /etc/dnsmasq.Code:no-negcache cache-size=1500 min-port=4096 domain-needed
I manually gave a chmod +x. Working perfectly.
Because I don't know the logic of the script, if you can add the option with adblock, better
You should copy'n'paste v1.06 from Pastebin to your GitHub repository, then I'm sure you can simply include the new feature in v1.07!Automatic update adblock
Code:nano /jffs/scripts/services-start
Code:## Run my adblock script every day cru a adblock "0 5 * * * /jffs/adblock/gen_adblock.sh"
I tried that option. But you need to remove all DNS listening options from dnsmasqlisten-address=127.0.0.1
Done.You should copy'n'paste v1.06 from Pastebin to your GitHub repository
There are some have organize unbound for embedded devices that depend on dnsmasq. I started at tomato's forum, with the help of @AndreDVJ. With AsusWRT it's a challenge.listen-address=127.0.0.1
The ideal is to adapt the installation of the unbound cpu capacity and system memory.simply include the new feature in v1.07
reserved=12582912
availableMemory=$((1024 * $( (fgrep MemAvailable /proc/meminfo || fgrep MemTotal /proc/meminfo) | sed 's/[^0-9]//g' ) ))
if [ $availableMemory -le $(($reserved * 2)) ]; then
echo "Not enough memory" >&2
exit 1
fi
availableMemory=$(($availableMemory - $reserved))
msg_cache_size=$(($availableMemory / 3))
rr_cache_size=$(($availableMemory / 3))
nproc=$(nproc)
if [ $nproc -gt 1 ]; then
threads=$(($nproc - 1))
else
threads=1
fi
# Lookup IP of Stubby container as work around because forward-host did not
# resolve stubby correctly and does not support @port syntax.
# This uses ping rather than 'dig +short stubby' to avoid needing dnsutils
# package.
stubby_ip=$(ping -4 -c 1 stubby | head -n 1 | cut -d ' ' -f 3 | cut -d '(' -f 2 | cut -d ')' -f 1)
stubby_port=@8053
stubby=$stubby_ip$stubby_port
# Use this default unbound.conf unless a user mounts a custom one:
if [ ! -f /opt/unbound/etc/unbound/unbound.conf ]; then
sed \
-e "s/@MSG_CACHE_SIZE@/${msg_cache_size}/" \
-e "s/@RR_CACHE_SIZE@/${rr_cache_size}/" \
-e "s/@THREADS@/${threads}/" \
-e "s/@STUBBY@/${stubby}/" \
> /opt/unbound/etc/unbound/unbound.conf << EOT
## On and off TransmissionBT
cru a TransmissionINI "0 1 * * * ON_transmission.sh"
cru a TransmissionDESL "0 4 * * * OFF_transmission.sh"
#!/bin/sh
echo 8388608 > /proc/sys/net/core/rmem_max
echo 2097152 > /proc/sys/net/core/wmem_max
sleep 1
/opt/etc/init.d/88transmission start
#!/bin/sh
echo 524288 > /proc/sys/net/core/rmem_max
echo 524288 > /proc/sys/net/core/wmem_max
sleep 1
/opt/etc/init.d/88transmission stop
i use customaryI use tweaks in TransmissionBT tweaks in sysctl. Started by Cron.
Code:## On and stop TransmissionBT cru a TransmissionINI "0 1 * * * ON_tramission.sh" cru a TransmissionDESL "0 4 * * * OFF_tramission.sh"
Code:#!/bin/sh echo 8388608 > /proc/sys/net/core/rmem_max echo 2097152 > /proc/sys/net/core/wmem_max sleep 1 /opt/etc/init.d/88transmission start
Code:#!/bin/sh echo 524288 > /proc/sys/net/core/rmem_max echo 524288 > /proc/sys/net/core/wmem_max sleep 1 /opt/etc/init.d/88transmission stop
With unbound, I need volunteers to study sysctl for TCP optimization and restore if I uninstall unbound.
Link: https://wiki.mikejung.biz/Sysctl_tweaks
@Martineau path location on adblock folder is better in unbound folder due to USB capability, due to the creation of mega user lists.
echo 524288 > /proc/sys/net/core/rmem_max
echo 524288 > /proc/sys/net/core/wmem_max
echo 8192 > /proc/sys/vm/min_free_kbytes
It is the default of AsusWRT-Merlin. But when we compiled TransmissionBT for TomatoUSB the proper value is different. But only when TransmissionBT is enabled. To save the router from stress by multi-connection, run TransmissionBT at dawn via Cron.echo 524288 > /proc/sys/net/core/rmem_max
echo 524288 > /proc/sys/net/core/wmem_max
@Martineau path location on adblock folder is better in unbound folder due to USB capability, due to the creation of mega user lists
S61unbound: Waiting for NTP to sync before starting...
Starting unbound... done.
Creating Daily cron job for Ad and Tracker update
S61unbound: Waiting for NTP to sync before starting...
Shutting down unbound... done.
Starting unbound... done.
Paused for 20 sec to allow unbound to validate 'unbound.conf'
***ERROR Unsuccessful installation of unbound detected
Dec 19 12:00:48 RT-AC86U (unbound_installer): 26517 Starting Script Execution (menu)
Dec 19 12:01:46 RT-AC86U S61unbound: Waiting for NTP to sync before starting...
Dec 19 12:01:47 RT-AC86U admin: Started unbound from .
Dec 19 12:01:47 RT-AC86U S61unbound: Waiting for NTP to sync before starting...
Dec 19 12:01:47 RT-AC86U admin: Started unbound from .
[1576756927] unbound[28549:0] error: Could not open logfile /unbound.log: Permission denied
[1576756927] unbound[28549:0] notice: init module 0: validator
[1576756927] unbound[28549:0] notice: init module 1: iterator
[1576756927] unbound[28549:0] info: start of service (unbound 1.9.3).
[1576756953] unbound[28549:0] info: 127.0.0.1 dns.msftncsi.com. A IN
[1576756953] unbound[28549:0] info: resolving dns.msftncsi.com. A IN
[1576756953] unbound[28549:0] info: response for dns.msftncsi.com. A IN
[1576756953] unbound[28549:0] info: reply from <.> 127.0.0.1#5453
[1576756953] unbound[28549:0] info: query response was ANSWER
[1576756953] unbound[28549:0] info: prime trust anchor
[1576756953] unbound[28549:0] info: generate keytag query _ta-4f66. NULL IN
[1576756953] unbound[28549:0] info: resolving . DNSKEY IN
[1576756953] unbound[28549:0] info: resolving _ta-4f66. NULL IN
[1576756953] unbound[28549:0] info: response for . DNSKEY IN
[1576756953] unbound[28549:0] info: reply from <.> 127.0.0.1#5453
[1576756953] unbound[28549:0] info: query response was ANSWER
[1576756953] unbound[28549:0] fatal error: could not open autotrust file for writing, /root.key.28549-0-318e5660: Permission denied
Rerun unbound_installer.sh and select the Remove option to backout changes
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!