Hi all,
First time posting, but been reading the forum for years now, but never had anything to contribute myself.
Long story short, I've been dealing with an issue with periodic disconnects of my WAN connection for over 6 months or more. I've gone through the complete cycle of diagnosis with my ISP and now I'm back thinking my equipment is at fault.
My setup:
My current thinking:
Current WAN page settings:
First time posting, but been reading the forum for years now, but never had anything to contribute myself.
Long story short, I've been dealing with an issue with periodic disconnects of my WAN connection for over 6 months or more. I've gone through the complete cycle of diagnosis with my ISP and now I'm back thinking my equipment is at fault.
My setup:
- Coax internet connection with my ISP (Videotron in Quebec, Canada).
- ISP supplied modem is an XB7 made by Arris (https://www.videotron.com/en/support/internet/equipment/helix-fi-gateway-2)
- Modem is configured in 'Bridge Mode', connected via a CAT7 3ft cable to the 1G WAN port of my Asus Router
- Asus Router is a RT-AX86U Pro running latest Merlin build 3004.388.8_2
- Every 36 hours (almost to the minute), I loose internet connection for about 15 seconds, 2 times in a row. So loose internet for 15 seconds it comes back for about 15 seconds, loose it again, then it's rock solid for the next 36 hours. When it happens in the middle of the night, I don't care or notice. My problem is when it happens during the day and I'm on a Teams call for work and I get cut off from the call until my network comes back.
- Logs from latest event:
Code:Sep 11 05:52:49 kernel: eth1 (Int switch port: 1) (Logical Port: 1) (phyId: 2) Link DOWN. Sep 11 05:52:54 kernel: eth1 (Int switch port: 1) (Logical Port: 1) (phyId: 2) Link Up at 1000 mbps full duplex Sep 11 05:54:58 kernel: eth1 (Int switch port: 1) (Logical Port: 1) (phyId: 2) Link DOWN. Sep 11 05:55:06 kernel: eth1 (Int switch port: 1) (Logical Port: 1) (phyId: 2) Link Up at 1000 mbps full duplex Sep 11 05:55:09 kernel: eth1 (Int switch port: 1) (Logical Port: 1) (phyId: 2) Link DOWN. Sep 11 05:55:15 kernel: eth1 (Int switch port: 1) (Logical Port: 1) (phyId: 2) Link Up at 1000 mbps full duplex Sep 11 05:55:58 WAN_Connection: WAN(0) link up. Sep 11 05:55:58 rc_service: wanduck 1540:notify_rc restart_wan_if 0 Sep 11 05:55:58 ovpn-server1[4409]: event_wait : Interrupted system call (fd=-1,code=4) Sep 11 05:55:58 ovpn-server1[4409]: Closing TUN/TAP interface Sep 11 05:55:58 ovpn-server1[4409]: /usr/sbin/ip addr del dev tun21 10.8.0.1/24 Sep 11 05:55:58 ovpn-server1[4409]: ovpn-down 1 server tun21 1500 0 10.8.0.1 255.255.255.0 init Sep 11 05:55:58 ovpn-server1[4409]: PLUGIN_CLOSE: /usr/lib/openvpn-plugin-auth-pam.so Sep 11 05:55:58 ovpn-server1[4409]: PLUGIN AUTH-PAM: Error signaling background process to exit: Connection refused (errno=111) Sep 11 05:55:58 ovpn-server1[4409]: SIGTERM[hard,] received, process exiting Sep 11 05:55:58 dnsmasq[2334]: read /etc/hosts - 24 names Sep 11 05:55:58 dnsmasq[2334]: using nameserver 1.1.1.1#53 Sep 11 05:55:58 dnsmasq[2334]: using nameserver 149.112.121.10#53 Sep 11 05:55:58 dnsmasq[2334]: using only locally-known addresses for Home Sep 11 05:55:58 dnsmasq[2334]: using nameserver 1.1.1.1#53 Sep 11 05:55:58 dnsmasq[2334]: using nameserver 149.112.121.10#53 Sep 11 05:55:58 dnsmasq[2334]: using only locally-known addresses for Home Sep 11 05:56:00 dnsmasq[2334]: read /etc/hosts - 24 names Sep 11 05:56:00 dnsmasq[2334]: using nameserver 1.1.1.1#53 Sep 11 05:56:00 dnsmasq[2334]: using nameserver 149.112.121.10#53 Sep 11 05:56:00 dnsmasq[2334]: using only locally-known addresses for Home Sep 11 05:56:00 dnsmasq[2334]: using nameserver 1.1.1.1#53 Sep 11 05:56:00 dnsmasq[2334]: using nameserver 149.112.121.10#53 Sep 11 05:56:00 dnsmasq[2334]: using only locally-known addresses for Home Sep 11 05:56:01 dnsmasq[2334]: read /etc/hosts - 24 names Sep 11 05:56:01 dnsmasq[2334]: using nameserver 1.1.1.1#53 Sep 11 05:56:01 dnsmasq[2334]: using nameserver 149.112.121.10#53 Sep 11 05:56:01 dnsmasq[2334]: using only locally-known addresses for Home Sep 11 05:56:01 dnsmasq[2334]: using nameserver 1.1.1.1#53 Sep 11 05:56:01 dnsmasq[2334]: using nameserver 149.112.121.10#53 Sep 11 05:56:01 dnsmasq[2334]: using only locally-known addresses for Home Sep 11 05:56:01 wan: finish adding multi routes Sep 11 05:56:01 openvpn-routing: Applying all killswitches Sep 11 05:56:01 miniupnpd[4387]: shutting down MiniUPnPd Sep 11 05:56:06 miniupnpd[19428]: HTTP listening on port 34561 Sep 11 05:56:06 miniupnpd[19428]: Listening for NAT-PMP/PCP traffic on port 5351 Sep 11 05:56:06 ddns: IP address, server and hostname have not changed since the last update. Sep 11 05:56:06 rc_service: udhcpc_wan 19200:notify_rc start_vpnserver1 Sep 11 05:56:06 dhcp_client: bound XXX.XXX.XXX.96/255.255.255.0 via XXX.XXX.XXX.1 for 3600 seconds. Sep 11 05:56:06 ovpn-server1[19449]: OpenVPN 2.6.12 arm-buildroot-linux-gnueabi [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] Sep 11 05:56:06 ovpn-server1[19449]: library versions: OpenSSL 1.1.1w 11 Sep 2023, LZO 2.10 Sep 11 05:56:06 ovpn-server1[19450]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts Sep 11 05:56:06 ovpn-server1[19450]: PLUGIN AUTH-PAM: initialization succeeded (fg) Sep 11 05:56:06 ovpn-server1[19450]: PLUGIN_INIT: POST /usr/lib/openvpn-plugin-auth-pam.so '[/usr/lib/openvpn-plugin-auth-pam.so] [openvpn]' intercepted=PLUGIN_AUTH_USER_PASS_VERIFY Sep 11 05:56:06 ovpn-server1[19450]: Diffie-Hellman initialized with 2048 bit key Sep 11 05:56:06 ovpn-server1[19450]: TUN/TAP device tun21 opened Sep 11 05:56:06 ovpn-server1[19450]: TUN/TAP TX queue length set to 1000 Sep 11 05:56:06 ovpn-server1[19450]: /usr/sbin/ip link set dev tun21 up mtu 1500 Sep 11 05:56:06 vpnserver1[19451]: PLUGIN AUTH-PAM: BACKGROUND: initialization succeeded Sep 11 05:56:06 ovpn-server1[19450]: /usr/sbin/ip link set dev tun21 up Sep 11 05:56:06 ovpn-server1[19450]: /usr/sbin/ip addr add dev tun21 10.8.0.1/24 Sep 11 05:56:06 ovpn-server1[19450]: ovpn-up 1 server tun21 1500 0 10.8.0.1 255.255.255.0 init Sep 11 05:56:06 ovpn-server1[19450]: Socket Buffers: R=[524288->524288] S=[524288->524288] Sep 11 05:56:06 ovpn-server1[19450]: UDPv4 link local (bound): [AF_INET][undef]:2031 Sep 11 05:56:06 ovpn-server1[19450]: UDPv4 link remote: [AF_UNSPEC] Sep 11 05:56:06 ovpn-server1[19450]: MULTI: multi_init called, r=256 v=256 Sep 11 05:56:06 ovpn-server1[19450]: IFCONFIG POOL IPv4: base=10.8.0.2 size=253 Sep 11 05:56:06 ovpn-server1[19450]: Initialization Sequence Completed Sep 11 05:57:01 WAN_Connection: WAN was restored. Sep 11 05:57:01 dnsmasq[2334]: read /etc/hosts - 24 names Sep 11 05:57:01 dnsmasq[2334]: using nameserver 1.1.1.1#53 Sep 11 05:57:01 dnsmasq[2334]: using nameserver 149.112.121.10#53 Sep 11 05:57:01 dnsmasq[2334]: using only locally-known addresses for Home Sep 11 05:57:01 dnsmasq[2334]: using nameserver 1.1.1.1#53 Sep 11 05:57:01 dnsmasq[2334]: using nameserver 149.112.121.10#53 Sep 11 05:57:01 dnsmasq[2334]: using only locally-known addresses for Home
- Contacted my ISP. They have sent technicians out 2 times. First time they replaced the entire outdoor Coax line from the pole to my house. Next time I wanted technician to replace my modem but they determined nothing was wrong and that my equipment was at fault. They say the logs from the modem show a port disconnect and that means it must be something wrong with my ethernet cable or my router.
- I replaced my ethernet cable from the modem to the router
- I completely replaced the Coax cable from the outside of my house to my modem. It's a brand new, straight cable RG6 cable from outside to my modem. No splitters. But even the cable company says my signal quality is fine.
- I have factory reset my modem and router
- I have changed the DHCP setting in Asus to Normal/Aggressive/Continuous. All the same.
- Used the 'dual wan' function and changed my WAN port to the 2.5G port
- Used the 'dual wan' function and changed my WAN port to the LAN port 1
- Changed from port 1 on my modem to the 2.5G port (Port 4) on the XB7 modem
- Changed to port 2 on my modem
My current thinking:
- I think it might have something to do with how the Asus router is handling the DHCP renewal request from my cable modem. My cable modem reports (when logged into the webpage of the modem) that is has a DHCP lease time of 3 days = 72 hours. According to DHCP specs, "The client typically sends the DHCP Request when half (50%) of the lease time has elapsed". 50% of 72 hours is 36 hours. This can't be a coincidence that at the 36 hour mark is when my Asus logs show that the port goes down.
- My next idea is going to be to try: https://github.com/lynxthecat/maintain-wan-lease
- Or, to use this idea, https://www.snbforums.com/threads/wan-connect-and-disconnect-using-script.11232/page-2#post-185023 and create a script that pre-emptively reboots the WAN connection at the 24 hour mark sometime in the middle of the night when it doesn't bother me.
- Or, put my ISP modem back in Normal mode, disable everything I can (which they make limited), and put the Asus router in a DMZ. Still not sure how this will work with my VPN server running on Asus along with DDNS for that server.
Current WAN page settings: