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

    Probably the pain with this is , most people use gmail nowaways. I had trouble getting the CA file to work, and using "less secure apps" supposedly stops 5/30/2022. That might be a issue beyond your control, and not worthwhile.. maybe the option
  2. R

    WANFailover Dual WAN Failover Script

    Im not sure how many people actually use dualwan, but I do think this is a worthy addition to amtm since you have a install script now. maybe @thelonelycoder would consider it.
  3. R

    WANFailover Dual WAN Failover Script

    I dont know how many times Ive worked on a project, and had some small thing that just wouldnt work.. no matter how many times I tried. Finally walk away awhile.. Come back.. Instantly "duh, its right there".. Sometimes we get into tunnel vision maybe?
  4. R

    WANFailover Dual WAN Failover Script

    It would be kind of nice to click a tab and see status of switchovers etc.. But I setup the email, so not a big deal. Speaking of which, i dont know what the hell was going on with verizon.. if you email phone number XXXXXXXXX@vtext.com it will text you. I did that while messing with it over the...
  5. R

    WANFailover Dual WAN Failover Script

    Now you can start working on the web gui :D
  6. R

    WANFailover Dual WAN Failover Script

    So far the new script is working perfect. I shut off and on my starlink router 4 times today, it takes around 3minutes to come back up. It switched back and forth correctly and fast. Also having the ability to notify through log or email is a big plus. We all want to know when and how often it...
  7. R

    WANFailover Dual WAN Failover Script

    Installed this morning, everything seems to be working very well now.
  8. R

    WANFailover Dual WAN Failover Script

    I knew it was a lie, thats why I held tight to my beer
  9. R

    WANFailover Dual WAN Failover Script

    I was just thinking, well Ranger is apparently drinking, im opening me a beer :)
  10. R

    WANFailover Dual WAN Failover Script

    I dont even want to attempt to understand this :) while \ { [[ "$(nvram get wans_dualwan | awk '{print $2}')" == "none" ]] && [[ "$(nvram get wans_mode)" != "fo" ]] && [[ "$(nvram get wandog_enable)" != "0" ]] ;} \ || { [[ "$(nvram get $(echo $WANPREFIXES | awk '{print $1}')_enable)" ==...
  11. R

    WANFailover Dual WAN Failover Script

    sorry dave, I should, but didnt even know that button existed
  12. R

    WANFailover Dual WAN Failover Script

    This is the stock script (besides when I changed those two lines) running manual WAN0TARGET=8.8.8.8 WAN1TARGET=8.8.4.4 PINGCOUNT=5 PINGTIMEOUT=1 WANDISABLEDSLEEPTIMER=3 WAN0_QOS_IBW=0 WAN1_QOS_IBW=0 WAN0_QOS_OBW=0 WAN1_QOS_OBW=0 WAN0_QOS_OVERHEAD=48 WAN1_QOS_OVERHEAD=48 WAN0_QOS_ATM=...
  13. R

    WANFailover Dual WAN Failover Script

    This line: ip route add $WAN1TARGET via $(nvram get ${WANPREFIX}_gateway) dev $(nvram get ${WANPREFIX}_ifname) And: WAN1PACKETLOSS="$(ping -I $(nvram get ${WANPREFIX}_ifname) $WAN0TARGET -c $PINGCOUNT -W $PINGTIMEOUT | grep -e "packet loss" | awk '{print $7}')"
  14. R

    WANFailover Dual WAN Failover Script

    If I get rid of the variables, and just add fi ip route add 8.8.4.4 via 192.168.10.1 dev eth5 WAN1PACKETLOSS="$(ping -I eth5 8.8.4.4 -c 3 -W 1 | grep -e "packet loss" | awk '{print $7}')" Everything works. 5/23/22 @ 14:22:06: ./wanfail.sh - WAN Status: wan0 is connected... 05/23/22 @...
  15. R

    WANFailover Dual WAN Failover Script

    I added a sleep, didnt work. I may have manually added the route when I tried the ping to that interface and it worked. now it doesnt after a reboot. I need to quit messing with it while on the phone,etc.. So I can give more valid info.
  16. R

    WANFailover Dual WAN Failover Script

    05/23/22 @ 12:20:43: ./wanfail.sh - WAN Status: wan0 is connected... 05/23/22 @ 12:20:43: ./wanfail.sh - WAN Status: Route exists for 8.8.8.8 via 100.64.0.1 dev eth0... 05/23/22 @ 12:20:47: ./wanfail.sh - WAN Status: wan0 has 0% packet loss... 05/23/22 @ 12:20:47: ./wanfail.sh - WAN Status: wan1...
  17. R

    WANFailover Dual WAN Failover Script

    I do notice that it also says wan1 100% packetloss in the log, but if I type in the ping -I eth5 command manually it works fine, so maybe WANPREFIX isnt being set there also. *shrug*. I think alot of people may be in doublenat on the secondary, as many use hotspots,etc. If Im bugging you, sorry...
  18. R

    WANFailover Dual WAN Failover Script

    link_wan1=1 switch_wan1prio=0 switch_wan1tagid= wan1_6rd_ip4size= wan1_6rd_prefix= wan1_6rd_prefixlen= wan1_6rd_router= wan1_auth_x= wan1_auxstate_t=0 wan1_clientid= wan1_clientid_type=0 wan1_desc= wan1_dhcp_qry=1 wan1_dhcpenable_x=1 wan1_dns=192.168.10.1 wan1_dns1_x=1.1.1.1 wan1_dns2_x=8.8.8.8...
  19. R

    WANFailover Dual WAN Failover Script

    Its hot, and wan1_state_t shows 2, and wan1_realip_state shows 2, but wan1_realip_ip is empty, even after it restarts it. I assume this is just cosmetic, just letting you know
  20. R

    WANFailover Dual WAN Failover Script

    I just noticed this in the logs after restarting. And far as I know wan1 was already connected. But its creating a route for wan1 to 0.0.0.0? It looks like its done that all along, but the switchover worked when I tried it . May not be anything. 5/23/22 @ 11:30:06: ./wanfail.sh - WAN Status...
Top