Search results

  • 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!

  1. Dabombber

    Custom domains with dnsmasq and disconnected WAN cable does not work

    Disabling the "Enable WAN down browser redirect notice" setting should fix this.
  2. Dabombber

    [Beta] Asuswrt-Merlin 384.10 Beta is now available

    I guess my main concern is that inadyn is not run for all DDNS provider options, with no indication of which use it. It seems unintuitive to have a user provided config fail to override the generated config (or lack thereof) due to the generation settings. As for consistency, there are already...
  3. Dabombber

    [Beta] Asuswrt-Merlin 384.10 Beta is now available

    @RMerlin What are your thoughts on changing the way inadyn works? Remove the /jffs/configs/inadyn.conf file and run inadyn regardless of the WebUI settings.
  4. Dabombber

    Add DHCP static leases from CLI

    Another way of doing this is to have a file for static leases and have dnsmasq read that. This has the advantage of being in a much more readable format, not being limited by the nvram max length, and you can use some of the DHCP options like settings two macs for a client (the dnsmasq manual...
  5. Dabombber

    [Script] Add a warning in WebUI when Remote Access is enabled

    Looks like a firmware update changes the dictionary references and breaks things horribly. I've updated the script to add the last modification date to the end of the js file as a comment, and replace it if it doesn't match the stock version.
  6. Dabombber

    How inadyn works

    I think this is just saying that it won't magically fix NAT issues, but it should still be the best option for DDNS. Is your DDNS set correctly when you select external? That'd be the first step to fixing any problems. As for WOW I'll start with the common sense for any LAN service over WAN...
  7. Dabombber

    [Release] FreshJR Adaptive QOS (Improvements / Custom Rules / and Inner workings)

    At line #193 is this a copy/paste error? if ! [ -z "$ip1_up" ] ; then #Script Interactively Defined Rule 3 if [ "$(echo ${ip3_up} | grep -c "both")" -ge "1" ] ; then #1188 should be #read user input read input And the break...
  8. Dabombber

    amtm amtm - the Asuswrt-Merlin Terminal Menu

    I'm not sure what the standard approach is, but perhaps it'd be worth running 'chmod a+x' to make /jffs/scripts/FreshJR_QOS executable. That way you could run it directly without needing to use sh first (the if installed statement might fail due to permission denied). You could also use -x...
  9. Dabombber

    https://www.costco.com loads, but not costco.com

    dnamasq doesn't support wildcards like that. Just using the below would do. server=/netflix.com/nflximg.com/nflxvideo.com/1.2.3.4
  10. Dabombber

    [Script] Add a warning in WebUI when Remote Access is enabled

    Updated to fix line_ functions.
  11. Dabombber

    Escaping bug in helper.sh

    Urgh, looks like I missed a 'n' after the backslashes, but then that doesn't work either. $ echo -e "abc\ndef\n" | sed "/b/a\\\n123" abc 123 def $ echo -e "abc\ndef\n" | sed "/b/a\\ > 123" abc 123 def I guess that was a one line syntax for some non GNU sed, but escaped characters seem to be...
  12. Dabombber

    Modifying file with sed --> "Device or resource busy"

    Do you need to modify it often, or just to initialize it? If it's just to initialize it, you could run 'umount /www/READ_ONLY_FILE.asp' before trying to edit and remount it afterwards. Otherwise perhaps you could have /jffs/scripts/MY_FILE.asp redirect to a page in var wwwext (cloudflare won't...
  13. Dabombber

    Bug in 384.9: Samba Share concurrent connections.

    Maybe a smb.postconf will help. #!/bin/sh sed -i "s/max connections =.*/max connections = 10/" "$1"
  14. Dabombber

    [Release] Asuswrt-Merlin 384.9 is now available

    I think /jffs/scripts/smb.postconf is what you're after, although it might be better to properly hide the files instead of fixing the display. My postconf file is: #!/bin/sh sed -i "s|veto files = /|&entware/lost+found/\.minidlna/\*\.swp/|" "$1"
  15. Dabombber

    [Script] Add a warning in WebUI when Remote Access is enabled

    There's an attached screenshot showing the warning when access to the WebUI through WAN is enabled (and also that I need to update my firmware). As for testing that's what it's here for ;). I just followed Asus' implementation so it should be fine as long as the magic number isn't being used in...
  16. Dabombber

    Escaping bug in helper.sh

    So there's also a bit of weirdness with the 'a' sed option. It seems the fourth and last examples are "right", so pc_insert should be: pc_insert() { PATTERN=$(_quote "$1") CONTENT=$(_quote "$2") sed -i "/$PATTERN/a\\\$CONTENT" $3 }
  17. Dabombber

    Primary usb-wan DNS

    Looks like it's just the DNS servers (link).
  18. Dabombber

    [Script] Add a warning in WebUI when Remote Access is enabled

    Most people are probably like me where they don't check random settings like Remote WebUI Access ever again once they've disabled it. And given that it's possibly been enabled without them knowing (like me >.<), I figured it'd be useful to show a warning for it. #!/bin/sh...
  19. Dabombber

    Primary usb-wan DNS

    Yea, can't hurt to have both, edited my post.
  20. Dabombber

    Primary usb-wan DNS

    What about using /jffs/scripts/dnsmasq.postconf to manually set your DNS? And use the command "server restart_dnsmasq" "service restart_dnsmasq" to apply.
Top