<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/utils/watchcat, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git-03.infra.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/'/>
<updated>2026-03-03T18:06:13Z</updated>
<entry>
<title>watchcat: fix interface reset does not work</title>
<updated>2026-03-03T18:06:13Z</updated>
<author>
<name>Daniel F. Dickinson</name>
</author>
<published>2026-01-25T09:48:15Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=14e0e9e73753e2f23260edb2fd4994f68a68cdea'/>
<id>urn:sha1:14e0e9e73753e2f23260edb2fd4994f68a68cdea</id>
<content type='text'>
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 &lt;interface&gt;` 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 &lt;dfdpublic@wildtechgarden.ca&gt;
</content>
</entry>
<entry>
<title>luci-app-watchcat: revert unnecessary quoting in init script</title>
<updated>2025-12-26T08:51:51Z</updated>
<author>
<name>Ivan Diaz</name>
</author>
<published>2025-12-23T13:30:29Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=407617b78662f7fb0d4640ded0c2afbcc7c72e6e'/>
<id>urn:sha1:407617b78662f7fb0d4640ded0c2afbcc7c72e6e</id>
<content type='text'>
The quoting added in r18 for pinghosts is not needed. Multi-host support
remains fully functional, but the extra quotes caused inconsistent argument
handling between /etc/init.d/watchcat and /usr/bin/watchcat.sh,
especially for single-IP configurations.

This revert removes the unnecessary quoting in the init script and LUCI,
restoring consistent behavior while keeping multiple ping hosts supported.

Fixes: #28100 (watchcat: error if only one address is specified in pinghosts)
Signed-off-by: Ivan Diaz &lt;diaz.it@icloud.com&gt;
</content>
</entry>
<entry>
<title>watchcat: passing the interface in the ping_reboot</title>
<updated>2025-12-12T15:40:40Z</updated>
<author>
<name>Vasileios Anagnostopoulos</name>
</author>
<published>2025-11-26T13:50:07Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=3f52746c790357325d3de50967bfd64d1e2329a1'/>
<id>urn:sha1:3f52746c790357325d3de50967bfd64d1e2329a1</id>
<content type='text'>
Although the watchcat_ping function also checked the iface variable, that
variable was never populated. As a result we could not check if there was
connectivity via a specific interface.

Signed-off-by: Vasileios Anagnostopoulos &lt;anagnwstopoulos@hotmail.com&gt;
</content>
</entry>
<entry>
<title>watchcat: set default value for mmifacename to prevent argument shift</title>
<updated>2025-12-09T11:12:19Z</updated>
<author>
<name>Ivan Diaz</name>
</author>
<published>2025-11-21T22:13:40Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=dfe2967675c8203f360234759e6c9ca7f44948a9'/>
<id>urn:sha1:dfe2967675c8203f360234759e6c9ca7f44948a9</id>
<content type='text'>
Set mmifacename default to "null" instead of an empty string to avoid
argument displacement when the value is not defined. Also remove leftover
debug comments from previous commit.

Signed-off-by: Ivan Diaz &lt;diaz.it@icloud.com&gt;
</content>
</entry>
<entry>
<title>watchcat: fix argument handling and allow multiple ping hosts</title>
<updated>2025-12-09T11:12:19Z</updated>
<author>
<name>Ivan Diaz</name>
</author>
<published>2025-11-21T22:13:11Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=5dc13908b48c48ba995ec23ddf983268ec3426b7'/>
<id>urn:sha1:5dc13908b48c48ba995ec23ddf983268ec3426b7</id>
<content type='text'>
The backend now correctly supports multiple IP addresses and avoids
argument shifting when mmifacename is empty.

Signed-off-by: Ivan Diaz &lt;diaz.it@icloud.com&gt;
</content>
</entry>
<entry>
<title>watchcat: fix broken ping invocation for no-address-family configuration</title>
<updated>2022-08-02T00:35:15Z</updated>
<author>
<name>Michal Kowalski</name>
</author>
<published>2022-08-02T00:29:07Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=406adc536325d955cbccfacb2a2986ea6643ff0b'/>
<id>urn:sha1:406adc536325d955cbccfacb2a2986ea6643ff0b</id>
<content type='text'>
Fix for issue #19010

Signed-off-by: John Kohl &lt;jtk.git@bostonpog.org&gt;
Signed-off-by: Michal Kowalski &lt;18610805+kofec@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>watchcat: add support to run a script</title>
<updated>2022-07-15T19:14:06Z</updated>
<author>
<name>John Kohl</name>
</author>
<published>2022-06-05T00:56:56Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=5c96ee5b1bedb392cdd27578f7fdcc760ef7fe7b'/>
<id>urn:sha1:5c96ee5b1bedb392cdd27578f7fdcc760ef7fe7b</id>
<content type='text'>
Signed-off-by: John Kohl &lt;jtk.git@bostonpog.org&gt;
</content>
</entry>
<entry>
<title>watchcat: add IP version selection support; fix bug with unlockbands</title>
<updated>2022-07-15T19:14:06Z</updated>
<author>
<name>John Kohl</name>
</author>
<published>2022-06-05T00:53:26Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=baed5531efe5f7791c42ab2324d8d1d6d1bf41ca'/>
<id>urn:sha1:baed5531efe5f7791c42ab2324d8d1d6d1bf41ca</id>
<content type='text'>
Signed-off-by: John Kohl &lt;jtk.git@bostonpog.org&gt;
</content>
</entry>
<entry>
<title>utils/watchcat: restart failure time after network restart</title>
<updated>2022-02-24T01:28:43Z</updated>
<author>
<name>Rozhuk Ivan</name>
</author>
<published>2022-02-20T05:22:05Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=0238bcef19e5cde07e5dbf55a77a3e85bf0446c3'/>
<id>urn:sha1:0238bcef19e5cde07e5dbf55a77a3e85bf0446c3</id>
<content type='text'>
Without this change these settings:
Mode: Restart Interface
Period: 30s
Check Interval: 5s
will do ping every 30s, if all pings are fail then
it try to take action every 5 second.

After apply this patch watchcat will try to send
ping every 5 second in next 30 sec before take action if
all pings are fail.

This is important for wireless uplinks like 3G/4G that
need some time to establish connection.

Signed-off-by: Rozhuk Ivan &lt;rozhuk.im@gmail.com&gt;
</content>
</entry>
<entry>
<title>watchcat: run through shfmt</title>
<updated>2021-08-16T01:29:12Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2021-08-09T03:03:54Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=933de68f3f9fb43535d771251cf69da35edd1a7b'/>
<id>urn:sha1:933de68f3f9fb43535d771251cf69da35edd1a7b</id>
<content type='text'>
Cosmetic fixes mainly.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
</feed>
