Asuswrt-Merlin has a full-fledged wget, it's not the cutdown busybox applet.
I compile it with an option to point it at the CA root file, which I also include in the firmware. That's why the firmware's built-in wget is able to deal with SSL certificates.
Just provide the fully-qualified path to wget, this way you'll know you're using the firmware's version and not any Entware build.
I do not know if your busybox wget was built with ssl support. If you can tell me how you'd typically use wget to download from an https:// url, I can put the fix in the script
@Adamm See this post and the next one a few days ago.
I believe @Sebastien Bougie is using a different setup with busybox wget and/or entware wget, not what we have on /usr/sbin
I think you misunderstood me. I was saying that in this case, there is no /usr/sbin/wget (busybox wget is linked from /usr/bin)Sure, that's why you should replace all your wget commands with the full path to the routers default version as it has SSL support. That way anyone with an entware version etc will be forced to use it.
admin@RT-AC66R-D700:/jffs/scripts# wget -V
GNU Wget 1.16 built on linux-gnu.
+digest +https +ipv6 -iri +large-file -nls -ntlm -opie -psl +ssl/openssl
@Sebastien Bougie What is your router model?
@Sebastien Bougie I've uploaded a modified version of the script that uses curl instead of wget, can you give that a try and let me know?
/jffs/scripts/ya-malware-block.sh
/jffs/scripts/ya-malware-block.sh: Adding ya-malware-block rules to firewall...
>>> Downloading and aggregating malware sources (also processing whitelists).../jffs/scripts/ya-malware-block.sh: line 20: can't open /jffs/ipset_lists/ya-malware-block.urls: no such file
grep: /jffs/ipset_lists/ya-malware-block.whites: No such file or directory
~0s
>>> Adding data and processing rule for YAMalwareBlock1IP... ~0s
>>> Adding data and processing rule for YAMalwareBlockCIDR... ~0s
>>> Cleaning up... ~0s
/jffs/scripts/ya-malware-block.sh: Loaded sets YAMalwareBlock1IP (0) and YAMalwareBlockCIDR (0) in 1 seconds
Can you re-download the script and re-try? The script had a bug several days ago (that was there for a few hours) Now sure if you downloaded the script then. If you just now downloaded the script and its not working, then I'd need to take action.I've been unable to make it work
Just go to page 1 and follow the install instructions.i guess i am late to the party here... i am looking thru all of this and i do not see how to set this up. I have a RT3200 running 380.66.4 and with AI Protection but want to take a step farther. I aslo run open dns for additional filtering. Can some one show mw the directions and i should be able to figure it out
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!