• SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Search results

  1. jacklul

    Entware Pi-hole directly on the router? Yes!

    Also, if I remember correctly, ps only shows virtual allocations, not real usage. Only the MEM% is real usage, I think. Correct me if I'm wrong here. You might want to check memory usage percentage displayed in Settings->System.
  2. jacklul

    Entware Pi-hole directly on the router? Yes!

    Settings -> Privacy, set "Maximum number of days to keep queries in the database" to something low like 8 days and wait few hours.
  3. jacklul

    Entware Pi-hole directly on the router? Yes!

    That memory usage could be caused by the size of pihole-FTL.db, for comparison mine is around 65M and I keep only last 30 days of queries in it.
  4. jacklul

    Entware Pi-hole directly on the router? Yes!

    What are the sizes of gravity.db and pihole-FTL.db?
  5. jacklul

    Entware Pi-hole directly on the router? Yes!

    How long have you been running it? Maybe there is memory leak somewhere again. In FTL v6.3 dev version there was a memory leak that I reported and it got fixed. FTL periodically performs a maintenance of pihole.FTL.db database where it has to load it completely into the memory, if the database...
  6. jacklul

    Collection of scripts for stock firmware

    grep -v "grep" | grep -F "stubby" usually can be replaced with a trick like this grep "[s]tubby" no real speed benefits since we are replacing two calls with one regex call but we shorten the code little for easier read
  7. jacklul

    Collection of scripts for stock firmware

    That's interesting, why would there be two instances running off /etc/stubby/stubby-0.yml config file? I've updated the script to use a loop, just like in my custom-configs script.
  8. jacklul

    Collection of scripts for stock firmware

    Expading the code I posted earlier, this might work: #!/bin/sh # save this as /jffs/scripts/stubby_sdn0.sh # add this line to /jffs/scripts/usb-mount-script: # cru a stubby_sdn0 "*/1 * * * * /jffs/scripts/stubby_sdn0.sh" # to disable after enabling: # cru d stubby_sdn0 if ! grep -Fq "Modified...
  9. jacklul

    Entware Pi-hole directly on the router? Yes!

    Did you follow the installation guide, specifically for Merlin firmware?
  10. jacklul

    Collection of scripts for stock firmware

    I don't think I will be able to support this in my script because of the reasons I mentioned earlier.
  11. jacklul

    Collection of scripts for stock firmware

    I've looked at the other thread, is stubby-0 stock firmware feature or Merlins? I think it was mentioned there to be Merlin only...
  12. jacklul

    Collection of scripts for stock firmware

    /usr/sbin/helper.sh is only in Merlin firmware, you will have to either rewrite that script to use sed directly or download helper.sh from Merlin repository. Does the /etc/stubby/stubby.yml still exist though ? Or is it only stubby-0.yml now? Are there multiple stubby processes running? My...
  13. jacklul

    Entware Pi-hole directly on the router? Yes!

    I will need a little more detail on your setup, did you change Pi-hole's port from 53 to 5335? That's wrong, no traffic will reach it. Running "pihole debug", uploading it when asked and sending me the resulting URL might also help.
  14. jacklul

    Collection of scripts for stock firmware

    Try running "/jffs/scripts/jas.sh setup", that should re-add the line.
  15. jacklul

    Entware Pi-hole directly on the router? Yes!

    Your LAN devices must use the device you installed Pi-hole on as DNS server, check your DHCP server configuration. If you have only one router and that's the one you installed it on then it should work right away after following the installation guide for Asus routers. Note that some devices...
  16. jacklul

    Entware Pi-hole directly on the router? Yes!

    "previous one" what? Previous version after update? There is no need to do that as everything is packaged together and OPKG handles the updates.
  17. jacklul

    Collection of scripts for stock firmware

    Does the /jffs/scripts/usb-mount-script exist and is executable? Does it contain /jffs/scripts/jas.sh line? Which scripts are you using? Check 'cru -l' output to verify that the scripts didn't start (there won't by any entry for them there)
  18. jacklul

    Collection of scripts for stock firmware

    Check the syslog, look for "Executing usb-mount-script" line. Also make sure the router actually mounted the storage device, some low quality USB sticks can sometimes fail to mount and require replugging.
  19. jacklul

    Entware Pi-hole directly on the router? Yes!

    I think Pi-hole added some new options, doesn't affect the package. -2 version because I made a mistake in -1 on the same day.
  20. jacklul

    Error with unbound and VPN all default settings set

    Might be caused by your award winning firewall nslookup should use DNS servers in /etc/resolv.conf, possible that with killswitch enabled all queries will be dropped if there is no 127.0.0.1 entry in there. Unless you can nslookup other domains than 'amdahl.com', then it's your firewall.
Back
Top