Hmmm.
C:\Users\Andrew_jr>ping dns.msftncsi.comCan you ping dns.msftncsi.com?
Just as I thought. Bad news.C:\Users\Andrew_jr>ping dns.msftncsi.com
Обмен пакетами с dns.msftncsi.com [131.107.255.255] с 32 байтами данных:
Превышен интервал ожидания для запроса.
Превышен интервал ожидания для запроса.
Превышен интервал ожидания для запроса.
Превышен интервал ожидания для запроса.
Статистика Ping для 131.107.255.255:
Пакетов: отправлено = 4, получено = 0, потеряно = 4
(100% потерь)
100% lost
But before everything worked perfectly. Even today ))Just as I thought. Bad news.
WAN is my primary and LAN Port 1 is secondary. I didn't change this setting for months.BTW, which WAN is your primary, you can set it in dual WAN settings.
And it perfectly worked many weeks including today when i tested beta 2 and even beta 3.This works 100% and immediately.
So all the problems come when dns.msftncsi.com becomes unpingable? Do you think it happened 1-2 hours ago and now i am facing these problems? Is it pingable for you?I can only look at the nvram settings, and if
I have no idea if this has anything to do with it, I only happened to find out because I looked into why Asus is so slow and unreliable.So all the problems come when dns.msftncsi.com becomes unpingable? Do you think it happened 1-2 hours ago and now i am facing these problems? Is it pingable for you?
For me it is unpingable even via my iphone working over LTE.
So it's not the problem. Or now your script says secondary wan when it's primary with you too?I cannot ping that domain from here nor from one of my external servers.
#!/bin/sh
detect_wan_type(){
ired='\033[0;31m'
igreen='\033[0;92m'
nc='\033[00m'
if [ "$(nvram get link_wan)" == 1 ] && [ "$(nvram get wan_primary)" == 0 ];then
# WAN is up
WAN_TYPE="Primary-WAN "
WAN_IP=$(nvram get wan0_ipaddr)
color=$igreen
elif [ "$(nvram get link_wan1)" == 1 ] && [ "$(nvram get wan_primary)" == 1 ];then
# WAN1 is up
WAN_TYPE="Secondary-WAN"
WAN_IP=$(nvram get wan1_ipaddr)
color=$ired
else
WAN_TYPE="UNDEFINED "
fi
echo -e "$color$WAN_TYPE$nc link_wan $(nvram get link_wan) wan_primary $color$(nvram get wan_primary)$nc link_wan1 $(nvram get link_wan1) WAN_IP $color$WAN_IP$nc"
sleep 2
detect_wan_type
}
detect_wan_type
If the IP is 0.0.0.0 then it has not been acquired, in the dual-wan-helper I wait in that case.
Can you post that without the color code, or make a screenshot?[0;31mSecondary-WAN link_wan 1 wan_primary [0;31m1 link_wan1 1 WAN_IP [0;31m192.168.0.111
That is 100% wrong. I don't know where it gets this information. These numbers refer to secondary wan. And the router is running primary. Why does it happen?
Not sure if colors could help me lol.This is what it should look like with colors:
I have tested this on three routers, many times. Works without fail on all of them, even the router with the LTS fork.Not sure if colors could help me lol.
If you reboot your router running beta3 - it says you are on primary or on secondary? I cannot understand what is happening to my router..
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!