I have OpenWrt 19.07.2 installed on Linksys WRT1900ACS. Periodically (mostly randomly, once in few days or more often) it loses internet (WAN) connection for all devices, wireless and wired. Based on the logs, that happens after or around this event: "netifd: wan (3898): udhcpc: sending renew to (ip address)"
Rebooting the router or restarting WAN interface restores the connection.
Any ideas on how to resolve this issue?
So, I lost internet overnight again. Checked memory - ok, CPU load - ok, nothing seems to be out of the ordinary. What interesting, system log does not have "netifd: wan (3898): udhcpc: sending renew" event anymore. Now it looks like I'm losing internet every 12 hours or so. Can it be related to the lease time? How can I check?
The truth is I don't know why that happens, the only thing I think is that the ISP changes your IP address and OpenWrt does not detect that there is no internet traffic and does not try to auto restart the WAN Interface to use that new IP address or not try restores the connection and you have to do it manually.
Try this maybe it will help you.
Change the Ethernet Cable.
Change the Power Supply of your Modem and Router.
Install the latest official version 19.07.3 or Davidc502 version and you do a Factory Reset through PuTTY.
That sounds similar to an issue that I have been having where the router stops communicating with the modem except for a very small trickle of data and I can resolve it by unplugging the Ethernet cable from the modem and plugging it back in. I have also noticed that when I log into Luci with no internet the system time on the router is way off by like a day or two.
Does this sound familiar at all to you? openwrt.org/t/replug-ethernet-everyday/55686/2
Yes, definitely my router looses connection with cable modem. I also see small trickle of data between them, but can't access Internet. I have not noticed time change, though, so will specifically look at that next time it happens. I usually restart WAN interface on my router instead of unplugging Ethernet cable.
So far I have tried upgrading to the latest image, which did not help. Now I'm running Davidc502 image with default configuration. Have not touched any settings, will see how this works.
I had stock and DD-WRT firmware on this router before and have not had any issues with disconnect. It only happened when I've switched to OpenWrt recently.
I also have Netgear WiFi extender running OpenWrt in dummy AP mode, which is connected to my router via LAN. I wonder if that may cause any issues..
At the moment don't see anything after I run this command.
I don't think the disconnect happened at the end of the lease, since WAN stats show there still several hours bore current lease expires. Also, I had disconnects happening within 20-30 min from eachother.