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. R

    WANFailover Dual WAN Failover Script

    I sent the diff, i didnt touch any of that. admin@RT-AX86U-D7D0:/jffs/scripts# nvram show | grep -e “wan” size: 74666 bytes (56406 left) admin@RT-AX86U-D7D0:/jffs/scripts#
  2. R

    WANFailover Dual WAN Failover Script

    I only saw it when it switch to wan1, but I cannot test failover for now. admin@RT-AX86U-D7D0:/jffs/scripts# nvram show 2>/dev/null | grep -E "^wan[01]?_dns|^wan[01]?_ifname" wan0_dns=1.1.1.1 8.8.8.8 wan0_dns1_x=1.1.1.1 wan0_dns2_x= wan0_dnsenable_x=1 wan0_ifname=eth0 wan1_dns=192.168.10.1...
  3. R

    WANFailover Dual WAN Failover Script

    @Ranger802004 and @dave14305 , right now I just have dual wan set in the UI, with nothing setup for ping,dns,etc while trying the script. Besides that ranger as you can see, i didnt change much at all in the script. I can give you the output of nvram if you tell me exactly what your looking for...
  4. R

    WANFailover Dual WAN Failover Script

    admin@RT-AX86U-D7D0:/jffs/scripts# diff original wan2 --- original +++ wan2 @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/sh # Author: Ranger802004 # Version 1.1 @@ -32,7 +32,7 @@ DNSRESOLVFILE="/tmp/resolv.conf" #Ping Target for failure detections, must be routed over targeted interface...
  5. R

    WANFailover Dual WAN Failover Script

    If you run diff, youll see nothings really been changed.
  6. R

    WANFailover Dual WAN Failover Script

    My wife is using internet.. When I can ill do a sh +x, and kill my primary line see if I can see something.
  7. R

    WANFailover Dual WAN Failover Script

    WAN0TARGET="$(nvram get wan0_dns | awk '{print $1}')" WAN1TARGET="$(nvram get wan1_gateway)"
  8. R

    WANFailover Dual WAN Failover Script

    That happened when it switched to wan1, I bet I have another blank nvram setting that needs changed on Wan1. My script is literally exactly yours, I changed the WAN0Target to what you pasted here. and just commented out wan-event.
  9. R

    WANFailover Dual WAN Failover Script

    I did not change anything but the WAN0TARGET= , and added the service "restart_wan_if 1", I will probably add a option to change qos or not to variable. But thats when Im bored. If you already have the email version, mind sending it? Save me having to add it.
  10. R

    WANFailover Dual WAN Failover Script

    You think thats what the grep issue was also? Something I can add, but if your working on this. Something handy sending a email when failover kicks in would be nice, somewhere on this forum I wrote a uptime script that would email, but you can also email your cellular provider and it will...
  11. R

    WANFailover Dual WAN Failover Script

    This is when it was switching after I killed my primary line. i fixed the wan-event issue. ############## Checking if ./wanup is already running... Switching to wan1 grep: option requires an argument -- 'e' Usage: grep [OPTION]... PATTERNS [FILE]... Try 'grep --help' for more information...
  12. R

    WANFailover Dual WAN Failover Script

    We must have something different on our routers, I have a AX86u running latest merlin version. I just switched the wc from 5 to 1, and then it always thinks the script is running. I had it pop up a grep error also while running, but havent been able to mess with it since. Just giving you my...
  13. R

    WANFailover Dual WAN Failover Script

    Played with it some this mornign, once I made it check the right dns, seems to be working. Fyi, my secondary wan always comes up in Cold Standby. The script doesnt seem to make it go into to hot standby. I just added service "restart_wan_if 1" to beginning, which makes it hot.
  14. R

    WANFailover Dual WAN Failover Script

    Guess I dont understand, your pinging wan0_dns1_x= for the check, but mine is empty, for wan0 and wan1, so these need set outsite the script?
  15. R

    WANFailover Dual WAN Failover Script

    Ill mess with this later, but apparently its failing with the ping command, probably this though wan0_dns=1.1.1.1 8.8.8.8 wan0_dns1_x= wan0_dns2_x= admin@RT-AX86U-D7D0:/jffs/scripts# ./wanup Checking if ./wanup is already running... BusyBox v1.25.1 (2022-03-25 10:23:25 EDT) multi-call binary...
  16. R

    AdGuardHome [RELEASE] Asuswrt-Merlin-AdGuardHome-Installer (AMAGHI)

    correct, and well it would be correct at that point that its double-nat in my situation.
  17. R

    AdGuardHome [RELEASE] Asuswrt-Merlin-AdGuardHome-Installer (AMAGHI)

    Thats a hell of grep, but that returns nothing like it should. Sorry for all that work.
  18. R

    AdGuardHome [RELEASE] Asuswrt-Merlin-AdGuardHome-Installer (AMAGHI)

    admin@RT-AX86U-D7D0:/tmp/home/root# ip -4 a | grep eth0 11: eth0: <BROADCAST,MULTICAST,ALLMULTI,UP,LOWER_UP> mtu 1500 qdisc htb state UP group default qlen 1000 inet 100.119.236.128/10 brd 100.127.255.255 scope global eth0
Top