thelonelycoder
Part of the Furniture
There's only one setting, sending mail or not...Could you please highlight the part of the code you change - not to make all the settings from the very beginning. Thanx!
There's only one setting, sending mail or not...Could you please highlight the part of the code you change - not to make all the settings from the very beginning. Thanx!
It sure does, and it's working more or less ok.Doesn't Asuswrt have a C-code program wanduck to do the wan down up check, won't there be a conflict, or could your investigations fix it?
I mean all email settings and email text compilation which i change for pushover application.There's only one setting, sending mail or not...
So you say you are using failback and failover timeouts with small numbers like 8 seconds? Don't you feel internet gaps when switching? I have satellite share which freezes every time when wan0 switches to wan1 and back. When wan0 is down - this switching takes more then 10 seconds with your numbers. And it repeats several times per minute. I think such internet connection is unusable. It would be great to set failback time to at least 30 minutes and failover time to 2-4 seconds. What's your opinion?That's what I'm changing now. The high count prevents the WAN type change email for a long time until it reaches 0.
If you have AB-Solution installed I could include the email.cfg file, this would save the manual entering of the settings.I mean all email settings and email text compilation which i change for pushover application.
No, email script was the first i tried )If you have AB-Solution installed I could include the email.cfg file, this would save the manual entering of the settings.
Then I'll separate the two so it does not have to be changed every time I make a change.No, email script was the first i tried )
It's not the most important part, i updated settings within previous script 1.0-1.7 versions without any problem. The only problem i am facing right now - is the one we discussed yesterday. I am recieving emails only after failback timeout. Thanx!Then I'll separate the two so it does not have to be changed every time I make a change.
It'll look for the AB file first and if not found will include the separate file.
I have not had the time to work on it yet.Hi @thelonelycoder
Any progress with my problem? Long failback time causing late email notification. Thank you!
Ok no problem it works almost ok (but for this email delay) so i can easily wait. Thanx!I have not had the time to work on it yet.
Thank you very much!Dual WAN helper beta 2 is now available
What's new
The release date and beta 2 changes are done and uploaded, no other changes made to file.Well .... failback stopped working as well..
/jffs/scripts$ /jffs/scripts/dual-wan-helper kill
Terminated
/jffs/scripts$ /jffs/scripts/dual-wan-helper
---------------------------------------------
Settings used for dual-wan-helper 1.0 beta 1
WANDOG_INTERVAL = 8 (real setting 8)
WANDOG_MAXFAIL = 2 (2)
WANDOG_FB_COUNT = 98 (98)
SLEEP_TIMEOUT = 8
PING_COUNT = 24
WAN_SUCCESSFUL = 92
SEND_MAIL = on
---------------------------------------------
Secondary-WAN reported
ping OK, Secondary-WAN, 192.168.0.111, WAN test in 92, Progressive timeout 0
ping OK, Secondary-WAN, 192.168.0.111, WAN test in 84, Progressive timeout 0
ping OK, Secondary-WAN, 192.168.0.111, WAN test in 76, Progressive timeout 0
ping OK, Secondary-WAN, 192.168.0.111, WAN test in 68, Progressive timeout 0
ping OK, Secondary-WAN, 192.168.0.111, WAN test in 60, Progressive timeout 0
ping OK, Secondary-WAN, 192.168.0.111, WAN test in 52, Progressive timeout 0
ping OK, Secondary-WAN, 192.168.0.111, WAN test in 44, Progressive timeout 0
ping OK, Secondary-WAN, 192.168.0.111, WAN test in 36, Progressive timeout 0
ping OK, Secondary-WAN, 192.168.0.111, WAN test in 28, Progressive timeout 0
ping OK, Secondary-WAN, 192.168.0.111, WAN test in 20, Progressive timeout 0
ping OK, Secondary-WAN, 192.168.0.111, WAN test in 12, Progressive timeout 0
ping OK, Secondary-WAN, 192.168.0.111, WAN test in 4, Progressive timeout 0
ping OK, Secondary-WAN, 192.168.0.111, WAN test in -4, Progressive timeout 0
ping OK, Secondary-WAN, 192.168.0.111, WAN test in -12, Progressive timeout 0
ping OK, Secondary-WAN, 192.168.0.111, WAN test in -20, Progressive timeout 0
ping OK, Secondary-WAN, 192.168.0.111, WAN test in -28, Progressive timeout 0
ping OK, Secondary-WAN, 192.168.0.111, WAN test in -36, Progressive timeout 0
ping OK, Secondary-WAN, 192.168.0.111, WAN test in -44, Progressive timeout 0
ping OK, Secondary-WAN, 192.168.0.111, WAN test in -52, Progressive timeout 0
Plz see my updated post with full log. I remember that there were no numbers with minuses in beta1 for sure. And now i seeLet me test it with your settings on my router, I usually have these set:
Is "Enable Ping to Internet" enabled?Well .... failback stopped working as well..
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!