Thought so, home brewed is best brew.However, my brother in law is running AB-Solution on his XVortex Linksys ea6900, and the best part....NO ISSUES
Are you running v1.07?
Surely not. The backup of the file you used was made when you updated AB-Solution from version 1.07 to 2.o or 2.0.1 and it made it to
/adblocking/backup/<the file you copied the posted content from>
I said:
Entware replaced the file /jffs/scripts/post-mount.
It saved a backup of all the files to the root of your USB device in jffs_scripts_backup_<date>.tgz
Add a pointer record. I use these to route it:I believe he is still on your 2.0.1 beta release. However I always update them as I go over to their house (in-laws).
I will add, that my Rasp-pi is running as a pi-hole AS WELL as having local router based ad blocking.
Now if only HTTPS were in the mix
Question for you, and it may be our of your scope of responsibility here. I also added IPV6 functionality to my script and can generate dup entries from ipv4 for ipv6 preceded with ::. But, at least in DD-WRT, I need to populate a DNS server for IPV6. Pi-Hole provides me an IPV6 DNS entry to use locally, however of course my own script does not.
How are you handling the assignment/routing of IPV6 entries to make sure they query the local DNS server first?
yup.View attachment 7355
Is this one working correctly?
Absolutely!View attachment 7355
Is this one working correctly?
Is there a way for Entware NG and AB-Solution to co-exist ?
Whichever you install first, you best make your own copy of the scripts in /jffs/scripts/ and save them. Then install the second and compare the files, adding back what's missing.Is there a way for Entware NG and AB-Solution to co-exist ?
Whichever you install first, you best make your own copy of the scripts in /jffs/scripts/ and save them. Then install the second and compare the files, adding back what's missing.
AB-Solution only needs dnsmasq.postconf and post-mount. The latter is the one that is affected when installing Entware.
# DO NOT EDIT THIS MANUALLY. But said:;then
service restart_dnsmasq
logger "AB-Solution added entries via post-mount"
ln -s /tmp/mnt/2GB/ab-solution.sh /home/root/ab-solution.sh
fi
# end of DO NOT EDIT. And you may edit below as well.
#!/bin/sh if [ "$1" = "/tmp/mnt/2GB" said:; then
ln -nsf $1/entware-ng.arm /tmp/opt
fi
sleep 2
if [ -f /opt/swap ]
then
echo -e "Mounting swap file..."
swapon /opt/swap
else
echo -e "Swap file not found or /opt is not mounted..."
fi
You want to cut the ab-solution section out of its post-mount script, and add it to the entware version of the post-mount script. Or vice versa. You end up with one post-mount script that runs both sections.
When the thumbdrive mounts, the link is made from the /entware directory to the /tmp/opt directory. Then rc.unslung is run to start up the entware packages (in my case, pixelserv-tls). Then ab-solution does its thing.
#!/bin/sh if [ "$1" = "/tmp/mnt/2GB" said:; then
ln -nsf $1/entware-ng.arm /tmp/opt
fi
sleep 2
if [ -f /opt/swap ]
then
echo -e "Mounting swap file..."
swapon /opt/swap
else
echo -e "Swap file not found or /opt is not mounted..."
fi
# DO NOT EDIT THIS MANUALLY. But, you may edit above.
# This version and future versions of AB-Solution depend on it to be unaltered.
# More entries may be added by AB-Solution dynamically when changing services.
# You have been warned.
# generated by AB-Solution 2.0.1
if [ -d "/tmp/mnt/2GB" ];then
service restart_dnsmasq
logger "AB-Solution added entries via post-mount"
ln -s /tmp/mnt/2GB/ab-solution.sh /home/root/ab-solution.sh
fi
# end of DO NOT EDIT. And you may edit below as well.
Add:Thanks for the info, I had kind of tried that but my linux scripting skills are not great, Sorry I am learning about Linux and scripting at the same time so the finess is lacking lol.
I had tried the below Post-mount script which I am guessing is wrong.
/opt/etc/init.d/rc.unslung
ln -nsf $1/entware-ng.arm /tmp/opt
ln -nsf $1/entware /tmp/opt
Add:
after:Code:/opt/etc/init.d/rc.unslung
Try that. That starts the packages.Code:ln -nsf $1/entware-ng.arm /tmp/opt
But I'm a little confused by your entware directory. If you install entware-ng from the built in script, [entware-setup.sh], your entware directory will be /entware, and your post-mount will say:
What version of merlin and what model router do you have?Code:ln -nsf $1/entware /tmp/opt
Ah, got it. The built in script installs entware-ng as well, but to the /entware directory, so it isn't that that is the problem, but that's why we have different scripts.Thanks, I will make a note of that.
I have an AC88U and I am running the latest version of Merlin 380.62_1.
Just so its known, whe I set up Entware I used this guide: https://www.hqt.ro/how-to-install-new-generation-entware/
Is it because it is the next generation entware ?
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!