watchcat: Use ifup to restart interface#27248
Open
rondoval wants to merge 1 commit intoopenwrt:masterfrom
Open
watchcat: Use ifup to restart interface#27248rondoval wants to merge 1 commit intoopenwrt:masterfrom
rondoval wants to merge 1 commit intoopenwrt:masterfrom
Conversation
Signed-off-by: Łukasz Winczura <rondoval@gmail.com>
Member
|
You have to write why you want to change it and why we should use. |
Contributor
danielfdickinson
added a commit
to danielfdickinson/packages
that referenced
this pull request
Jan 25, 2026
As reported in openwrt#23410 Network interface reset doesn't work as expected on a Wireguard VPN interface and in openwrt#27927 lt2p interface won't reboot, and mentioned in openwrt#27248, the current implementation of the option to restart an interface when connectivity check fails for some period does not result in an interface restart for all interface. Notably 'virtual' interfaces such as Wireguard and L2TP do not restart. The solution that works is to use `ifup <interface>` instead of only changing the link status. This commit is based on the one in openwrt#27248 by @rondoval, who unfortunately has not updated the commit message as requested for half a year. Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
1 task
hnyman
pushed a commit
that referenced
this pull request
Mar 3, 2026
As reported in #23410 Network interface reset doesn't work as expected on a Wireguard VPN interface and in #27927 lt2p interface won't reboot, and mentioned in #27248, the current implementation of the option to restart an interface when connectivity check fails for some period does not result in an interface restart for all interface. Notably 'virtual' interfaces such as Wireguard and L2TP do not restart. The solution that works is to use `ifup <interface>` instead of only changing the link status. This commit is based on the one in #27248 by @rondoval, who unfortunately has not updated the commit message as requested for half a year. Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
slow-boat
pushed a commit
to slow-boat/packages
that referenced
this pull request
Mar 19, 2026
As reported in openwrt#23410 Network interface reset doesn't work as expected on a Wireguard VPN interface and in openwrt#27927 lt2p interface won't reboot, and mentioned in openwrt#27248, the current implementation of the option to restart an interface when connectivity check fails for some period does not result in an interface restart for all interface. Notably 'virtual' interfaces such as Wireguard and L2TP do not restart. The solution that works is to use `ifup <interface>` instead of only changing the link status. This commit is based on the one in openwrt#27248 by @rondoval, who unfortunately has not updated the commit message as requested for half a year. Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
danielfdickinson
added a commit
to danielfdickinson/packages
that referenced
this pull request
Apr 11, 2026
As reported in openwrt#23410 Network interface reset doesn't work as expected on a Wireguard VPN interface and in openwrt#27927 lt2p interface won't reboot, and mentioned in openwrt#27248, the current implementation of the option to restart an interface when connectivity check fails for some period does not result in an interface restart for all interface. Notably 'virtual' interfaces such as Wireguard and L2TP do not restart. The solution that works is to use `ifup <interface>` instead of only changing the link status. This commit is based on the one in openwrt#27248 by @rondoval, who unfortunately has not updated the commit message as requested for half a year. Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca> (cherry picked from commit 14e0e9e)
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📦 Package Details
Maintainer: @roger-
Description:
The currently implemented method of restarting a network interface does not work for Wireguard interfaces.
Resolves issue #23410
🧪 Run Testing Details
✅ Formalities