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

    Email notification when switching to secondary WAN?

    Now it looks much better: There's been a WAN type change on the router on Sat, 24 Jun 2017 17:54:08 +0300. Router RT-N66U is now connected through Primary WAN The WAN IP is: 10.13.70.222 Router uptime: 0 days 00 hours 01 minutes 07 seconds The LAN IP is: 192.168.1.1...
  2. stylish_me

    Email notification when switching to secondary WAN?

    But v1.2 sends emails within 60 sec with correct information - so router is online within that 60-sec period for sure. I would say even more - it sends emails even when timout is set to 5 or 10 sec. It means that the router is online right after the reboot. But these emails have no ip and wan...
  3. stylish_me

    Email notification when switching to secondary WAN?

    i switched back to v 1.2 with 60 sec timeout and it perfectly works: Thu, 22 Jun 2017 19:50:43 +0300. Your router is now connected through Primary WAN. The new IP is: 10.13.70.222
  4. stylish_me

    Email notification when switching to secondary WAN?

    I can't understand - why it took only 60 seconds after reboot for version 1.2 to get ip, wan state and send me the email with correct information - and now ver 1.4 needs more then 140 seconds? On the same router with same settings. Only different script - v 1.2 with fixed timeout 60 sec and ver...
  5. stylish_me

    Email notification when switching to secondary WAN?

    Don't see any difference: There's been a WAN type change on the router on Thu, 22 Jun 2017 19:29:29 +0300. Router RT-N66U is now connected through . The new IP is: wan_connect_notification script stats: Ping cycles = 71, actual wait time until WAN up = 142 seconds. WAN IP register wait...
  6. stylish_me

    Email notification when switching to secondary WAN?

    in my case 1.2 version took 60 seconds to get wan state, get new ip and send email. So 60 timeout worked perfectly for reboot. Thanx for your help!
  7. stylish_me

    Email notification when switching to secondary WAN?

    Great thank you! I think that timeout shouldn't be more then in version 1.2. It was 60 seconds. Now in 1.3 it became 150-160. May be the problem is somewhere there..
  8. stylish_me

    Email notification when switching to secondary WAN?

    When i set ping count to 200 - i see success in syslog but get email with no wan status and no ip. Even after 150 seconds: Aug 1 03:00:13 admin: wan_connect_notification: WAN connection restored. Ping cycles = 75, Actual time = 150, via /jffs/scripts/wan-start ...... Jun 22 18:08:37 admin...
  9. stylish_me

    Email notification when switching to secondary WAN?

    i increased to 200 and got email without WAN status and ip after wait time 160 seconds.. Does it take so much time because of the script? version 1.2 needed 60 seconds sharp to get ip and wan status when rebooting. Now with version 1.3 it takes 160 seconds - but still no wan status and ip..
  10. stylish_me

    Email notification when switching to secondary WAN?

    Hmm works ok from the terminal, but doesn't work when router is rebooted. Doesn't send emails. It took 60 seconds on version 1.2 to send email. now it takes 142 seconds - but no email.. Aug 1 03:00:12 wan: finish adding multi routes Aug 1 03:00:12 admin: wan_connect_notification: WAN...
  11. stylish_me

    Email notification when switching to secondary WAN?

    Thank you very much for the update! Not it works almost perfect. Unfortunately i noticed that it takes my RT-N66 60 seconds sharp to show WAN state after reboot. So i had to enter sleep time for the script 60 seconds. It's ok for manual or scheduled reboot, but not ok for switching from primary...
  12. stylish_me

    Email notification when switching to secondary WAN?

    Oh great thank you very much! Will be waiting for it very much! Please add force NTP time update on script start - i tried but failed. As for IP i think it should be smth like is Primary then take ip from XX, if secondary - then take ip from YY. I used USB modem for secondary wan untill...
  13. stylish_me

    Email notification when switching to secondary WAN?

    Primary wan is wan Secondary wan is Lan Port 1 Firmware is 380.66_4 ntpclient -h pool.ntp.org -s &> /dev/null - didn't help. I still get letters from 2015
  14. stylish_me

    Email notification when switching to secondary WAN?

    It's almost working. But i face 2 problems: 1. I get the email: Router RT-N66U is now connected through Primary WAN. The new IP is: 192.168.0.111 But 192.168.0.111 - is secondary WAN IP. So this line is wrong. And more - if i run this script when rebooting router - i get wrong time (1aug...
  15. stylish_me

    Email notification when switching to secondary WAN?

    Thanx a lot! Got some questions: 1. Is it a final version or some tests should be done? 2. As far as i remember - gmail needs certificates and so on - so information about gmail settings should be added. Info about gmail certificate is in the link above. 3. Are you sure that nvram get wan_ipaddr...
  16. stylish_me

    Email notification when switching to secondary WAN?

    Yep sure the code is from wiki: https://github.com/RMerl/asuswrt-merlin/wiki/Sending-Email
  17. stylish_me

    Email notification when switching to secondary WAN?

    Hi! I've been using a script posted here a long ago that sends emails when router reconnects to internet and writes it's current ip in the letter. Today i connected second internet line as secondary WAN and made all the settings. I was sure that the script will send me different ips - so i will...
  18. stylish_me

    [Beta] Asuswrt-Merlin 380.66 Beta is now available

    Despite Merlin says RT-n66 wireless driver hasn't been changed for a year - i am still getting wifi problems. Mostly on 5Ghz. Problems started when i flashed to beta. So i'm 100% sure they are somehow connected with this beta. First i see dropping speed and then connection stops at all...
  19. stylish_me

    [Beta] Asuswrt-Merlin 380.66 Beta is now available

    After updating my RT-N66 to the latest beta 5 (i skipped 1-4) - i started getting wifi speed drops on many clients - incl iphone 7, netgear router in AP repeater mode and so on - 2.4 and 5 bands as well. I don't find airtime fairness setting anywhere to disable it. Any solutions?
  20. stylish_me

    Notifications (E-Mail)

    Wrong answer? This is about WAN restore email notification script.
Top