I don't know if any of this is related to my problem, but here is all that has happened:
1. Lightning struck near the house 2 weeks ago. 2 8-port switches and 2 network ports were damaged.
2. 1 week after those components were replaced an ASUS RT-N66U failed. The power light wouldn't turn even with a different power supply.
3. During the time that the RT-N66U was out of service, I used a Speedstream 5100b DSL modem as a simple router. For those 2 days, The computers connected to it would be unable to access the internet. I don't believe it lost sync. A power off/on cycle would bring the connection back. I wish I had looked at the logs more closely.
4. The RT-N66U was replaced with an RT-AC87U. This morning at 8:07 and about once before over a period of about 5 days, the computers on the network were unable to access the internet. To fix this, I cycled the power on the modem at 8:59.
It's been running stable since then. Is there a way to get the router (running ASUS-WRT merlin firmware) to reset the modem (with a script or code change) when this happens, so it doesn't have to be done manually?
The log for what happened this morning is below. I stripped some DHCP requests, ip addresses and mac addresses from the log.
Thanks for anyone's help and thanks Merlin for your firmware work.
Ben
Code:
Sep 7 08:02:06 dnsmasq-dhcp[467]: DHCPACK(br0) 192.168.1.86 XX:XX:XX:XX:XX:XX
Sep 7 08:06:46 miniupnpd[1533]: upnp_event_recv: recv(): Connection reset by peer
|||>>>>-Sep 7 08:07:39 pppd[742]: Serial link appears to be disconnected.
Sep 7 08:07:39 pppd[742]: Connect time 4076.9 minutes.
Sep 7 08:07:39 pppd[742]: Sent XXXXXX bytes, received XXXXXXX bytes.
Sep 7 08:07:39 miniupnpd[1533]: Failed to get IP for interface ppp0
Sep 7 08:07:39 miniupnpd[1533]: SendNATPMPPublicAddressChangeNotification: cannot get public IP address, stopping
Sep 7 08:07:39 dnsmasq[467]: read /etc/hosts - 5 addresses
Sep 7 08:07:39 dnsmasq[467]: read /etc/hosts.dnsmasq - 1 addresses
Sep 7 08:07:39 dnsmasq-dhcp[467]: read /etc/ethers - 1 addresses
Sep 7 08:07:41 WAN Connection: Fail to connect with some issues.
Sep 7 08:07:41 stop_nat_rules: apply the redirect_rules!
Sep 7 08:07:42 pppd[742]: Connection terminated.
Sep 7 08:07:43 pppd[742]: Sent PADT
Sep 7 08:07:53 pppd[742]: PPP session is 60153 (0xeaf9)
Sep 7 08:07:53 pppd[742]: Connected to via interface eth0
Sep 7 08:07:53 pppd[742]: Using interface ppp0
Sep 7 08:07:53 pppd[742]: Connect: ppp0 <--> eth0
Sep 7 08:07:54 pppd[742]: PAP authentication succeeded
Sep 7 08:07:54 pppd[742]: peer from calling number XX:XX:XX:XX:XX:XX authorized
Sep 7 08:07:54 miniupnpd[1533]: Failed to get IP for interface ppp0
Sep 7 08:07:54 miniupnpd[1533]: SendNATPMPPublicAddressChangeNotification: cannot get public IP address, stopping
Sep 7 08:07:54 miniupnpd[1533]: Failed to get IP for interface ppp0
Sep 7 08:07:54 miniupnpd[1533]: SendNATPMPPublicAddressChangeNotification: cannot get public IP address, stopping
Sep 7 08:07:54 miniupnpd[1533]: Failed to get IP for interface ppp0
Sep 7 08:07:54 miniupnpd[1533]: SendNATPMPPublicAddressChangeNotification: cannot get public IP address, stopping
Sep 7 08:07:54 pppd[742]: local IP address XX.XX.XX.XX
Sep 7 08:07:54 pppd[742]: remote IP address XX.XX.XX.XX
Sep 7 08:07:54 pppd[742]: primary DNS address XX.XX.XX.XX
Sep 7 08:07:54 pppd[742]: secondary DNS address XX.XX.XX.XX
Sep 7 08:07:54 custom script: Running /jffs/scripts/wan-start (args: 0)
Sep 7 08:07:54 rc_service: ip-up 5996:notify_rc start_firewall
Sep 7 08:07:54 dnsmasq[467]: read /etc/hosts - 5 addresses
Sep 7 08:07:54 dnsmasq[467]: read /etc/hosts.dnsmasq - 1 addresses
Sep 7 08:07:54 dnsmasq-dhcp[467]: read /etc/ethers - 1 addresses
Sep 7 08:07:54 dnsmasq[467]: using nameserver XX.XX.XX.XX#53 for domain local
Sep 7 08:07:54 dnsmasq[467]: using nameserver XX.XX.XX.XX#53 for domain local
Sep 7 08:07:54 dnsmasq[467]: using nameserver XX.XX.XX.XX#53
Sep 7 08:07:54 dnsmasq[467]: using nameserver XX.XX.XX.XX#53
Sep 7 08:07:54 start_nat_rules: apply the nat_rules(/tmp/nat_rules_ppp0_eth0)!
Sep 7 08:07:54 custom script: Running /jffs/scripts/nat-start
Sep 7 08:07:54 wan: finish adding multi routes
Sep 7 08:07:54 rc_service: ip-up 5996:notify_rc stop_upnp
Sep 7 08:07:54 rc_service: waitting "start_firewall" via ip-up ...
Sep 7 08:07:55 miniupnpd[1533]: shutting down MiniUPnPd
Sep 7 08:07:56 rc_service: ip-up 5996:notify_rc start_upnp
Sep 7 08:07:56 miniupnpd[6036]: HTTP listening on port 50593
Sep 7 08:07:56 miniupnpd[6036]: Listening for NAT-PMP/PCP traffic on port 5351
Sep 7 08:07:57 WAN Connection: WAN was restored.
Sep 7 08:07:59 rc_service: ip-up 5996:notify_rc start_firewall
Sep 7 08:07:59 start_nat_rules: apply the nat_rules(/tmp/nat_rules_ppp0_eth0)!
Sep 7 08:07:59 custom script: Running /jffs/scripts/nat-start
Sep 7 08:08:53 pppd[742]: No response to 10 echo-requests
|||>>>>Sep 7 08:08:53 pppd[742]: Serial link appears to be disconnected.
Sep 7 08:08:53 pppd[742]: Connect time 1.0 minutes.
Sep 7 08:08:53 pppd[742]: Sent 510009 bytes, received 1371022 bytes.
Sep 7 08:08:53 miniupnpd[6036]: Failed to get IP for interface ppp0
Sep 7 08:08:53 miniupnpd[6036]: SendNATPMPPublicAddressChangeNotification: cannot get public IP address, stopping
Sep 7 08:08:53 dnsmasq[467]: read /etc/hosts - 5 addresses
Sep 7 08:08:53 dnsmasq[467]: read /etc/hosts.dnsmasq - 1 addresses
Sep 7 08:08:53 dnsmasq-dhcp[467]: read /etc/ethers - 1 addresses
Sep 7 08:08:53 dnsmasq[467]: using nameserver XX.XX.XX.XX#53 for domain local
Sep 7 08:08:53 dnsmasq[467]: using nameserver XX.XX.XX.XX#53 for domain local
Sep 7 08:08:57 WAN Connection: Fail to connect with some issues.
Sep 7 08:08:57 stop_nat_rules: apply the redirect_rules!
Sep 7 08:08:59 pppd[742]: Connection terminated.
Sep 7 08:08:59 pppd[742]: Sent PADT
Sep 7 08:08:59 pppd[742]: Modem hangup
Sep 7 08:09:44 pppd[742]: Timeout waiting for PADO packets
Sep 7 08:59:47 pppd[742]: Timeout waiting for PADO packets
|||>>>>Sep 7 08:59:52 pppd[742]: PPP session is 60310 (0xeb96)|||||||||
Sep 7 08:59:52 pppd[742]: Connected to XX:XX:XX:XX:XX:XX via interface eth0
Sep 7 08:59:52 pppd[742]: Using interface ppp0
Sep 7 08:59:52 pppd[742]: Connect: ppp0 <--> eth0
Sep 7 08:59:53 pppd[742]: PAP authentication succeeded
Sep 7 08:59:53 pppd[742]: peer from calling number XX:XX:XX:XX:XX:XX authorized
Sep 7 08:59:53 miniupnpd[6036]: Failed to get IP for interface ppp0
Sep 7 08:59:53 miniupnpd[6036]: SendNATPMPPublicAddressChangeNotification: cannot get public IP address, stopping
Sep 7 08:59:53 miniupnpd[6036]: Failed to get IP for interface ppp0
Sep 7 08:59:53 miniupnpd[6036]: SendNATPMPPublicAddressChangeNotification: cannot get public IP address, stopping
Sep 7 08:59:53 miniupnpd[6036]: Failed to get IP for interface ppp0
Sep 7 08:59:53 miniupnpd[6036]: SendNATPMPPublicAddressChangeNotification: cannot get public IP address, stopping
Sep 7 08:59:53 pppd[742]: local IP address XX.XX.XX.XX
Sep 7 08:59:53 pppd[742]: remote IP address XX.XX.XX.XX
Sep 7 08:59:53 pppd[742]: primary DNS address XX.XX.XX.XX
Sep 7 08:59:53 pppd[742]: secondary DNS address XX.XX.XX.XX
Sep 7 08:59:53 miniupnpd[6036]: ioctl(s, SIOCGIFADDR, ...): Cannot assign requested address
Sep 7 08:59:53 miniupnpd[6036]: Failed to get IP for interface ppp0
Sep 7 08:59:53 miniupnpd[6036]: SendNATPMPPublicAddressChangeNotification: cannot get public IP address, stopping
Sep 7 08:59:53 custom script: Running /jffs/scripts/wan-start (args: 0)
Sep 7 08:59:53 rc_service: ip-up 6902:notify_rc start_firewall
Sep 7 08:59:53 dnsmasq[467]: read /etc/hosts - 5 addresses
Sep 7 08:59:53 dnsmasq[467]: read /etc/hosts.dnsmasq - 1 addresses
Sep 7 08:59:53 dnsmasq-dhcp[467]: read /etc/ethers - 1 addresses
Sep 7 08:59:53 dnsmasq[467]: using nameserver XX.XX.XX.XX#53 for domain local
Sep 7 08:59:53 dnsmasq[467]: using nameserver XX.XX.XX.XX#53 for domain local
Sep 7 08:59:53 dnsmasq[467]: using nameserver XX.XX.XX.XX#53
Sep 7 08:59:53 dnsmasq[467]: using nameserver XX.XX.XX.XX#53
Sep 7 08:59:53 start_nat_rules: apply the nat_rules(/tmp/nat_rules_ppp0_eth0)!
Sep 7 08:59:53 custom script: Running /jffs/scripts/nat-start
Sep 7 08:59:53 wan: finish adding multi routes
Sep 7 08:59:53 rc_service: ip-up 6902:notify_rc stop_upnp
Sep 7 08:59:53 rc_service: waitting "start_firewall" via ip-up ...
Sep 7 08:59:54 miniupnpd[6036]: shutting down MiniUPnPd
Sep 7 08:59:55 rc_service: ip-up 6902:notify_rc start_upnp
Sep 7 08:59:55 miniupnpd[6942]: already expired lease in lease file
Sep 7 08:59:55 miniupnpd[6942]: already expired lease in lease file
Sep 7 08:59:55 miniupnpd[6942]: HTTP listening on port 59354
Sep 7 08:59:55 miniupnpd[6942]: Listening for NAT-PMP/PCP traffic on port 5351
Sep 7 08:59:57 WAN Connection: WAN was restored.
Sep 7 08:59:59 rc_service: ip-up 6902:notify_rc start_firewall
Sep 7 08:59:59 start_nat_rules: apply the nat_rules(/tmp/nat_rules_ppp0_eth0)!
Sep 7 08:59:59 custom script: Running /jffs/scripts/nat-start