-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Watchping does not start on wan interface on TP-Link WDR3600 #1157
Comments
Tested a bit.
That works for Internally, OpenWrt checks for the content of /var/state/network that, for some reason, has the entry for
Regenerating the file with While uci shows everything is as expected:
|
More tests: If the router is connected to the WAN before it gets switched on, the watchping for IPv4 never starts, neither disconnecting and reconnecting the WAN cable. Even if the /var/state/network has the entry for wan. If the router WAN port is disconnected when the router gets switched on, and thec cable gets connected later, the watchping for IPv4 works. Basically, the WAN interface takes long time to get up and the sleep of 10 seconds here lime-packages/packages/watchping/files/etc/init.d/watchping Lines 37 to 41 in 6176402
is not enough. From my observation using the 2024.1 branch on a TP-Link WDR3600 and selecting many LibreMesh packages, it seems that 15 seconds are required. So, the solution proposed in #1158 would work. No idea when this time increased, I suppose it is because of some of the changes in the last years... |
Observed this over various reboots, using a TP-Link WDR3600 and testing most of the pull requests currently open. No idea is some of the pull requests increased the time required for the interface to get up.
The text was updated successfully, but these errors were encountered: