I followed all the directions exact, except that I created a folder in: /jffs/tmp because creating the dns folder in /jffs/ would just erase itself after router reboots. When I try running the "/jffs/tmp/dns/disable_adds.sh" command in the window, I get this error:
sh: eval: line 7: /jffs/tmp/dns/disable_adds.sh: not found
After confirming that the folder doesn't disappear upon reboot, and that both files have the correct permissions, I tried entering other commands for mounting the jffs partition (which shouldn't be needed anyways since jffs is already enabled) but this did not make any difference. This is supposed to be something simple, but I fail at doing something even basic as this. The firmware version is: DD-WRT v3.0-r47618 std (11/05/21)
The router is a Netgear R6250 and should have enough onboard memory for the jffs stuff. I apologize for only having a basic understanding of this stuff. If there is a way to get this working I would be extremely happy!
I am using the onboard memory, not a usb stick. Also, I am pretty sure the jff2 is setup properly, as shown in the first picture. At least the files copied to jff2/tmp don't dissapear. I followed the instructions verbatim from the link that I shared. if you have a better/more recent guide I would sure like to see it!
And to the first post, I would assume you could run the command from the window if it was able to find the file in question. There are still plenty of pop ups (when going on certain sites) so I don't think the command is being ran correctly on startup.
Thanks again
-Mark
Joined: 08 May 2018 Posts: 14242 Location: Texas, USA
Posted: Mon May 09, 2022 20:45 Post subject:
onthegorepairs wrote:
And to the first post, I would assume you could run the command from the window if it was able to find the file in question. There are still plenty of pop ups (when going on certain sites) so I don't think the command is being ran correctly on startup.
Looking at the script in question, it should log to syslog if it runs successfully on startup. The commands window may require special finesse (syntax) to run the script successfully, but if you wanted to test it on the fly without rebooting, then you should probably use telnet/ssh, not the webUI. Considering the article is from 12 years ago or so, and it calls for extra optional configuration if you want a more robust solution. It also advises from the beginning to also use a browser-based extension in conjunction with.
NOTE: Also consider that at the time the article was written, your router or any other Broadcom ARM device did not exist, so this solution may only apply to WRT54/MIPS devices to begin with. I didn't check the script in depth to check, but. _________________ "Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT Pogo - A minimal level of ability is expected and needed... DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)
----------------------
Linux User #377467 counter.li.org / linuxcounter.net
thank you for the links and helpful suggestions. Under services >> adblocking there is something called privoxy, anyone recommend it? if so, how is the best way to set it up? this is a real interesting rabbit hole. i'm also very impressed with these forums! thanks again!
Joined: 08 May 2018 Posts: 14242 Location: Texas, USA
Posted: Mon May 09, 2022 22:47 Post subject:
I have tested Privoxy on my R7000P awhile back. The only caveat I know of is client configuration to use the proxy. I tested it without browser add-ons such as uBlock and was impressed. I didn't explore the wiki all that much, and I don't recall if there is any helpful information in the built-in helpfile(s) in DD-WRT.
I varied from the setup instructions due /jffs on removable drive so no size limitations.
YMMV
so I ran the command found in the script and turned on logging (wget -qO - bit.ly/ddwrt-installer|tr -d '\r'|sh -s aySi7RhY startup) and that seemed to work fine. But in the logs it says that /tmp/blacklisted_domains does not exist. is this where i put the file you linked too? this seems like the last piece of the puzzle. i'm not quite sure what the command i entered in does, but it looks like i am at least halfway their.
now my jffs partition doesn't mount, and shows up as empty and read only. I have tried disabling and re-enabling, erasing the jffs partition, no matter what I do it no longer seems to work (and doesn't show space info). I can restore my router settings using a backup, but don't want to do this unless the jffs partition is needed (using the script bushant shared). just figured I would give an update incase anyone knows of a quicker resolution. thanks again for the help guys!
Joined: 16 Nov 2015 Posts: 6445 Location: UK, London, just across the river..
Posted: Thu May 12, 2022 10:27 Post subject:
onthegorepairs wrote:
now my jffs partition doesn't mount, and shows up as empty and read only. I have tried disabling and re-enabling, erasing the jffs partition, no matter what I do it no longer seems to work (and doesn't show space info). I can restore my router settings using a backup, but don't want to do this unless the jffs partition is needed (using the script bushant shared). just figured I would give an update incase anyone knows of a quicker resolution. thanks again for the help guys!
if you name this partition to a jffs and turn automount it must mount automatically, otherwise use the manual mounting...and yep for best results, you must use drive formatted to ext2,3 or 4 _________________ Atheros
TP-Link WR740Nv1 ---DD-WRT 55630 WAP
TP-Link WR1043NDv2 -DD-WRT 55723 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55779 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55819 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55779 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913